SHA256
1
0
forked from pool/binutils

Accepting request 822679 from home:marxin:branches:devel:gcc

- Update to binutils 2.35:
  * The asseembler can now produce DWARF-5 format line number tables.
  * Readelf now has a "lint" mode to enable extra checks of the files it is processing.
  * Readelf will now display "[...]" when it has to truncate a symbol name.  
    The old behaviour - of displaying as many characters as possible, up to
    the 80 column limit - can be restored by the use of the --silent-truncation
    option.
  * The linker can now produce a dependency file listing the inputs that it
    has processed, much like the -M -MP option supported by the compiler.
- Regenerate add-ulp-section.diff with -p1 due to a fuzzing issue.
- Remove binutils-2.34-branch.diff.gz.
- Regenerate binutils-build-as-needed.diff due to a fuzzing issue.
- Regenerate binutils-fix-invalid-op-errata.diff as one hunk was upstreamed.
- Remove upstreamed patch binutils-pr25593.diff.
- Regenerate unit-at-a-time.patch due to a fuzzing issue.
- Regenerate binutils-revert-plt32-in-branches.diff.

OBS-URL: https://build.opensuse.org/request/show/822679
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=338
This commit is contained in:
Michael Matz 2020-07-31 14:32:51 +00:00 committed by Git OBS Bridge
parent 31b9d23f98
commit a121495e23
57 changed files with 663 additions and 627 deletions

View File

@ -2,11 +2,26 @@ This is for userspace live patching, adding some space into
shared libs or executable (in the .ulp section) when one of the shared libs or executable (in the .ulp section) when one of the
input files contains a section named .ulp.track. input files contains a section named .ulp.track.
Index: bfd/elflink.c diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h
=================================================================== index 15767245..33d483ba 100644
--- bfd/elflink.c.orig 2019-09-09 15:19:43.000000000 +0200 --- a/bfd/elf-bfd.h
+++ bfd/elflink.c 2019-11-18 21:43:18.000000000 +0100 +++ b/bfd/elf-bfd.h
@@ -7070,6 +7070,13 @@ bfd_elf_size_dynamic_sections (bfd *outp @@ -1476,6 +1476,10 @@ struct elf_backend_data
(const bfd *ibfd, bfd *obfd, const Elf_Internal_Shdr *isection,
Elf_Internal_Shdr *osection);
+ bfd_boolean (*elf_backend_is_ulp_enabled) (bfd *abfd);
+
+ bfd_boolean (*elf_backend_setup_ulp) (struct bfd_link_info *);
+
/* Used to handle bad SHF_LINK_ORDER input. */
void (*link_order_error_handler) (const char *, ...);
diff --git a/bfd/elflink.c b/bfd/elflink.c
index 998b72f2..b92e0eb8 100644
--- a/bfd/elflink.c
+++ b/bfd/elflink.c
@@ -7197,6 +7197,13 @@ bfd_elf_size_dynamic_sections (bfd *output_bfd,
s = bfd_get_linker_section (dynobj, ".gnu.version"); s = bfd_get_linker_section (dynobj, ".gnu.version");
s->flags |= SEC_EXCLUDE; s->flags |= SEC_EXCLUDE;
} }
@ -20,10 +35,38 @@ Index: bfd/elflink.c
} }
return TRUE; return TRUE;
} }
Index: bfd/elfxx-x86.c diff --git a/bfd/elfxx-target.h b/bfd/elfxx-target.h
=================================================================== index c2b828b4..f979b885 100644
--- bfd/elfxx-x86.c.orig 2019-09-09 15:19:43.000000000 +0200 --- a/bfd/elfxx-target.h
+++ bfd/elfxx-x86.c 2019-11-18 20:50:24.000000000 +0100 +++ b/bfd/elfxx-target.h
@@ -768,6 +768,14 @@
#define elf_backend_copy_special_section_fields _bfd_elf_copy_special_section_fields
#endif
+#ifndef elf_backend_is_ulp_enabled
+#define elf_backend_is_ulp_enabled NULL
+#endif
+
+#ifndef elf_backend_setup_ulp
+#define elf_backend_setup_ulp NULL
+#endif
+
#ifndef elf_backend_compact_eh_encoding
#define elf_backend_compact_eh_encoding NULL
#endif
@@ -900,6 +908,8 @@ static struct elf_backend_data elfNN_bed =
elf_backend_maybe_function_sym,
elf_backend_get_reloc_section,
elf_backend_copy_special_section_fields,
+ elf_backend_is_ulp_enabled,
+ elf_backend_setup_ulp,
elf_backend_link_order_error_handler,
elf_backend_relplt_name,
ELF_MACHINE_ALT1,
diff --git a/bfd/elfxx-x86.c b/bfd/elfxx-x86.c
index e58ddc19..6d72afca 100644
--- a/bfd/elfxx-x86.c
+++ b/bfd/elfxx-x86.c
@@ -31,6 +31,8 @@ @@ -31,6 +31,8 @@
#define ELF64_DYNAMIC_INTERPRETER "/lib/ld64.so.1" #define ELF64_DYNAMIC_INTERPRETER "/lib/ld64.so.1"
#define ELFX32_DYNAMIC_INTERPRETER "/lib/ldx32.so.1" #define ELFX32_DYNAMIC_INTERPRETER "/lib/ldx32.so.1"
@ -33,8 +76,8 @@ Index: bfd/elfxx-x86.c
bfd_boolean bfd_boolean
_bfd_x86_elf_mkobject (bfd *abfd) _bfd_x86_elf_mkobject (bfd *abfd)
{ {
@@ -952,6 +954,64 @@ _bfd_x86_elf_link_check_relocs (bfd *abf @@ -984,6 +986,64 @@ _bfd_elf_x86_valid_reloc_p (asection *input_section,
return _bfd_elf_link_check_relocs (abfd, info); return valid_p;
} }
+/* Check if input bfds are ulp-enabled by containing .ulp.track section */ +/* Check if input bfds are ulp-enabled by containing .ulp.track section */
@ -98,7 +141,7 @@ Index: bfd/elfxx-x86.c
/* Set the sizes of the dynamic sections. */ /* Set the sizes of the dynamic sections. */
bfd_boolean bfd_boolean
@@ -2935,7 +2995,26 @@ error_alignment: @@ -2855,7 +2915,26 @@ _bfd_x86_elf_link_setup_gnu_properties
htab->plt_second = sec; htab->plt_second = sec;
} }
@ -126,11 +169,11 @@ Index: bfd/elfxx-x86.c
if (!info->no_ld_generated_unwind_info) if (!info->no_ld_generated_unwind_info)
{ {
Index: bfd/elfxx-x86.h diff --git a/bfd/elfxx-x86.h b/bfd/elfxx-x86.h
=================================================================== index 7541554b..1845c26d 100644
--- bfd/elfxx-x86.h.orig 2019-09-09 15:19:43.000000000 +0200 --- a/bfd/elfxx-x86.h
+++ bfd/elfxx-x86.h 2019-11-18 20:48:33.000000000 +0100 +++ b/bfd/elfxx-x86.h
@@ -447,6 +447,7 @@ struct elf_x86_link_hash_table @@ -449,6 +449,7 @@ struct elf_x86_link_hash_table
asection *plt_second_eh_frame; asection *plt_second_eh_frame;
asection *plt_got; asection *plt_got;
asection *plt_got_eh_frame; asection *plt_got_eh_frame;
@ -138,7 +181,7 @@ Index: bfd/elfxx-x86.h
/* Parameters describing PLT generation, lazy or non-lazy. */ /* Parameters describing PLT generation, lazy or non-lazy. */
struct elf_x86_plt_layout plt; struct elf_x86_plt_layout plt;
@@ -708,6 +709,12 @@ extern void _bfd_x86_elf_link_fixup_ifun @@ -687,6 +688,12 @@ extern void _bfd_x86_elf_link_fixup_ifunc_symbol
(struct bfd_link_info *, struct elf_x86_link_hash_table *, (struct bfd_link_info *, struct elf_x86_link_hash_table *,
struct elf_link_hash_entry *, Elf_Internal_Sym *sym); struct elf_link_hash_entry *, Elf_Internal_Sym *sym);
@ -151,7 +194,7 @@ Index: bfd/elfxx-x86.h
#define bfd_elf64_mkobject \ #define bfd_elf64_mkobject \
_bfd_x86_elf_mkobject _bfd_x86_elf_mkobject
#define bfd_elf32_mkobject \ #define bfd_elf32_mkobject \
@@ -745,3 +752,7 @@ extern void _bfd_x86_elf_link_fixup_ifun @@ -724,3 +731,7 @@ extern void _bfd_x86_elf_link_fixup_ifunc_symbol
_bfd_x86_elf_merge_gnu_properties _bfd_x86_elf_merge_gnu_properties
#define elf_backend_fixup_gnu_properties \ #define elf_backend_fixup_gnu_properties \
_bfd_x86_elf_link_fixup_gnu_properties _bfd_x86_elf_link_fixup_gnu_properties
@ -159,46 +202,3 @@ Index: bfd/elfxx-x86.h
+ _bfd_x86_elf_is_ulp_enabled + _bfd_x86_elf_is_ulp_enabled
+#define elf_backend_setup_ulp \ +#define elf_backend_setup_ulp \
+ _bfd_x86_elf_setup_ulp + _bfd_x86_elf_setup_ulp
Index: bfd/elf-bfd.h
===================================================================
--- bfd/elf-bfd.h.orig 2019-09-09 15:19:43.000000000 +0200
+++ bfd/elf-bfd.h 2019-11-18 20:48:33.000000000 +0100
@@ -1423,6 +1423,10 @@ struct elf_backend_data
(const bfd *ibfd, bfd *obfd, const Elf_Internal_Shdr *isection,
Elf_Internal_Shdr *osection);
+ bfd_boolean (*elf_backend_is_ulp_enabled) (bfd *abfd);
+
+ bfd_boolean (*elf_backend_setup_ulp) (struct bfd_link_info *);
+
/* Used to handle bad SHF_LINK_ORDER input. */
void (*link_order_error_handler) (const char *, ...);
Index: bfd/elfxx-target.h
===================================================================
--- bfd/elfxx-target.h.orig 2019-09-09 15:19:43.000000000 +0200
+++ bfd/elfxx-target.h 2019-11-18 20:48:33.000000000 +0100
@@ -754,6 +754,14 @@
#define elf_backend_copy_special_section_fields NULL
#endif
+#ifndef elf_backend_is_ulp_enabled
+#define elf_backend_is_ulp_enabled NULL
+#endif
+
+#ifndef elf_backend_setup_ulp
+#define elf_backend_setup_ulp NULL
+#endif
+
#ifndef elf_backend_compact_eh_encoding
#define elf_backend_compact_eh_encoding NULL
#endif
@@ -867,6 +875,8 @@ static struct elf_backend_data elfNN_bed
elf_backend_maybe_function_sym,
elf_backend_get_reloc_section,
elf_backend_copy_special_section_fields,
+ elf_backend_is_ulp_enabled,
+ elf_backend_setup_ulp,
elf_backend_link_order_error_handler,
elf_backend_relplt_name,
ELF_MACHINE_ALT1,

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b8240f60017ebd759137ca9952f254ba06d79e3279564e26323f08da9426ec93
size 88551

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:89f010078b6cf69c23c27897d686055ab89b198dddf819efb0a4f2c38a0b36e6
size 32430470

View File

@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIcBAABAgAGBQJeNW1OAAoJEBP874ndnjxPFSwP/1q0yRRKHaKdb4P76bYabTol
+uyC6Xu1SFOlhIN3r3l8ExLWzrxBz/OppW/2TDkXbmEKJeMEBVYUQrXiTn+pV6qG
gcgx280syu/LNfCu13xT0zUax8gCH/f3s4VnN3sF46tcLMxb5m0ufPdERMmfok4A
IuMpZuKjZgeT6WXgdWlMRJc5byfWbBWdbw5kPy9d4Hih8KJ8doQEyfLHFe2wOmsL
sAC+pUZbrbsfzaO3L5OgM8dtOkTuRdFnierw6KxsI6WCz/mC69EycuaFVU8x1lf/
wLJZ2/hdmXTbe2Fe1Z6aLOumyxUxWBP9eMD6NFt03gcnNEZoFkDoP+1jYHVFiMho
BbeGCWuIRsKlUwLPeXaxOR7O5/q2xL9XqyfbULP/Re1cvbt9ARt5XlTvoA9YwEiW
S/AN6KpDDnnDzkhL6Pw+UeG4D8c/Tu5iXYQJ5BrMFwW0ge8YKgswnLkJnzVcQ86I
atw8YBSpP30VDn39DDaAHdq3QTSQ0RcwMwPEujhz7x6FPwtDrlZpLSQlGRI7wO8W
nqIOhK9fAUyk4JRsmXulM2OXNgQWt9hLoh02+v5vmHjhRZdAUWPLmBPH4HEKd0Kl
YqkU0n5nj+Xo1OqmWCuyZ4JGm6rePhsuxInvt6CstR+CE+4CegN5sxiJjVy2tLyx
AIwlciAdeZY/r/CCZmRd
=RC4U
-----END PGP SIGNATURE-----

3
binutils-2.35.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7d24660f87093670738e58bcc7b7b06f121c0fcb0ca8fc44368d675a5ef9cff7
size 32816208

16
binutils-2.35.tar.bz2.sig Normal file
View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEOiS8Ho+0CfqfFDcYE/zvid2ePE8FAl8asuEACgkQE/zvid2e
PE9vGA//Ul1amKmMbTizBn0MTa7hLlSnpQuMvGcjWAldH/sxXnD5cN1TJ1dojmoS
AwvdzK5/3neB8E9D6X5b1feQEJxRPyT+Y7nCkhunVJ6y1bT8euyNTTqjafxT495t
XinrXOi6IBF0G3NtVgr9nACEK8ifA72tKSS869tnF4SWN8HWIqsS/Vk4qhlEGIOF
+qe5aaJYU/Vs0VXxb1aM55zRAxOleePUYqWJ/04Zmg6As4kg8xyKuRuTYDlkvp33
XAh4zTJwkyk3FGTt8sqRAeODTP5GM3F916iwtU+r32030sp1t5AW76mS8YdbVM8I
BkpShW+Xt6db2orARiyXK3o9rWeZaScUNbkRODKtfPNWvnGEEqwJ/TAlKl1dy2gx
MAELCUFZI7FT/dPQ6OzsZXBTBaepF9R+nWYVADWdtnM8UgSgvIxiBvhPYeqefy4j
0XlGHLkljuFYrQ2dm4/+NQ/Hk6p3wQAP/ZeyINB+41GaSYW1wZkZHIhmQGwWUTgK
nH29bPcHR8QxQMvt71rncOq/P7LHyZ1WicM1yES1lGSAocGC998VFx2SMEdcT0rq
2t53TE6hGmj0RoToyWKQwCAl/SxUpaIgfgMhe4TKt9dDPsB7ibX5fQYNH9IPt8xh
n9p5Ihpxp67E+IowreoqR4vE6IWxYM3is1KxqbIOnnR1bNqMbBI=
=yvF9
-----END PGP SIGNATURE-----

View File

@ -2,12 +2,12 @@ Index: ld/ldmain.c
=================================================================== ===================================================================
--- ld/ldmain.c.orig 2017-07-26 10:07:31.862559913 +0200 --- ld/ldmain.c.orig 2017-07-26 10:07:31.862559913 +0200
+++ ld/ldmain.c 2017-07-26 10:07:31.886560303 +0200 +++ ld/ldmain.c 2017-07-26 10:07:31.886560303 +0200
@@ -302,6 +302,8 @@ main (int argc, char **argv) @@ -307,6 +307,8 @@ main (int argc, char **argv)
#ifdef DEFAULT_NEW_DTAGS yydebug = 1;
link_info.new_dtags = DEFAULT_NEW_DTAGS; }
#endif #endif
+ if (getenv ("SUSE_ASNEEDED") && atoi(getenv ("SUSE_ASNEEDED")) > 0) + if (getenv ("SUSE_ASNEEDED") && atoi(getenv ("SUSE_ASNEEDED")) > 0)
+ input_flags.add_DT_NEEDED_for_regular = TRUE; + input_flags.add_DT_NEEDED_for_regular = TRUE;
ldfile_add_arch (""); config.build_constructors = TRUE;
emulation = get_emulation (argc, argv); config.rpath_separator = ':';

View File

@ -13,21 +13,13 @@ ld: final link failed: file in wrong format
--- bfd/elfnn-aarch64.c.mm 2019-09-09 13:19:43.000000000 +0000 --- bfd/elfnn-aarch64.c.mm 2019-09-09 13:19:43.000000000 +0000
+++ bfd/elfnn-aarch64.c 2019-11-20 11:44:00.000000000 +0000 +++ bfd/elfnn-aarch64.c 2019-11-20 11:44:00.000000000 +0000
@@ -4312,7 +4312,8 @@ elfNN_aarch64_size_stubs (bfd *output_bf @@ -4313,7 +4313,8 @@ elfNN_aarch64_size_stubs (bfd *output_bfd,
|| (input_bfd->flags & BFD_LINKER_CREATED) != 0)
for (input_bfd = info->input_bfds; continue;
input_bfd != NULL; input_bfd = input_bfd->link.next)
- if (!_bfd_aarch64_erratum_835769_scan (input_bfd, info,
+ if (input_bfd != stub_bfd
+ && !_bfd_aarch64_erratum_835769_scan (input_bfd, info,
&num_erratum_835769_fixes))
return FALSE;
@@ -4327,6 +4328,7 @@ elfNN_aarch64_size_stubs (bfd *output_bf
for (input_bfd = info->input_bfds;
input_bfd != NULL;
input_bfd = input_bfd->link.next)
+ if (input_bfd != stub_bfd)
{
asection *section;
- if (!_bfd_aarch64_erratum_835769_scan (input_bfd, info,
+ if (input_bfd != stub_bfd
+ && !_bfd_aarch64_erratum_835769_scan (input_bfd, info,
&num_erratum_835769_fixes))
return FALSE;
}

View File

@ -1,342 +0,0 @@
commit e310298cf3fc02112ac0018260748828affa4061
Author: Alan Modra <amodra@gmail.com>
Date: Tue Feb 25 12:50:10 2020 +1030
PR25593, --as-needed breaks DT_NEEDED order with linker plugin
This patch delays setting up DT_NEEDED dynamic tags until all object
files and libraries have been opened and their symbols processed,
rather than adding the tags while processing symbols. Tags are
ordered according to the position of the associated library on the
command line and linker scripts. It is still possible with
--as-needed libs that are mentioned more than once for tags to be
ordered according to which mention was needed. For example with
"--as-needed a.so b.so c.so b.so" when b.so is not needed by a.so or
any other prior object file but is needed by c.so, the order of tags
will be "A C B".
bfd/
PR 25593
* elf-bfd.h (struct elf_link_hash_table): Rename "loaded" to
"dyn_loaded".
(bfd_elf_add_dt_needed_tag): Declare.
* elf-strtab.c (_bfd_elf_strtab_restore): Handle NULL buf.
* elflink.c (bfd_elf_add_dt_needed_tag): Make global and rename
from elf_add_dt_needed_tag. Remove soname and doit param.
(elf_link_add_object_symbols): Don't use elf_add_dt_needed_tag
to see whether as-needed lib is already loaded, use dyn_loaded
list instead. When saving and restoring around as-needed lib
handle possibility that dynstr has not been initialised. Don't
add DT_NEEDED tags here. Limit dyn_loaded list to dynamic libs.
Mark libs loaded via DT_NEEDED entries of other libs with
DYN_NO_NEEDED if they should not be mentioned in DT_NEEDED of
the output.
(elf_link_check_versioned_symbol): Remove now unneccesary
DYNAMIC check when traversing dyn_loaded list.
ld/
PR 25593
* ldelf.c (ldelf_try_needed): Add DT_NEEDED lib to input_bfds.
(ldelf_after_open): Save state of input_bfds list before loading
DT_NEEDED libs. Traverse input_bfds list adding DT_NEEDED tags.
Restore input_bfds list.
* testsuite/ld-cris/gotplt1.d: Adjust for changed .dynstr order.
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h
index 7d36e23ea1..b930761363 100644
--- a/bfd/elf-bfd.h
+++ b/bfd/elf-bfd.h
@@ -637,8 +637,8 @@ struct elf_link_hash_table
asection *tls_sec;
bfd_size_type tls_size;
- /* A linked list of BFD's loaded in the link. */
- struct elf_link_loaded_list *loaded;
+ /* A linked list of dynamic BFD's loaded in the link. */
+ struct elf_link_loaded_list *dyn_loaded;
/* Short-cuts to get to dynamic linker sections. */
asection *sgot;
@@ -2510,6 +2510,8 @@ extern bfd_boolean bfd_elf_link_add_symbols
(bfd *, struct bfd_link_info *);
extern bfd_boolean _bfd_elf_add_dynamic_entry
(struct bfd_link_info *, bfd_vma, bfd_vma);
+extern int bfd_elf_add_dt_needed_tag
+ (bfd *, struct bfd_link_info *);
extern bfd_boolean _bfd_elf_link_check_relocs
(bfd *, struct bfd_link_info *);
diff --git a/bfd/elf-strtab.c b/bfd/elf-strtab.c
index d3e50c76cf..c397180dcc 100644
--- a/bfd/elf-strtab.c
+++ b/bfd/elf-strtab.c
@@ -245,13 +245,16 @@ _bfd_elf_strtab_save (struct elf_strtab_hash *tab)
void
_bfd_elf_strtab_restore (struct elf_strtab_hash *tab, void *buf)
{
- size_t idx, curr_size = tab->size;
+ size_t idx, curr_size = tab->size, save_size;
struct strtab_save *save = (struct strtab_save *) buf;
BFD_ASSERT (tab->sec_size == 0);
- BFD_ASSERT (save->size <= curr_size);
- tab->size = save->size;
- for (idx = 1; idx < save->size; ++idx)
+ save_size = 1;
+ if (save != NULL)
+ save_size = save->size;
+ BFD_ASSERT (save_size <= curr_size);
+ tab->size = save_size;
+ for (idx = 1; idx < save_size; ++idx)
tab->array[idx]->refcount = save->refcount[idx];
for (; idx < curr_size; ++idx)
diff --git a/bfd/elflink.c b/bfd/elflink.c
index 8e7ae2a160..6f03c5c09f 100644
--- a/bfd/elflink.c
+++ b/bfd/elflink.c
@@ -3501,23 +3501,21 @@ _bfd_elf_add_dynamic_entry (struct bfd_link_info *info,
return TRUE;
}
-/* Add a DT_NEEDED entry for this dynamic object if DO_IT is true,
- otherwise just check whether one already exists. Returns -1 on error,
+/* Add a DT_NEEDED entry for this dynamic object. Returns -1 on error,
1 if a DT_NEEDED tag already exists, and 0 on success. */
-static int
-elf_add_dt_needed_tag (bfd *abfd,
- struct bfd_link_info *info,
- const char *soname,
- bfd_boolean do_it)
+int
+bfd_elf_add_dt_needed_tag (bfd *abfd, struct bfd_link_info *info)
{
struct elf_link_hash_table *hash_table;
size_t strindex;
+ const char *soname;
if (!_bfd_elf_link_create_dynstrtab (abfd, info))
return -1;
hash_table = elf_hash_table (info);
+ soname = elf_dt_name (abfd);
strindex = _bfd_elf_strtab_add (hash_table->dynstr, soname, FALSE);
if (strindex == (size_t) -1)
return -1;
@@ -3547,17 +3545,11 @@ elf_add_dt_needed_tag (bfd *abfd,
}
}
- if (do_it)
- {
- if (!_bfd_elf_link_create_dynamic_sections (hash_table->dynobj, info))
- return -1;
+ if (!_bfd_elf_link_create_dynamic_sections (hash_table->dynobj, info))
+ return -1;
- if (!_bfd_elf_add_dynamic_entry (info, DT_NEEDED, strindex))
- return -1;
- }
- else
- /* We were just checking for existence of the tag. */
- _bfd_elf_strtab_delref (hash_table->dynstr, strindex);
+ if (!_bfd_elf_add_dynamic_entry (info, DT_NEEDED, strindex))
+ return -1;
return 0;
}
@@ -4069,7 +4061,7 @@ elf_link_add_object_symbols (bfd *abfd, struct bfd_link_info *info)
char *audit = NULL;
struct bfd_link_needed_list *rpath = NULL, *runpath = NULL;
const Elf_Internal_Phdr *phdr;
- int ret;
+ struct elf_link_loaded_list *loaded_lib;
/* ld --just-symbols and dynamic objects don't mix very well.
ld shouldn't allow it. */
@@ -4258,15 +4250,22 @@ error_free_dyn:
will need to know it. */
elf_dt_name (abfd) = soname;
- ret = elf_add_dt_needed_tag (abfd, info, soname, add_needed);
- if (ret < 0)
- goto error_return;
-
/* If we have already included this dynamic object in the
link, just ignore it. There is no reason to include a
particular dynamic object more than once. */
- if (ret > 0)
- return TRUE;
+ for (loaded_lib = htab->dyn_loaded;
+ loaded_lib != NULL;
+ loaded_lib = loaded_lib->next)
+ {
+ if (strcmp (elf_dt_name (loaded_lib->abfd), soname) == 0)
+ return TRUE;
+ }
+
+ /* Create dynamic sections for backends that require that be done
+ before setup_gnu_properties. */
+ if (add_needed
+ && !_bfd_elf_link_create_dynamic_sections (abfd, info))
+ return FALSE;
/* Save the DT_AUDIT entry for the linker emulation code. */
elf_dt_audit (abfd) = audit;
@@ -4389,9 +4388,13 @@ error_free_dyn:
old_table = htab->root.table.table;
old_size = htab->root.table.size;
old_count = htab->root.table.count;
- old_strtab = _bfd_elf_strtab_save (htab->dynstr);
- if (old_strtab == NULL)
- goto error_free_vers;
+ old_strtab = NULL;
+ if (htab->dynstr != NULL)
+ {
+ old_strtab = _bfd_elf_strtab_save (htab->dynstr);
+ if (old_strtab == NULL)
+ goto error_free_vers;
+ }
for (i = 0; i < htab->root.table.size; i++)
{
@@ -5102,7 +5105,6 @@ error_free_dyn:
&& !on_needed_list (elf_dt_name (abfd),
htab->needed, NULL))))
{
- int ret;
const char *soname = elf_dt_name (abfd);
info->callbacks->minfo ("%!", soname, old_bfd,
@@ -5127,12 +5129,11 @@ error_free_dyn:
elf_dyn_lib_class (abfd) = (enum dynamic_lib_link_class)
(elf_dyn_lib_class (abfd) & ~DYN_AS_NEEDED);
+ /* Create dynamic sections for backends that require
+ that be done before setup_gnu_properties. */
+ if (!_bfd_elf_link_create_dynamic_sections (abfd, info))
+ return FALSE;
add_needed = TRUE;
- ret = elf_add_dt_needed_tag (abfd, info, soname, add_needed);
- if (ret < 0)
- goto error_free_vers;
-
- BFD_ASSERT (ret == 0);
}
}
}
@@ -5222,7 +5223,8 @@ error_free_dyn:
memcpy (htab->root.table.table, old_tab, tabsize);
htab->root.undefs = old_undefs;
htab->root.undefs_tail = old_undefs_tail;
- _bfd_elf_strtab_restore (htab->dynstr, old_strtab);
+ if (htab->dynstr != NULL)
+ _bfd_elf_strtab_restore (htab->dynstr, old_strtab);
free (old_strtab);
old_strtab = NULL;
for (i = 0; i < htab->root.table.size; i++)
@@ -5550,7 +5552,7 @@ error_free_dyn:
}
}
- if (is_elf_hash_table (htab) && add_needed)
+ if (dynamic && add_needed)
{
/* Add this bfd to the loaded list. */
struct elf_link_loaded_list *n;
@@ -5559,9 +5561,12 @@ error_free_dyn:
if (n == NULL)
goto error_return;
n->abfd = abfd;
- n->next = htab->loaded;
- htab->loaded = n;
+ n->next = htab->dyn_loaded;
+ htab->dyn_loaded = n;
}
+ if (dynamic && !add_needed
+ && (elf_dyn_lib_class (abfd) & DYN_DT_NEEDED) != 0)
+ elf_dyn_lib_class (abfd) |= DYN_NO_NEEDED;
return TRUE;
@@ -9689,7 +9694,7 @@ elf_link_check_versioned_symbol (struct bfd_link_info *info,
}
BFD_ASSERT (abfd != NULL);
- for (loaded = elf_hash_table (info)->loaded;
+ for (loaded = elf_hash_table (info)->dyn_loaded;
loaded != NULL;
loaded = loaded->next)
{
@@ -9709,7 +9714,6 @@ elf_link_check_versioned_symbol (struct bfd_link_info *info,
/* We check each DSO for a possible hidden versioned definition. */
if (input == abfd
- || (input->flags & DYNAMIC) == 0
|| elf_dynversym (input) == 0)
continue;
diff --git a/ld/ldelf.c b/ld/ldelf.c
index 3ac3bb4e0a..b055929d02 100644
--- a/ld/ldelf.c
+++ b/ld/ldelf.c
@@ -375,6 +375,9 @@ ldelf_try_needed (struct dt_needed *needed, int force, int is_linux)
bfd_elf_set_dyn_lib_class (abfd, (enum dynamic_lib_link_class) link_class);
+ *link_info.input_bfds_tail = abfd;
+ link_info.input_bfds_tail = &abfd->link.next;
+
/* Add this file into the symbol table. */
if (! bfd_link_add_symbols (abfd, &link_info))
einfo (_("%F%P: %pB: error adding symbols: %E\n"), abfd);
@@ -992,6 +995,7 @@ ldelf_after_open (int use_libpath, int native, int is_linux, int is_freebsd,
struct elf_link_hash_table *htab;
asection *s;
bfd *abfd;
+ bfd **save_input_bfd_tail;
after_open_default ();
@@ -1134,6 +1138,7 @@ ldelf_after_open (int use_libpath, int native, int is_linux, int is_freebsd,
special action by the person doing the link. Note that the
needed list can actually grow while we are stepping through this
loop. */
+ save_input_bfd_tail = link_info.input_bfds_tail;
needed = bfd_elf_get_needed_list (link_info.output_bfd, &link_info);
for (l = needed; l != NULL; l = l->next)
{
@@ -1290,6 +1295,20 @@ ldelf_after_open (int use_libpath, int native, int is_linux, int is_freebsd,
l->name, l->by);
}
+ for (abfd = link_info.input_bfds; abfd; abfd = abfd->link.next)
+ if (bfd_get_format (abfd) == bfd_object
+ && ((abfd->flags) & DYNAMIC) != 0
+ && bfd_get_flavour (abfd) == bfd_target_elf_flavour
+ && (elf_dyn_lib_class (abfd) & (DYN_AS_NEEDED | DYN_NO_NEEDED)) == 0
+ && elf_dt_name (abfd) != NULL)
+ {
+ if (bfd_elf_add_dt_needed_tag (abfd, &link_info) < 0)
+ einfo (_("%F%P: failed to add DT_NEEDED dynamic tag\n"));
+ }
+
+ link_info.input_bfds_tail = save_input_bfd_tail;
+ *save_input_bfd_tail = NULL;
+
if (link_info.eh_frame_hdr_type == COMPACT_EH_HDR)
if (!bfd_elf_parse_eh_frame_entries (NULL, &link_info))
einfo (_("%F%P: failed to parse EH frame entries\n"));
diff --git a/ld/testsuite/ld-cris/gotplt1.d b/ld/testsuite/ld-cris/gotplt1.d
index 28724d7004..defba8ad6a 100644
--- a/ld/testsuite/ld-cris/gotplt1.d
+++ b/ld/testsuite/ld-cris/gotplt1.d
@@ -34,7 +34,7 @@ Contents of section \.text:
80178 6f0d1000 0000611a 6f2e5401 08000000 .*
80188 6f3e70df ffff0000 .*
Contents of section \.dynamic:
- 82190 01000000 01000000 04000000 e4000800 .*
+ 82190 01000000 07000000 04000000 e4000800 .*
821a0 05000000 18010800 06000000 f8000800 .*
821b0 0a000000 1a000000 0b000000 10000000 .*
821c0 15000000 00000000 03000000 18220800 .*

View File

@ -79,10 +79,10 @@ Date: Tue Feb 13 07:34:22 2018 -0800
* testsuite/ld-x86-64/x86-64.exp: Run PR ld/22791 tests. * testsuite/ld-x86-64/x86-64.exp: Run PR ld/22791 tests.
diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c
index 79e68ff476..cee387da7d 100644 index 311fb28a..5f1f0ce5 100644
--- a/bfd/elf64-x86-64.c --- a/bfd/elf64-x86-64.c
+++ b/bfd/elf64-x86-64.c +++ b/bfd/elf64-x86-64.c
@@ -1798,6 +1798,24 @@ rewrite_modrm_rex: @@ -1834,6 +1834,24 @@ elf_x86_64_convert_load_reloc (bfd *abfd,
return TRUE; return TRUE;
} }
@ -107,7 +107,7 @@ index 79e68ff476..cee387da7d 100644
/* Look through the relocs for a section during the first phase, and /* Look through the relocs for a section during the first phase, and
calculate needed space in the global offset table, procedure calculate needed space in the global offset table, procedure
linkage table, and dynamic reloc sections. */ linkage table, and dynamic reloc sections. */
@@ -3089,28 +3107,30 @@ use_plt: @@ -3143,28 +3161,30 @@ elf_x86_64_relocate_section (bfd *output_bfd,
&& (eh == NULL && (eh == NULL
|| !UNDEFINED_WEAK_RESOLVED_TO_ZERO (info, || !UNDEFINED_WEAK_RESOLVED_TO_ZERO (info,
eh))) eh)))
@ -145,7 +145,7 @@ index 79e68ff476..cee387da7d 100644
} }
else if (no_copyreloc_p || bfd_link_dll (info)) else if (no_copyreloc_p || bfd_link_dll (info))
{ {
@@ -3119,9 +3139,10 @@ use_plt: @@ -3173,9 +3193,10 @@ elf_x86_64_relocate_section (bfd *output_bfd,
relocations against default and protected relocations against default and protected
symbols since address of protected function symbols since address of protected function
and location of protected data may not be in and location of protected data may not be in
@ -159,10 +159,10 @@ index 79e68ff476..cee387da7d 100644
if (fail) if (fail)
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index 8728725b82..527ae0b701 100644 index ed514cf9..2fad4505 100644
--- a/gas/config/tc-i386.c --- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c
@@ -7954,52 +7954,12 @@ output_branch (void) @@ -8472,52 +8472,12 @@ output_branch (void)
frag_var (rs_machine_dependent, 5, i.reloc[0], subtype, sym, off, p); frag_var (rs_machine_dependent, 5, i.reloc[0], subtype, sym, off, p);
} }
@ -215,7 +215,7 @@ index 8728725b82..527ae0b701 100644
if (i.tm.opcode_modifier.jump == JUMP_BYTE) if (i.tm.opcode_modifier.jump == JUMP_BYTE)
{ {
@@ -8067,17 +8027,8 @@ output_jump (void) @@ -8585,17 +8545,8 @@ output_jump (void)
abort (); abort ();
} }
@ -234,7 +234,7 @@ index 8728725b82..527ae0b701 100644
/* All jumps handled here are signed, but don't use a signed limit /* All jumps handled here are signed, but don't use a signed limit
check for 32 and 16 bit jumps as we want to allow wrap around at check for 32 and 16 bit jumps as we want to allow wrap around at
@@ -11263,10 +11214,6 @@ md_estimate_size_before_relax (fragS *fragP, segT segment) @@ -11889,10 +11840,6 @@ md_estimate_size_before_relax (fragS *fragP, segT segment)
reloc_type = (enum bfd_reloc_code_real) fragP->fr_var; reloc_type = (enum bfd_reloc_code_real) fragP->fr_var;
else if (size == 2) else if (size == 2)
reloc_type = BFD_RELOC_16_PCREL; reloc_type = BFD_RELOC_16_PCREL;
@ -246,7 +246,7 @@ index 8728725b82..527ae0b701 100644
reloc_type = BFD_RELOC_32_PCREL; reloc_type = BFD_RELOC_32_PCREL;
diff --git a/gas/testsuite/gas/i386/ilp32/reloc64.d b/gas/testsuite/gas/i386/ilp32/reloc64.d diff --git a/gas/testsuite/gas/i386/ilp32/reloc64.d b/gas/testsuite/gas/i386/ilp32/reloc64.d
index 78ca3fd9e3..a961679754 100644 index 78ca3fd9..a9616797 100644
--- a/gas/testsuite/gas/i386/ilp32/reloc64.d --- a/gas/testsuite/gas/i386/ilp32/reloc64.d
+++ b/gas/testsuite/gas/i386/ilp32/reloc64.d +++ b/gas/testsuite/gas/i386/ilp32/reloc64.d
@@ -17,7 +17,7 @@ Disassembly of section \.text: @@ -17,7 +17,7 @@ Disassembly of section \.text:
@ -259,7 +259,7 @@ index 78ca3fd9e3..a961679754 100644
.*[ ]+R_X86_64_GOT32[ ]+xtrn .*[ ]+R_X86_64_GOT32[ ]+xtrn
.*[ ]+R_X86_64_GOT32[ ]+xtrn .*[ ]+R_X86_64_GOT32[ ]+xtrn
diff --git a/gas/testsuite/gas/i386/ilp32/x86-64-branch.d b/gas/testsuite/gas/i386/ilp32/x86-64-branch.d diff --git a/gas/testsuite/gas/i386/ilp32/x86-64-branch.d b/gas/testsuite/gas/i386/ilp32/x86-64-branch.d
index 45ab6178b9..915dbf3f1c 100644 index 5bfa2a46..46b0f809 100644
--- a/gas/testsuite/gas/i386/ilp32/x86-64-branch.d --- a/gas/testsuite/gas/i386/ilp32/x86-64-branch.d
+++ b/gas/testsuite/gas/i386/ilp32/x86-64-branch.d +++ b/gas/testsuite/gas/i386/ilp32/x86-64-branch.d
@@ -20,9 +20,9 @@ Disassembly of section .text: @@ -20,9 +20,9 @@ Disassembly of section .text:
@ -272,11 +272,11 @@ index 45ab6178b9..915dbf3f1c 100644
+[ ]*[a-f0-9]+: 66 e8 00 00 00 00 data16 callq 0x2a 26: R_X86_64_PC32 foo-0x4 +[ ]*[a-f0-9]+: 66 e8 00 00 00 00 data16 callq 0x2a 26: R_X86_64_PC32 foo-0x4
+[ ]*[a-f0-9]+: 66 e9 00 00 00 00 data16 jmpq 0x30 2c: R_X86_64_PC32 foo-0x4 +[ ]*[a-f0-9]+: 66 e9 00 00 00 00 data16 jmpq 0x30 2c: R_X86_64_PC32 foo-0x4
+[ ]*[a-f0-9]+: 66 0f 82 00 00 00 00 data16 jb 0x37 33: R_X86_64_PC32 foo-0x4 +[ ]*[a-f0-9]+: 66 0f 82 00 00 00 00 data16 jb 0x37 33: R_X86_64_PC32 foo-0x4
[ ]*[a-f0-9]+: 66 c3 data16 retq *
[ ]*[a-f0-9]+: 66 c2 08 00 data16 retq \$0x8
[ ]*[a-f0-9]+: ff d0 callq \*%rax [ ]*[a-f0-9]+: ff d0 callq \*%rax
[ ]*[a-f0-9]+: ff d0 callq \*%rax
[ ]*[a-f0-9]+: 66 ff d0 data16 callq \*%rax
diff --git a/gas/testsuite/gas/i386/reloc64.d b/gas/testsuite/gas/i386/reloc64.d diff --git a/gas/testsuite/gas/i386/reloc64.d b/gas/testsuite/gas/i386/reloc64.d
index 540a9b77d3..ea16c68de4 100644 index 540a9b77..ea16c68d 100644
--- a/gas/testsuite/gas/i386/reloc64.d --- a/gas/testsuite/gas/i386/reloc64.d
+++ b/gas/testsuite/gas/i386/reloc64.d +++ b/gas/testsuite/gas/i386/reloc64.d
@@ -20,7 +20,7 @@ Disassembly of section \.text: @@ -20,7 +20,7 @@ Disassembly of section \.text:
@ -289,7 +289,7 @@ index 540a9b77d3..ea16c68de4 100644
.*[ ]+R_X86_64_GOT64[ ]+xtrn .*[ ]+R_X86_64_GOT64[ ]+xtrn
.*[ ]+R_X86_64_GOT32[ ]+xtrn .*[ ]+R_X86_64_GOT32[ ]+xtrn
diff --git a/gas/testsuite/gas/i386/x86-64-jump.d b/gas/testsuite/gas/i386/x86-64-jump.d diff --git a/gas/testsuite/gas/i386/x86-64-jump.d b/gas/testsuite/gas/i386/x86-64-jump.d
index 1a1521d278..b898d7d5eb 100644 index 1a1521d2..b898d7d5 100644
--- a/gas/testsuite/gas/i386/x86-64-jump.d --- a/gas/testsuite/gas/i386/x86-64-jump.d
+++ b/gas/testsuite/gas/i386/x86-64-jump.d +++ b/gas/testsuite/gas/i386/x86-64-jump.d
@@ -9,7 +9,7 @@ Disassembly of section .text: @@ -9,7 +9,7 @@ Disassembly of section .text:
@ -311,7 +311,7 @@ index 1a1521d278..b898d7d5eb 100644
[ ]*[a-f0-9]+: ff d7 callq \*%rdi [ ]*[a-f0-9]+: ff d7 callq \*%rdi
[ ]*[a-f0-9]+: ff 17 callq \*\(%rdi\) [ ]*[a-f0-9]+: ff 17 callq \*\(%rdi\)
diff --git a/gas/testsuite/gas/i386/x86-64-mpx-branch-1.d b/gas/testsuite/gas/i386/x86-64-mpx-branch-1.d diff --git a/gas/testsuite/gas/i386/x86-64-mpx-branch-1.d b/gas/testsuite/gas/i386/x86-64-mpx-branch-1.d
index 03e9675217..9d2ec05b7e 100644 index 03e96752..9d2ec05b 100644
--- a/gas/testsuite/gas/i386/x86-64-mpx-branch-1.d --- a/gas/testsuite/gas/i386/x86-64-mpx-branch-1.d
+++ b/gas/testsuite/gas/i386/x86-64-mpx-branch-1.d +++ b/gas/testsuite/gas/i386/x86-64-mpx-branch-1.d
@@ -23,9 +23,9 @@ Disassembly of section .text: @@ -23,9 +23,9 @@ Disassembly of section .text:
@ -328,7 +328,7 @@ index 03e9675217..9d2ec05b7e 100644
[ ]*[a-f0-9]+: f2 0f 82 00 00 00 00 bnd jb 54 <foo2\+0x20> 50: R_X86_64_PLT32 foo-0x4 [ ]*[a-f0-9]+: f2 0f 82 00 00 00 00 bnd jb 54 <foo2\+0x20> 50: R_X86_64_PLT32 foo-0x4
[ ]*[a-f0-9]+: f2 e8 00 00 00 00 bnd callq 5a <foo2\+0x26> 56: R_X86_64_PLT32 foo-0x4 [ ]*[a-f0-9]+: f2 e8 00 00 00 00 bnd callq 5a <foo2\+0x26> 56: R_X86_64_PLT32 foo-0x4
diff --git a/gas/testsuite/gas/i386/x86-64-nop-3.d b/gas/testsuite/gas/i386/x86-64-nop-3.d diff --git a/gas/testsuite/gas/i386/x86-64-nop-3.d b/gas/testsuite/gas/i386/x86-64-nop-3.d
index 8514c4d077..617033a8ac 100644 index 8514c4d0..617033a8 100644
--- a/gas/testsuite/gas/i386/x86-64-nop-3.d --- a/gas/testsuite/gas/i386/x86-64-nop-3.d
+++ b/gas/testsuite/gas/i386/x86-64-nop-3.d +++ b/gas/testsuite/gas/i386/x86-64-nop-3.d
@@ -18,5 +18,5 @@ Disassembly of section .text: @@ -18,5 +18,5 @@ Disassembly of section .text:
@ -339,7 +339,7 @@ index 8514c4d077..617033a8ac 100644
+ +[a-f0-9]+: e9 00 00 00 00 jmpq 5 <_start\+0x5> 1: R_X86_64_PC32 foo-0x4 + +[a-f0-9]+: e9 00 00 00 00 jmpq 5 <_start\+0x5> 1: R_X86_64_PC32 foo-0x4
#pass #pass
diff --git a/gas/testsuite/gas/i386/x86-64-nop-4.d b/gas/testsuite/gas/i386/x86-64-nop-4.d diff --git a/gas/testsuite/gas/i386/x86-64-nop-4.d b/gas/testsuite/gas/i386/x86-64-nop-4.d
index 7b696624cf..8610fc4303 100644 index 7b696624..8610fc43 100644
--- a/gas/testsuite/gas/i386/x86-64-nop-4.d --- a/gas/testsuite/gas/i386/x86-64-nop-4.d
+++ b/gas/testsuite/gas/i386/x86-64-nop-4.d +++ b/gas/testsuite/gas/i386/x86-64-nop-4.d
@@ -21,5 +21,5 @@ Disassembly of section .altinstr_replacement: @@ -21,5 +21,5 @@ Disassembly of section .altinstr_replacement:
@ -350,7 +350,7 @@ index 7b696624cf..8610fc4303 100644
+ +[a-f0-9]+: e9 00 00 00 00 jmpq b <_start\+0xb> 7: R_X86_64_PC32 foo-0x4 + +[a-f0-9]+: e9 00 00 00 00 jmpq b <_start\+0xb> 7: R_X86_64_PC32 foo-0x4
#pass #pass
diff --git a/gas/testsuite/gas/i386/x86-64-nop-5.d b/gas/testsuite/gas/i386/x86-64-nop-5.d diff --git a/gas/testsuite/gas/i386/x86-64-nop-5.d b/gas/testsuite/gas/i386/x86-64-nop-5.d
index b0b7854f8a..333263bd93 100644 index b0b7854f..333263bd 100644
--- a/gas/testsuite/gas/i386/x86-64-nop-5.d --- a/gas/testsuite/gas/i386/x86-64-nop-5.d
+++ b/gas/testsuite/gas/i386/x86-64-nop-5.d +++ b/gas/testsuite/gas/i386/x86-64-nop-5.d
@@ -24,5 +24,5 @@ Disassembly of section .altinstr_replacement: @@ -24,5 +24,5 @@ Disassembly of section .altinstr_replacement:
@ -361,7 +361,7 @@ index b0b7854f8a..333263bd93 100644
+ +[a-f0-9]+: e9 00 00 00 00 jmpq d <_start\+0xd> 9: R_X86_64_PC32 foo-0x4 + +[a-f0-9]+: e9 00 00 00 00 jmpq d <_start\+0xd> 9: R_X86_64_PC32 foo-0x4
#pass #pass
diff --git a/gas/testsuite/gas/i386/x86-64-relax-2.d b/gas/testsuite/gas/i386/x86-64-relax-2.d diff --git a/gas/testsuite/gas/i386/x86-64-relax-2.d b/gas/testsuite/gas/i386/x86-64-relax-2.d
index 8f432dff52..6c7651886f 100644 index 8f432dff..6c765188 100644
--- a/gas/testsuite/gas/i386/x86-64-relax-2.d --- a/gas/testsuite/gas/i386/x86-64-relax-2.d
+++ b/gas/testsuite/gas/i386/x86-64-relax-2.d +++ b/gas/testsuite/gas/i386/x86-64-relax-2.d
@@ -11,12 +11,12 @@ Disassembly of section .text: @@ -11,12 +11,12 @@ Disassembly of section .text:
@ -383,7 +383,7 @@ index 8f432dff52..6c7651886f 100644
0+22 <hidden_def>: 0+22 <hidden_def>:
[ ]*[a-f0-9]+: c3 retq [ ]*[a-f0-9]+: c3 retq
diff --git a/gas/testsuite/gas/i386/x86-64-relax-3.d b/gas/testsuite/gas/i386/x86-64-relax-3.d diff --git a/gas/testsuite/gas/i386/x86-64-relax-3.d b/gas/testsuite/gas/i386/x86-64-relax-3.d
index bb60508145..f1ffdb89f6 100644 index bb605081..f1ffdb89 100644
--- a/gas/testsuite/gas/i386/x86-64-relax-3.d --- a/gas/testsuite/gas/i386/x86-64-relax-3.d
+++ b/gas/testsuite/gas/i386/x86-64-relax-3.d +++ b/gas/testsuite/gas/i386/x86-64-relax-3.d
@@ -12,10 +12,10 @@ Disassembly of section .text: @@ -12,10 +12,10 @@ Disassembly of section .text:
@ -402,7 +402,7 @@ index bb60508145..f1ffdb89f6 100644
0+1f <hidden_def>: 0+1f <hidden_def>:
[ ]*[a-f0-9]+: c3 retq [ ]*[a-f0-9]+: c3 retq
diff --git a/ld/testsuite/ld-x86-64/mpx1c.rd b/ld/testsuite/ld-x86-64/mpx1c.rd diff --git a/ld/testsuite/ld-x86-64/mpx1c.rd b/ld/testsuite/ld-x86-64/mpx1c.rd
index d66524c883..d3b292cbdc 100644 index d66524c8..d3b292cb 100644
--- a/ld/testsuite/ld-x86-64/mpx1c.rd --- a/ld/testsuite/ld-x86-64/mpx1c.rd
+++ b/ld/testsuite/ld-x86-64/mpx1c.rd +++ b/ld/testsuite/ld-x86-64/mpx1c.rd
@@ -1,3 +1,3 @@ @@ -1,3 +1,3 @@
@ -412,7 +412,7 @@ index d66524c883..d3b292cbdc 100644
#... #...
diff --git a/ld/testsuite/ld-x86-64/pr22791-1.err b/ld/testsuite/ld-x86-64/pr22791-1.err diff --git a/ld/testsuite/ld-x86-64/pr22791-1.err b/ld/testsuite/ld-x86-64/pr22791-1.err
deleted file mode 100644 deleted file mode 100644
index 8c5565992e..0000000000 index 8c556599..00000000
--- a/ld/testsuite/ld-x86-64/pr22791-1.err --- a/ld/testsuite/ld-x86-64/pr22791-1.err
+++ /dev/null +++ /dev/null
@@ -1,2 +0,0 @@ @@ -1,2 +0,0 @@
@ -420,7 +420,7 @@ index 8c5565992e..0000000000
-#... -#...
diff --git a/ld/testsuite/ld-x86-64/pr22791-1a.c b/ld/testsuite/ld-x86-64/pr22791-1a.c diff --git a/ld/testsuite/ld-x86-64/pr22791-1a.c b/ld/testsuite/ld-x86-64/pr22791-1a.c
deleted file mode 100644 deleted file mode 100644
index cd0130cacd..0000000000 index cd0130ca..00000000
--- a/ld/testsuite/ld-x86-64/pr22791-1a.c --- a/ld/testsuite/ld-x86-64/pr22791-1a.c
+++ /dev/null +++ /dev/null
@@ -1,4 +0,0 @@ @@ -1,4 +0,0 @@
@ -430,7 +430,7 @@ index cd0130cacd..0000000000
-} -}
diff --git a/ld/testsuite/ld-x86-64/pr22791-1b.s b/ld/testsuite/ld-x86-64/pr22791-1b.s diff --git a/ld/testsuite/ld-x86-64/pr22791-1b.s b/ld/testsuite/ld-x86-64/pr22791-1b.s
deleted file mode 100644 deleted file mode 100644
index 9751db49aa..0000000000 index 9751db49..00000000
--- a/ld/testsuite/ld-x86-64/pr22791-1b.s --- a/ld/testsuite/ld-x86-64/pr22791-1b.s
+++ /dev/null +++ /dev/null
@@ -1,6 +0,0 @@ @@ -1,6 +0,0 @@
@ -442,7 +442,7 @@ index 9751db49aa..0000000000
- .size main, .-main - .size main, .-main
diff --git a/ld/testsuite/ld-x86-64/pr22791-2.rd b/ld/testsuite/ld-x86-64/pr22791-2.rd diff --git a/ld/testsuite/ld-x86-64/pr22791-2.rd b/ld/testsuite/ld-x86-64/pr22791-2.rd
deleted file mode 100644 deleted file mode 100644
index 70deb30d84..0000000000 index 70deb30d..00000000
--- a/ld/testsuite/ld-x86-64/pr22791-2.rd --- a/ld/testsuite/ld-x86-64/pr22791-2.rd
+++ /dev/null +++ /dev/null
@@ -1,6 +0,0 @@ @@ -1,6 +0,0 @@
@ -454,7 +454,7 @@ index 70deb30d84..0000000000
-#... -#...
diff --git a/ld/testsuite/ld-x86-64/pr22791-2a.s b/ld/testsuite/ld-x86-64/pr22791-2a.s diff --git a/ld/testsuite/ld-x86-64/pr22791-2a.s b/ld/testsuite/ld-x86-64/pr22791-2a.s
deleted file mode 100644 deleted file mode 100644
index 0a855024d7..0000000000 index 0a855024..00000000
--- a/ld/testsuite/ld-x86-64/pr22791-2a.s --- a/ld/testsuite/ld-x86-64/pr22791-2a.s
+++ /dev/null +++ /dev/null
@@ -1,8 +0,0 @@ @@ -1,8 +0,0 @@
@ -468,7 +468,7 @@ index 0a855024d7..0000000000
- .section .note.GNU-stack,"",@progbits - .section .note.GNU-stack,"",@progbits
diff --git a/ld/testsuite/ld-x86-64/pr22791-2b.c b/ld/testsuite/ld-x86-64/pr22791-2b.c diff --git a/ld/testsuite/ld-x86-64/pr22791-2b.c b/ld/testsuite/ld-x86-64/pr22791-2b.c
deleted file mode 100644 deleted file mode 100644
index 79ef27c085..0000000000 index 79ef27c0..00000000
--- a/ld/testsuite/ld-x86-64/pr22791-2b.c --- a/ld/testsuite/ld-x86-64/pr22791-2b.c
+++ /dev/null +++ /dev/null
@@ -1,7 +0,0 @@ @@ -1,7 +0,0 @@
@ -481,7 +481,7 @@ index 79ef27c085..0000000000
-} -}
diff --git a/ld/testsuite/ld-x86-64/pr22791-2c.s b/ld/testsuite/ld-x86-64/pr22791-2c.s diff --git a/ld/testsuite/ld-x86-64/pr22791-2c.s b/ld/testsuite/ld-x86-64/pr22791-2c.s
deleted file mode 100644 deleted file mode 100644
index 1460d1b828..0000000000 index 1460d1b8..00000000
--- a/ld/testsuite/ld-x86-64/pr22791-2c.s --- a/ld/testsuite/ld-x86-64/pr22791-2c.s
+++ /dev/null +++ /dev/null
@@ -1,12 +0,0 @@ @@ -1,12 +0,0 @@
@ -498,7 +498,7 @@ index 1460d1b828..0000000000
- .size main, .-main - .size main, .-main
- .section .note.GNU-stack,"",@progbits - .section .note.GNU-stack,"",@progbits
diff --git a/ld/testsuite/ld-x86-64/pr22842b.S b/ld/testsuite/ld-x86-64/pr22842b.S diff --git a/ld/testsuite/ld-x86-64/pr22842b.S b/ld/testsuite/ld-x86-64/pr22842b.S
index f0659cd901..b9dd81345b 100644 index f0659cd9..b9dd8134 100644
--- a/ld/testsuite/ld-x86-64/pr22842b.S --- a/ld/testsuite/ld-x86-64/pr22842b.S
+++ b/ld/testsuite/ld-x86-64/pr22842b.S +++ b/ld/testsuite/ld-x86-64/pr22842b.S
@@ -7,7 +7,7 @@ main: @@ -7,7 +7,7 @@ main:
@ -511,10 +511,10 @@ index f0659cd901..b9dd81345b 100644
popq %rcx popq %rcx
retq retq
diff --git a/ld/testsuite/ld-x86-64/x86-64.exp b/ld/testsuite/ld-x86-64/x86-64.exp diff --git a/ld/testsuite/ld-x86-64/x86-64.exp b/ld/testsuite/ld-x86-64/x86-64.exp
index 88f75e0e43..c632fe932c 100644 index d836f334..b8a7de1f 100644
--- a/ld/testsuite/ld-x86-64/x86-64.exp --- a/ld/testsuite/ld-x86-64/x86-64.exp
+++ b/ld/testsuite/ld-x86-64/x86-64.exp +++ b/ld/testsuite/ld-x86-64/x86-64.exp
@@ -1244,44 +1244,6 @@ if { [isnative] && [check_compiler_available] } { @@ -1214,44 +1214,6 @@ if { [isnative] && [check_compiler_available] } {
{readelf -lW pr22393-3b.rd}} \ {readelf -lW pr22393-3b.rd}} \
"pr22393-3-static" \ "pr22393-3-static" \
] \ ] \
@ -528,7 +528,7 @@ index 88f75e0e43..c632fe932c 100644
- ] \ - ] \
- [list \ - [list \
- "Build pr22791-1" \ - "Build pr22791-1" \
- "-pie -Wl,--no-as-needed tmpdir/pr22791-1.so" \ - "-pie -Wl,--no-as-needed,-z,notext tmpdir/pr22791-1.so" \
- "$NOPIE_CFLAGS -Wa,-mx86-used-note=yes" \ - "$NOPIE_CFLAGS -Wa,-mx86-used-note=yes" \
- { pr22791-1b.s } \ - { pr22791-1b.s } \
- {{error_output "pr22791-1.err"}} \ - {{error_output "pr22791-1.err"}} \
@ -559,7 +559,7 @@ index 88f75e0e43..c632fe932c 100644
[list \ [list \
"Build pr22842.so" \ "Build pr22842.so" \
"-shared" \ "-shared" \
@@ -1624,15 +1586,6 @@ if { [isnative] && [check_compiler_available] } { @@ -1700,15 +1662,6 @@ if { [isnative] && [check_compiler_available] } {
"pr22393-3-static" \ "pr22393-3-static" \
"pass.out" \ "pass.out" \
] \ ] \
@ -575,5 +575,3 @@ index 88f75e0e43..c632fe932c 100644
[list \ [list \
"Run pr22842" \ "Run pr22842" \
"-pie -Wl,--no-as-needed tmpdir/pr22842.so" \ "-pie -Wl,--no-as-needed tmpdir/pr22842.so" \
--
2.25.0

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Fri Jul 24 14:25:31 UTC 2020 - Martin Liška <mliska@suse.cz>
- Update to binutils 2.35:
* The asseembler can now produce DWARF-5 format line number tables.
* Readelf now has a "lint" mode to enable extra checks of the files it is processing.
* Readelf will now display "[...]" when it has to truncate a symbol name.
The old behaviour - of displaying as many characters as possible, up to
the 80 column limit - can be restored by the use of the --silent-truncation
option.
* The linker can now produce a dependency file listing the inputs that it
has processed, much like the -M -MP option supported by the compiler.
- Regenerate add-ulp-section.diff with -p1 due to a fuzzing issue.
- Remove binutils-2.34-branch.diff.gz.
- Regenerate binutils-build-as-needed.diff due to a fuzzing issue.
- Regenerate binutils-fix-invalid-op-errata.diff as one hunk was upstreamed.
- Remove upstreamed patch binutils-pr25593.diff.
- Regenerate unit-at-a-time.patch due to a fuzzing issue.
- Regenerate binutils-revert-plt32-in-branches.diff.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 25 14:12:50 UTC 2020 - Martin Liška <mliska@suse.cz> Wed Mar 25 14:12:50 UTC 2020 - Martin Liška <mliska@suse.cz>

View File

@ -33,7 +33,7 @@ BuildRequires: zlib-devel-static
%else %else
BuildRequires: zlib-devel BuildRequires: zlib-devel
%endif %endif
Version: 2.34 Version: 2.35
Release: 0 Release: 0
# #
# RUN_TESTS # RUN_TESTS
@ -81,7 +81,6 @@ Source5: binutils.keyring
Source1: pre_checkin.sh Source1: pre_checkin.sh
Source2: README.First-for.SUSE.packagers Source2: README.First-for.SUSE.packagers
Source3: baselibs.conf Source3: baselibs.conf
Patch1: binutils-2.34-branch.diff.gz
Patch3: binutils-skip-rpaths.patch Patch3: binutils-skip-rpaths.patch
Patch4: s390-biarch.diff Patch4: s390-biarch.diff
Patch5: x86-64-biarch.patch Patch5: x86-64-biarch.patch
@ -96,7 +95,6 @@ Patch34: aarch64-common-pagesize.patch
Patch36: binutils-pr22868.diff Patch36: binutils-pr22868.diff
Patch37: binutils-revert-plt32-in-branches.diff Patch37: binutils-revert-plt32-in-branches.diff
Patch38: binutils-fix-invalid-op-errata.diff Patch38: binutils-fix-invalid-op-errata.diff
Patch40: binutils-pr25593.diff
Patch100: add-ulp-section.diff Patch100: add-ulp-section.diff
Patch90: cross-avr-nesc-as.patch Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch Patch92: cross-avr-omit_section_dynsym.patch
@ -170,7 +168,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{version} %setup -q -n binutils-%{version}
# Patch is outside test_vanilla because it's supposed to be the # Patch is outside test_vanilla because it's supposed to be the
# patch bringing the tarball to the newest upstream version # patch bringing the tarball to the newest upstream version
%patch1 -p1
%if !%{test_vanilla} %if !%{test_vanilla}
%patch3 -p1 %patch3 -p1
%patch4 %patch4
@ -188,8 +185,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch37 -p1 %patch37 -p1
%endif %endif
%patch38 %patch38
%patch40 -p1 %patch100 -p1
%patch100
%if "%{TARGET}" == "avr" %if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90 %patch90

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Fri Jul 24 14:25:31 UTC 2020 - Martin Liška <mliska@suse.cz>
- Update to binutils 2.35:
* The asseembler can now produce DWARF-5 format line number tables.
* Readelf now has a "lint" mode to enable extra checks of the files it is processing.
* Readelf will now display "[...]" when it has to truncate a symbol name.
The old behaviour - of displaying as many characters as possible, up to
the 80 column limit - can be restored by the use of the --silent-truncation
option.
* The linker can now produce a dependency file listing the inputs that it
has processed, much like the -M -MP option supported by the compiler.
- Regenerate add-ulp-section.diff with -p1 due to a fuzzing issue.
- Remove binutils-2.34-branch.diff.gz.
- Regenerate binutils-build-as-needed.diff due to a fuzzing issue.
- Regenerate binutils-fix-invalid-op-errata.diff as one hunk was upstreamed.
- Remove upstreamed patch binutils-pr25593.diff.
- Regenerate unit-at-a-time.patch due to a fuzzing issue.
- Regenerate binutils-revert-plt32-in-branches.diff.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 25 14:12:50 UTC 2020 - Martin Liška <mliska@suse.cz> Wed Mar 25 14:12:50 UTC 2020 - Martin Liška <mliska@suse.cz>

View File

@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
%else %else
BuildRequires: zlib-devel BuildRequires: zlib-devel
%endif %endif
Version: 2.34 Version: 2.35
Release: 0 Release: 0
# #
# RUN_TESTS # RUN_TESTS
@ -84,7 +84,6 @@ Source5: binutils.keyring
Source1: pre_checkin.sh Source1: pre_checkin.sh
Source2: README.First-for.SUSE.packagers Source2: README.First-for.SUSE.packagers
Source3: baselibs.conf Source3: baselibs.conf
Patch1: binutils-2.34-branch.diff.gz
Patch3: binutils-skip-rpaths.patch Patch3: binutils-skip-rpaths.patch
Patch4: s390-biarch.diff Patch4: s390-biarch.diff
Patch5: x86-64-biarch.patch Patch5: x86-64-biarch.patch
@ -99,7 +98,6 @@ Patch34: aarch64-common-pagesize.patch
Patch36: binutils-pr22868.diff Patch36: binutils-pr22868.diff
Patch37: binutils-revert-plt32-in-branches.diff Patch37: binutils-revert-plt32-in-branches.diff
Patch38: binutils-fix-invalid-op-errata.diff Patch38: binutils-fix-invalid-op-errata.diff
Patch40: binutils-pr25593.diff
Patch100: add-ulp-section.diff Patch100: add-ulp-section.diff
Patch90: cross-avr-nesc-as.patch Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch Patch92: cross-avr-omit_section_dynsym.patch
@ -173,7 +171,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{version} %setup -q -n binutils-%{version}
# Patch is outside test_vanilla because it's supposed to be the # Patch is outside test_vanilla because it's supposed to be the
# patch bringing the tarball to the newest upstream version # patch bringing the tarball to the newest upstream version
%patch1 -p1
%if !%{test_vanilla} %if !%{test_vanilla}
%patch3 -p1 %patch3 -p1
%patch4 %patch4
@ -191,8 +188,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch37 -p1 %patch37 -p1
%endif %endif
%patch38 %patch38
%patch40 -p1 %patch100 -p1
%patch100
%if "%{TARGET}" == "avr" %if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90 %patch90

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Fri Jul 24 14:25:31 UTC 2020 - Martin Liška <mliska@suse.cz>
- Update to binutils 2.35:
* The asseembler can now produce DWARF-5 format line number tables.
* Readelf now has a "lint" mode to enable extra checks of the files it is processing.
* Readelf will now display "[...]" when it has to truncate a symbol name.
The old behaviour - of displaying as many characters as possible, up to
the 80 column limit - can be restored by the use of the --silent-truncation
option.
* The linker can now produce a dependency file listing the inputs that it
has processed, much like the -M -MP option supported by the compiler.
- Regenerate add-ulp-section.diff with -p1 due to a fuzzing issue.
- Remove binutils-2.34-branch.diff.gz.
- Regenerate binutils-build-as-needed.diff due to a fuzzing issue.
- Regenerate binutils-fix-invalid-op-errata.diff as one hunk was upstreamed.
- Remove upstreamed patch binutils-pr25593.diff.
- Regenerate unit-at-a-time.patch due to a fuzzing issue.
- Regenerate binutils-revert-plt32-in-branches.diff.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 25 14:12:50 UTC 2020 - Martin Liška <mliska@suse.cz> Wed Mar 25 14:12:50 UTC 2020 - Martin Liška <mliska@suse.cz>

View File

@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
%else %else
BuildRequires: zlib-devel BuildRequires: zlib-devel
%endif %endif
Version: 2.34 Version: 2.35
Release: 0 Release: 0
# #
# RUN_TESTS # RUN_TESTS
@ -84,7 +84,6 @@ Source5: binutils.keyring
Source1: pre_checkin.sh Source1: pre_checkin.sh
Source2: README.First-for.SUSE.packagers Source2: README.First-for.SUSE.packagers
Source3: baselibs.conf Source3: baselibs.conf
Patch1: binutils-2.34-branch.diff.gz
Patch3: binutils-skip-rpaths.patch Patch3: binutils-skip-rpaths.patch
Patch4: s390-biarch.diff Patch4: s390-biarch.diff
Patch5: x86-64-biarch.patch Patch5: x86-64-biarch.patch
@ -99,7 +98,6 @@ Patch34: aarch64-common-pagesize.patch
Patch36: binutils-pr22868.diff Patch36: binutils-pr22868.diff
Patch37: binutils-revert-plt32-in-branches.diff Patch37: binutils-revert-plt32-in-branches.diff
Patch38: binutils-fix-invalid-op-errata.diff Patch38: binutils-fix-invalid-op-errata.diff
Patch40: binutils-pr25593.diff
Patch100: add-ulp-section.diff Patch100: add-ulp-section.diff
Patch90: cross-avr-nesc-as.patch Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch Patch92: cross-avr-omit_section_dynsym.patch
@ -173,7 +171,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{version} %setup -q -n binutils-%{version}
# Patch is outside test_vanilla because it's supposed to be the # Patch is outside test_vanilla because it's supposed to be the
# patch bringing the tarball to the newest upstream version # patch bringing the tarball to the newest upstream version
%patch1 -p1
%if !%{test_vanilla} %if !%{test_vanilla}
%patch3 -p1 %patch3 -p1
%patch4 %patch4
@ -191,8 +188,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch37 -p1 %patch37 -p1
%endif %endif
%patch38 %patch38
%patch40 -p1 %patch100 -p1
%patch100
%if "%{TARGET}" == "avr" %if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90 %patch90

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Fri Jul 24 14:25:31 UTC 2020 - Martin Liška <mliska@suse.cz>
- Update to binutils 2.35:
* The asseembler can now produce DWARF-5 format line number tables.
* Readelf now has a "lint" mode to enable extra checks of the files it is processing.
* Readelf will now display "[...]" when it has to truncate a symbol name.
The old behaviour - of displaying as many characters as possible, up to
the 80 column limit - can be restored by the use of the --silent-truncation
option.
* The linker can now produce a dependency file listing the inputs that it
has processed, much like the -M -MP option supported by the compiler.
- Regenerate add-ulp-section.diff with -p1 due to a fuzzing issue.
- Remove binutils-2.34-branch.diff.gz.
- Regenerate binutils-build-as-needed.diff due to a fuzzing issue.
- Regenerate binutils-fix-invalid-op-errata.diff as one hunk was upstreamed.
- Remove upstreamed patch binutils-pr25593.diff.
- Regenerate unit-at-a-time.patch due to a fuzzing issue.
- Regenerate binutils-revert-plt32-in-branches.diff.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 25 14:12:50 UTC 2020 - Martin Liška <mliska@suse.cz> Wed Mar 25 14:12:50 UTC 2020 - Martin Liška <mliska@suse.cz>

View File

@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
%else %else
BuildRequires: zlib-devel BuildRequires: zlib-devel
%endif %endif
Version: 2.34 Version: 2.35
Release: 0 Release: 0
# #
# RUN_TESTS # RUN_TESTS
@ -84,7 +84,6 @@ Source5: binutils.keyring
Source1: pre_checkin.sh Source1: pre_checkin.sh
Source2: README.First-for.SUSE.packagers Source2: README.First-for.SUSE.packagers
Source3: baselibs.conf Source3: baselibs.conf
Patch1: binutils-2.34-branch.diff.gz
Patch3: binutils-skip-rpaths.patch Patch3: binutils-skip-rpaths.patch
Patch4: s390-biarch.diff Patch4: s390-biarch.diff
Patch5: x86-64-biarch.patch Patch5: x86-64-biarch.patch
@ -99,7 +98,6 @@ Patch34: aarch64-common-pagesize.patch
Patch36: binutils-pr22868.diff Patch36: binutils-pr22868.diff
Patch37: binutils-revert-plt32-in-branches.diff Patch37: binutils-revert-plt32-in-branches.diff
Patch38: binutils-fix-invalid-op-errata.diff Patch38: binutils-fix-invalid-op-errata.diff
Patch40: binutils-pr25593.diff
Patch100: add-ulp-section.diff Patch100: add-ulp-section.diff
Patch90: cross-avr-nesc-as.patch Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch Patch92: cross-avr-omit_section_dynsym.patch
@ -173,7 +171,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{version} %setup -q -n binutils-%{version}
# Patch is outside test_vanilla because it's supposed to be the # Patch is outside test_vanilla because it's supposed to be the
# patch bringing the tarball to the newest upstream version # patch bringing the tarball to the newest upstream version
%patch1 -p1
%if !%{test_vanilla} %if !%{test_vanilla}
%patch3 -p1 %patch3 -p1
%patch4 %patch4
@ -191,8 +188,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch37 -p1 %patch37 -p1
%endif %endif
%patch38 %patch38
%patch40 -p1 %patch100 -p1
%patch100
%if "%{TARGET}" == "avr" %if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90 %patch90

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Fri Jul 24 14:25:31 UTC 2020 - Martin Liška <mliska@suse.cz>
- Update to binutils 2.35:
* The asseembler can now produce DWARF-5 format line number tables.
* Readelf now has a "lint" mode to enable extra checks of the files it is processing.
* Readelf will now display "[...]" when it has to truncate a symbol name.
The old behaviour - of displaying as many characters as possible, up to
the 80 column limit - can be restored by the use of the --silent-truncation
option.
* The linker can now produce a dependency file listing the inputs that it
has processed, much like the -M -MP option supported by the compiler.
- Regenerate add-ulp-section.diff with -p1 due to a fuzzing issue.
- Remove binutils-2.34-branch.diff.gz.
- Regenerate binutils-build-as-needed.diff due to a fuzzing issue.
- Regenerate binutils-fix-invalid-op-errata.diff as one hunk was upstreamed.
- Remove upstreamed patch binutils-pr25593.diff.
- Regenerate unit-at-a-time.patch due to a fuzzing issue.
- Regenerate binutils-revert-plt32-in-branches.diff.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 25 14:12:50 UTC 2020 - Martin Liška <mliska@suse.cz> Wed Mar 25 14:12:50 UTC 2020 - Martin Liška <mliska@suse.cz>

View File

@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
%else %else
BuildRequires: zlib-devel BuildRequires: zlib-devel
%endif %endif
Version: 2.34 Version: 2.35
Release: 0 Release: 0
# #
# RUN_TESTS # RUN_TESTS
@ -84,7 +84,6 @@ Source5: binutils.keyring
Source1: pre_checkin.sh Source1: pre_checkin.sh
Source2: README.First-for.SUSE.packagers Source2: README.First-for.SUSE.packagers
Source3: baselibs.conf Source3: baselibs.conf
Patch1: binutils-2.34-branch.diff.gz
Patch3: binutils-skip-rpaths.patch Patch3: binutils-skip-rpaths.patch
Patch4: s390-biarch.diff Patch4: s390-biarch.diff
Patch5: x86-64-biarch.patch Patch5: x86-64-biarch.patch
@ -99,7 +98,6 @@ Patch34: aarch64-common-pagesize.patch
Patch36: binutils-pr22868.diff Patch36: binutils-pr22868.diff
Patch37: binutils-revert-plt32-in-branches.diff Patch37: binutils-revert-plt32-in-branches.diff
Patch38: binutils-fix-invalid-op-errata.diff Patch38: binutils-fix-invalid-op-errata.diff
Patch40: binutils-pr25593.diff
Patch100: add-ulp-section.diff Patch100: add-ulp-section.diff
Patch90: cross-avr-nesc-as.patch Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch Patch92: cross-avr-omit_section_dynsym.patch
@ -173,7 +171,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{version} %setup -q -n binutils-%{version}
# Patch is outside test_vanilla because it's supposed to be the # Patch is outside test_vanilla because it's supposed to be the
# patch bringing the tarball to the newest upstream version # patch bringing the tarball to the newest upstream version
%patch1 -p1
%if !%{test_vanilla} %if !%{test_vanilla}
%patch3 -p1 %patch3 -p1
%patch4 %patch4
@ -191,8 +188,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch37 -p1 %patch37 -p1
%endif %endif
%patch38 %patch38
%patch40 -p1 %patch100 -p1
%patch100
%if "%{TARGET}" == "avr" %if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90 %patch90

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Fri Jul 24 14:25:31 UTC 2020 - Martin Liška <mliska@suse.cz>
- Update to binutils 2.35:
* The asseembler can now produce DWARF-5 format line number tables.
* Readelf now has a "lint" mode to enable extra checks of the files it is processing.
* Readelf will now display "[...]" when it has to truncate a symbol name.
The old behaviour - of displaying as many characters as possible, up to
the 80 column limit - can be restored by the use of the --silent-truncation
option.
* The linker can now produce a dependency file listing the inputs that it
has processed, much like the -M -MP option supported by the compiler.
- Regenerate add-ulp-section.diff with -p1 due to a fuzzing issue.
- Remove binutils-2.34-branch.diff.gz.
- Regenerate binutils-build-as-needed.diff due to a fuzzing issue.
- Regenerate binutils-fix-invalid-op-errata.diff as one hunk was upstreamed.
- Remove upstreamed patch binutils-pr25593.diff.
- Regenerate unit-at-a-time.patch due to a fuzzing issue.
- Regenerate binutils-revert-plt32-in-branches.diff.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 25 14:12:50 UTC 2020 - Martin Liška <mliska@suse.cz> Wed Mar 25 14:12:50 UTC 2020 - Martin Liška <mliska@suse.cz>

View File

@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
%else %else
BuildRequires: zlib-devel BuildRequires: zlib-devel
%endif %endif
Version: 2.34 Version: 2.35
Release: 0 Release: 0
# #
# RUN_TESTS # RUN_TESTS
@ -84,7 +84,6 @@ Source5: binutils.keyring
Source1: pre_checkin.sh Source1: pre_checkin.sh
Source2: README.First-for.SUSE.packagers Source2: README.First-for.SUSE.packagers
Source3: baselibs.conf Source3: baselibs.conf
Patch1: binutils-2.34-branch.diff.gz
Patch3: binutils-skip-rpaths.patch Patch3: binutils-skip-rpaths.patch
Patch4: s390-biarch.diff Patch4: s390-biarch.diff
Patch5: x86-64-biarch.patch Patch5: x86-64-biarch.patch
@ -99,7 +98,6 @@ Patch34: aarch64-common-pagesize.patch
Patch36: binutils-pr22868.diff Patch36: binutils-pr22868.diff
Patch37: binutils-revert-plt32-in-branches.diff Patch37: binutils-revert-plt32-in-branches.diff
Patch38: binutils-fix-invalid-op-errata.diff Patch38: binutils-fix-invalid-op-errata.diff
Patch40: binutils-pr25593.diff
Patch100: add-ulp-section.diff Patch100: add-ulp-section.diff
Patch90: cross-avr-nesc-as.patch Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch Patch92: cross-avr-omit_section_dynsym.patch
@ -173,7 +171,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{version} %setup -q -n binutils-%{version}
# Patch is outside test_vanilla because it's supposed to be the # Patch is outside test_vanilla because it's supposed to be the
# patch bringing the tarball to the newest upstream version # patch bringing the tarball to the newest upstream version
%patch1 -p1
%if !%{test_vanilla} %if !%{test_vanilla}
%patch3 -p1 %patch3 -p1
%patch4 %patch4
@ -191,8 +188,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch37 -p1 %patch37 -p1
%endif %endif
%patch38 %patch38
%patch40 -p1 %patch100 -p1
%patch100
%if "%{TARGET}" == "avr" %if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90 %patch90

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Fri Jul 24 14:25:31 UTC 2020 - Martin Liška <mliska@suse.cz>
- Update to binutils 2.35:
* The asseembler can now produce DWARF-5 format line number tables.
* Readelf now has a "lint" mode to enable extra checks of the files it is processing.
* Readelf will now display "[...]" when it has to truncate a symbol name.
The old behaviour - of displaying as many characters as possible, up to
the 80 column limit - can be restored by the use of the --silent-truncation
option.
* The linker can now produce a dependency file listing the inputs that it
has processed, much like the -M -MP option supported by the compiler.
- Regenerate add-ulp-section.diff with -p1 due to a fuzzing issue.
- Remove binutils-2.34-branch.diff.gz.
- Regenerate binutils-build-as-needed.diff due to a fuzzing issue.
- Regenerate binutils-fix-invalid-op-errata.diff as one hunk was upstreamed.
- Remove upstreamed patch binutils-pr25593.diff.
- Regenerate unit-at-a-time.patch due to a fuzzing issue.
- Regenerate binutils-revert-plt32-in-branches.diff.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 25 14:12:50 UTC 2020 - Martin Liška <mliska@suse.cz> Wed Mar 25 14:12:50 UTC 2020 - Martin Liška <mliska@suse.cz>

View File

@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
%else %else
BuildRequires: zlib-devel BuildRequires: zlib-devel
%endif %endif
Version: 2.34 Version: 2.35
Release: 0 Release: 0
# #
# RUN_TESTS # RUN_TESTS
@ -84,7 +84,6 @@ Source5: binutils.keyring
Source1: pre_checkin.sh Source1: pre_checkin.sh
Source2: README.First-for.SUSE.packagers Source2: README.First-for.SUSE.packagers
Source3: baselibs.conf Source3: baselibs.conf
Patch1: binutils-2.34-branch.diff.gz
Patch3: binutils-skip-rpaths.patch Patch3: binutils-skip-rpaths.patch
Patch4: s390-biarch.diff Patch4: s390-biarch.diff
Patch5: x86-64-biarch.patch Patch5: x86-64-biarch.patch
@ -99,7 +98,6 @@ Patch34: aarch64-common-pagesize.patch
Patch36: binutils-pr22868.diff Patch36: binutils-pr22868.diff
Patch37: binutils-revert-plt32-in-branches.diff Patch37: binutils-revert-plt32-in-branches.diff
Patch38: binutils-fix-invalid-op-errata.diff Patch38: binutils-fix-invalid-op-errata.diff
Patch40: binutils-pr25593.diff
Patch100: add-ulp-section.diff Patch100: add-ulp-section.diff
Patch90: cross-avr-nesc-as.patch Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch Patch92: cross-avr-omit_section_dynsym.patch
@ -173,7 +171,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{version} %setup -q -n binutils-%{version}
# Patch is outside test_vanilla because it's supposed to be the # Patch is outside test_vanilla because it's supposed to be the
# patch bringing the tarball to the newest upstream version # patch bringing the tarball to the newest upstream version
%patch1 -p1
%if !%{test_vanilla} %if !%{test_vanilla}
%patch3 -p1 %patch3 -p1
%patch4 %patch4
@ -191,8 +188,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch37 -p1 %patch37 -p1
%endif %endif
%patch38 %patch38
%patch40 -p1 %patch100 -p1
%patch100
%if "%{TARGET}" == "avr" %if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90 %patch90

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Fri Jul 24 14:25:31 UTC 2020 - Martin Liška <mliska@suse.cz>
- Update to binutils 2.35:
* The asseembler can now produce DWARF-5 format line number tables.
* Readelf now has a "lint" mode to enable extra checks of the files it is processing.
* Readelf will now display "[...]" when it has to truncate a symbol name.
The old behaviour - of displaying as many characters as possible, up to
the 80 column limit - can be restored by the use of the --silent-truncation
option.
* The linker can now produce a dependency file listing the inputs that it
has processed, much like the -M -MP option supported by the compiler.
- Regenerate add-ulp-section.diff with -p1 due to a fuzzing issue.
- Remove binutils-2.34-branch.diff.gz.
- Regenerate binutils-build-as-needed.diff due to a fuzzing issue.
- Regenerate binutils-fix-invalid-op-errata.diff as one hunk was upstreamed.
- Remove upstreamed patch binutils-pr25593.diff.
- Regenerate unit-at-a-time.patch due to a fuzzing issue.
- Regenerate binutils-revert-plt32-in-branches.diff.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 25 14:12:50 UTC 2020 - Martin Liška <mliska@suse.cz> Wed Mar 25 14:12:50 UTC 2020 - Martin Liška <mliska@suse.cz>

View File

@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
%else %else
BuildRequires: zlib-devel BuildRequires: zlib-devel
%endif %endif
Version: 2.34 Version: 2.35
Release: 0 Release: 0
# #
# RUN_TESTS # RUN_TESTS
@ -84,7 +84,6 @@ Source5: binutils.keyring
Source1: pre_checkin.sh Source1: pre_checkin.sh
Source2: README.First-for.SUSE.packagers Source2: README.First-for.SUSE.packagers
Source3: baselibs.conf Source3: baselibs.conf
Patch1: binutils-2.34-branch.diff.gz
Patch3: binutils-skip-rpaths.patch Patch3: binutils-skip-rpaths.patch
Patch4: s390-biarch.diff Patch4: s390-biarch.diff
Patch5: x86-64-biarch.patch Patch5: x86-64-biarch.patch
@ -99,7 +98,6 @@ Patch34: aarch64-common-pagesize.patch
Patch36: binutils-pr22868.diff Patch36: binutils-pr22868.diff
Patch37: binutils-revert-plt32-in-branches.diff Patch37: binutils-revert-plt32-in-branches.diff
Patch38: binutils-fix-invalid-op-errata.diff Patch38: binutils-fix-invalid-op-errata.diff
Patch40: binutils-pr25593.diff
Patch100: add-ulp-section.diff Patch100: add-ulp-section.diff
Patch90: cross-avr-nesc-as.patch Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch Patch92: cross-avr-omit_section_dynsym.patch
@ -173,7 +171,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{version} %setup -q -n binutils-%{version}
# Patch is outside test_vanilla because it's supposed to be the # Patch is outside test_vanilla because it's supposed to be the
# patch bringing the tarball to the newest upstream version # patch bringing the tarball to the newest upstream version
%patch1 -p1
%if !%{test_vanilla} %if !%{test_vanilla}
%patch3 -p1 %patch3 -p1
%patch4 %patch4
@ -191,8 +188,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch37 -p1 %patch37 -p1
%endif %endif
%patch38 %patch38
%patch40 -p1 %patch100 -p1
%patch100
%if "%{TARGET}" == "avr" %if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90 %patch90

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Fri Jul 24 14:25:31 UTC 2020 - Martin Liška <mliska@suse.cz>
- Update to binutils 2.35:
* The asseembler can now produce DWARF-5 format line number tables.
* Readelf now has a "lint" mode to enable extra checks of the files it is processing.
* Readelf will now display "[...]" when it has to truncate a symbol name.
The old behaviour - of displaying as many characters as possible, up to
the 80 column limit - can be restored by the use of the --silent-truncation
option.
* The linker can now produce a dependency file listing the inputs that it
has processed, much like the -M -MP option supported by the compiler.
- Regenerate add-ulp-section.diff with -p1 due to a fuzzing issue.
- Remove binutils-2.34-branch.diff.gz.
- Regenerate binutils-build-as-needed.diff due to a fuzzing issue.
- Regenerate binutils-fix-invalid-op-errata.diff as one hunk was upstreamed.
- Remove upstreamed patch binutils-pr25593.diff.
- Regenerate unit-at-a-time.patch due to a fuzzing issue.
- Regenerate binutils-revert-plt32-in-branches.diff.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 25 14:12:50 UTC 2020 - Martin Liška <mliska@suse.cz> Wed Mar 25 14:12:50 UTC 2020 - Martin Liška <mliska@suse.cz>

View File

@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
%else %else
BuildRequires: zlib-devel BuildRequires: zlib-devel
%endif %endif
Version: 2.34 Version: 2.35
Release: 0 Release: 0
# #
# RUN_TESTS # RUN_TESTS
@ -84,7 +84,6 @@ Source5: binutils.keyring
Source1: pre_checkin.sh Source1: pre_checkin.sh
Source2: README.First-for.SUSE.packagers Source2: README.First-for.SUSE.packagers
Source3: baselibs.conf Source3: baselibs.conf
Patch1: binutils-2.34-branch.diff.gz
Patch3: binutils-skip-rpaths.patch Patch3: binutils-skip-rpaths.patch
Patch4: s390-biarch.diff Patch4: s390-biarch.diff
Patch5: x86-64-biarch.patch Patch5: x86-64-biarch.patch
@ -99,7 +98,6 @@ Patch34: aarch64-common-pagesize.patch
Patch36: binutils-pr22868.diff Patch36: binutils-pr22868.diff
Patch37: binutils-revert-plt32-in-branches.diff Patch37: binutils-revert-plt32-in-branches.diff
Patch38: binutils-fix-invalid-op-errata.diff Patch38: binutils-fix-invalid-op-errata.diff
Patch40: binutils-pr25593.diff
Patch100: add-ulp-section.diff Patch100: add-ulp-section.diff
Patch90: cross-avr-nesc-as.patch Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch Patch92: cross-avr-omit_section_dynsym.patch
@ -173,7 +171,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{version} %setup -q -n binutils-%{version}
# Patch is outside test_vanilla because it's supposed to be the # Patch is outside test_vanilla because it's supposed to be the
# patch bringing the tarball to the newest upstream version # patch bringing the tarball to the newest upstream version
%patch1 -p1
%if !%{test_vanilla} %if !%{test_vanilla}
%patch3 -p1 %patch3 -p1
%patch4 %patch4
@ -191,8 +188,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch37 -p1 %patch37 -p1
%endif %endif
%patch38 %patch38
%patch40 -p1 %patch100 -p1
%patch100
%if "%{TARGET}" == "avr" %if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90 %patch90

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Fri Jul 24 14:25:31 UTC 2020 - Martin Liška <mliska@suse.cz>
- Update to binutils 2.35:
* The asseembler can now produce DWARF-5 format line number tables.
* Readelf now has a "lint" mode to enable extra checks of the files it is processing.
* Readelf will now display "[...]" when it has to truncate a symbol name.
The old behaviour - of displaying as many characters as possible, up to
the 80 column limit - can be restored by the use of the --silent-truncation
option.
* The linker can now produce a dependency file listing the inputs that it
has processed, much like the -M -MP option supported by the compiler.
- Regenerate add-ulp-section.diff with -p1 due to a fuzzing issue.
- Remove binutils-2.34-branch.diff.gz.
- Regenerate binutils-build-as-needed.diff due to a fuzzing issue.
- Regenerate binutils-fix-invalid-op-errata.diff as one hunk was upstreamed.
- Remove upstreamed patch binutils-pr25593.diff.
- Regenerate unit-at-a-time.patch due to a fuzzing issue.
- Regenerate binutils-revert-plt32-in-branches.diff.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 25 14:12:50 UTC 2020 - Martin Liška <mliska@suse.cz> Wed Mar 25 14:12:50 UTC 2020 - Martin Liška <mliska@suse.cz>

View File

@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
%else %else
BuildRequires: zlib-devel BuildRequires: zlib-devel
%endif %endif
Version: 2.34 Version: 2.35
Release: 0 Release: 0
# #
# RUN_TESTS # RUN_TESTS
@ -84,7 +84,6 @@ Source5: binutils.keyring
Source1: pre_checkin.sh Source1: pre_checkin.sh
Source2: README.First-for.SUSE.packagers Source2: README.First-for.SUSE.packagers
Source3: baselibs.conf Source3: baselibs.conf
Patch1: binutils-2.34-branch.diff.gz
Patch3: binutils-skip-rpaths.patch Patch3: binutils-skip-rpaths.patch
Patch4: s390-biarch.diff Patch4: s390-biarch.diff
Patch5: x86-64-biarch.patch Patch5: x86-64-biarch.patch
@ -99,7 +98,6 @@ Patch34: aarch64-common-pagesize.patch
Patch36: binutils-pr22868.diff Patch36: binutils-pr22868.diff
Patch37: binutils-revert-plt32-in-branches.diff Patch37: binutils-revert-plt32-in-branches.diff
Patch38: binutils-fix-invalid-op-errata.diff Patch38: binutils-fix-invalid-op-errata.diff
Patch40: binutils-pr25593.diff
Patch100: add-ulp-section.diff Patch100: add-ulp-section.diff
Patch90: cross-avr-nesc-as.patch Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch Patch92: cross-avr-omit_section_dynsym.patch
@ -173,7 +171,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{version} %setup -q -n binutils-%{version}
# Patch is outside test_vanilla because it's supposed to be the # Patch is outside test_vanilla because it's supposed to be the
# patch bringing the tarball to the newest upstream version # patch bringing the tarball to the newest upstream version
%patch1 -p1
%if !%{test_vanilla} %if !%{test_vanilla}
%patch3 -p1 %patch3 -p1
%patch4 %patch4
@ -191,8 +188,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch37 -p1 %patch37 -p1
%endif %endif
%patch38 %patch38
%patch40 -p1 %patch100 -p1
%patch100
%if "%{TARGET}" == "avr" %if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90 %patch90

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Fri Jul 24 14:25:31 UTC 2020 - Martin Liška <mliska@suse.cz>
- Update to binutils 2.35:
* The asseembler can now produce DWARF-5 format line number tables.
* Readelf now has a "lint" mode to enable extra checks of the files it is processing.
* Readelf will now display "[...]" when it has to truncate a symbol name.
The old behaviour - of displaying as many characters as possible, up to
the 80 column limit - can be restored by the use of the --silent-truncation
option.
* The linker can now produce a dependency file listing the inputs that it
has processed, much like the -M -MP option supported by the compiler.
- Regenerate add-ulp-section.diff with -p1 due to a fuzzing issue.
- Remove binutils-2.34-branch.diff.gz.
- Regenerate binutils-build-as-needed.diff due to a fuzzing issue.
- Regenerate binutils-fix-invalid-op-errata.diff as one hunk was upstreamed.
- Remove upstreamed patch binutils-pr25593.diff.
- Regenerate unit-at-a-time.patch due to a fuzzing issue.
- Regenerate binutils-revert-plt32-in-branches.diff.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 25 14:12:50 UTC 2020 - Martin Liška <mliska@suse.cz> Wed Mar 25 14:12:50 UTC 2020 - Martin Liška <mliska@suse.cz>

View File

@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
%else %else
BuildRequires: zlib-devel BuildRequires: zlib-devel
%endif %endif
Version: 2.34 Version: 2.35
Release: 0 Release: 0
# #
# RUN_TESTS # RUN_TESTS
@ -84,7 +84,6 @@ Source5: binutils.keyring
Source1: pre_checkin.sh Source1: pre_checkin.sh
Source2: README.First-for.SUSE.packagers Source2: README.First-for.SUSE.packagers
Source3: baselibs.conf Source3: baselibs.conf
Patch1: binutils-2.34-branch.diff.gz
Patch3: binutils-skip-rpaths.patch Patch3: binutils-skip-rpaths.patch
Patch4: s390-biarch.diff Patch4: s390-biarch.diff
Patch5: x86-64-biarch.patch Patch5: x86-64-biarch.patch
@ -99,7 +98,6 @@ Patch34: aarch64-common-pagesize.patch
Patch36: binutils-pr22868.diff Patch36: binutils-pr22868.diff
Patch37: binutils-revert-plt32-in-branches.diff Patch37: binutils-revert-plt32-in-branches.diff
Patch38: binutils-fix-invalid-op-errata.diff Patch38: binutils-fix-invalid-op-errata.diff
Patch40: binutils-pr25593.diff
Patch100: add-ulp-section.diff Patch100: add-ulp-section.diff
Patch90: cross-avr-nesc-as.patch Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch Patch92: cross-avr-omit_section_dynsym.patch
@ -173,7 +171,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{version} %setup -q -n binutils-%{version}
# Patch is outside test_vanilla because it's supposed to be the # Patch is outside test_vanilla because it's supposed to be the
# patch bringing the tarball to the newest upstream version # patch bringing the tarball to the newest upstream version
%patch1 -p1
%if !%{test_vanilla} %if !%{test_vanilla}
%patch3 -p1 %patch3 -p1
%patch4 %patch4
@ -191,8 +188,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch37 -p1 %patch37 -p1
%endif %endif
%patch38 %patch38
%patch40 -p1 %patch100 -p1
%patch100
%if "%{TARGET}" == "avr" %if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90 %patch90

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Fri Jul 24 14:25:31 UTC 2020 - Martin Liška <mliska@suse.cz>
- Update to binutils 2.35:
* The asseembler can now produce DWARF-5 format line number tables.
* Readelf now has a "lint" mode to enable extra checks of the files it is processing.
* Readelf will now display "[...]" when it has to truncate a symbol name.
The old behaviour - of displaying as many characters as possible, up to
the 80 column limit - can be restored by the use of the --silent-truncation
option.
* The linker can now produce a dependency file listing the inputs that it
has processed, much like the -M -MP option supported by the compiler.
- Regenerate add-ulp-section.diff with -p1 due to a fuzzing issue.
- Remove binutils-2.34-branch.diff.gz.
- Regenerate binutils-build-as-needed.diff due to a fuzzing issue.
- Regenerate binutils-fix-invalid-op-errata.diff as one hunk was upstreamed.
- Remove upstreamed patch binutils-pr25593.diff.
- Regenerate unit-at-a-time.patch due to a fuzzing issue.
- Regenerate binutils-revert-plt32-in-branches.diff.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 25 14:12:50 UTC 2020 - Martin Liška <mliska@suse.cz> Wed Mar 25 14:12:50 UTC 2020 - Martin Liška <mliska@suse.cz>

View File

@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
%else %else
BuildRequires: zlib-devel BuildRequires: zlib-devel
%endif %endif
Version: 2.34 Version: 2.35
Release: 0 Release: 0
# #
# RUN_TESTS # RUN_TESTS
@ -84,7 +84,6 @@ Source5: binutils.keyring
Source1: pre_checkin.sh Source1: pre_checkin.sh
Source2: README.First-for.SUSE.packagers Source2: README.First-for.SUSE.packagers
Source3: baselibs.conf Source3: baselibs.conf
Patch1: binutils-2.34-branch.diff.gz
Patch3: binutils-skip-rpaths.patch Patch3: binutils-skip-rpaths.patch
Patch4: s390-biarch.diff Patch4: s390-biarch.diff
Patch5: x86-64-biarch.patch Patch5: x86-64-biarch.patch
@ -99,7 +98,6 @@ Patch34: aarch64-common-pagesize.patch
Patch36: binutils-pr22868.diff Patch36: binutils-pr22868.diff
Patch37: binutils-revert-plt32-in-branches.diff Patch37: binutils-revert-plt32-in-branches.diff
Patch38: binutils-fix-invalid-op-errata.diff Patch38: binutils-fix-invalid-op-errata.diff
Patch40: binutils-pr25593.diff
Patch100: add-ulp-section.diff Patch100: add-ulp-section.diff
Patch90: cross-avr-nesc-as.patch Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch Patch92: cross-avr-omit_section_dynsym.patch
@ -173,7 +171,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{version} %setup -q -n binutils-%{version}
# Patch is outside test_vanilla because it's supposed to be the # Patch is outside test_vanilla because it's supposed to be the
# patch bringing the tarball to the newest upstream version # patch bringing the tarball to the newest upstream version
%patch1 -p1
%if !%{test_vanilla} %if !%{test_vanilla}
%patch3 -p1 %patch3 -p1
%patch4 %patch4
@ -191,8 +188,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch37 -p1 %patch37 -p1
%endif %endif
%patch38 %patch38
%patch40 -p1 %patch100 -p1
%patch100
%if "%{TARGET}" == "avr" %if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90 %patch90

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Fri Jul 24 14:25:31 UTC 2020 - Martin Liška <mliska@suse.cz>
- Update to binutils 2.35:
* The asseembler can now produce DWARF-5 format line number tables.
* Readelf now has a "lint" mode to enable extra checks of the files it is processing.
* Readelf will now display "[...]" when it has to truncate a symbol name.
The old behaviour - of displaying as many characters as possible, up to
the 80 column limit - can be restored by the use of the --silent-truncation
option.
* The linker can now produce a dependency file listing the inputs that it
has processed, much like the -M -MP option supported by the compiler.
- Regenerate add-ulp-section.diff with -p1 due to a fuzzing issue.
- Remove binutils-2.34-branch.diff.gz.
- Regenerate binutils-build-as-needed.diff due to a fuzzing issue.
- Regenerate binutils-fix-invalid-op-errata.diff as one hunk was upstreamed.
- Remove upstreamed patch binutils-pr25593.diff.
- Regenerate unit-at-a-time.patch due to a fuzzing issue.
- Regenerate binutils-revert-plt32-in-branches.diff.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 25 14:12:50 UTC 2020 - Martin Liška <mliska@suse.cz> Wed Mar 25 14:12:50 UTC 2020 - Martin Liška <mliska@suse.cz>

View File

@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
%else %else
BuildRequires: zlib-devel BuildRequires: zlib-devel
%endif %endif
Version: 2.34 Version: 2.35
Release: 0 Release: 0
# #
# RUN_TESTS # RUN_TESTS
@ -84,7 +84,6 @@ Source5: binutils.keyring
Source1: pre_checkin.sh Source1: pre_checkin.sh
Source2: README.First-for.SUSE.packagers Source2: README.First-for.SUSE.packagers
Source3: baselibs.conf Source3: baselibs.conf
Patch1: binutils-2.34-branch.diff.gz
Patch3: binutils-skip-rpaths.patch Patch3: binutils-skip-rpaths.patch
Patch4: s390-biarch.diff Patch4: s390-biarch.diff
Patch5: x86-64-biarch.patch Patch5: x86-64-biarch.patch
@ -99,7 +98,6 @@ Patch34: aarch64-common-pagesize.patch
Patch36: binutils-pr22868.diff Patch36: binutils-pr22868.diff
Patch37: binutils-revert-plt32-in-branches.diff Patch37: binutils-revert-plt32-in-branches.diff
Patch38: binutils-fix-invalid-op-errata.diff Patch38: binutils-fix-invalid-op-errata.diff
Patch40: binutils-pr25593.diff
Patch100: add-ulp-section.diff Patch100: add-ulp-section.diff
Patch90: cross-avr-nesc-as.patch Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch Patch92: cross-avr-omit_section_dynsym.patch
@ -173,7 +171,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{version} %setup -q -n binutils-%{version}
# Patch is outside test_vanilla because it's supposed to be the # Patch is outside test_vanilla because it's supposed to be the
# patch bringing the tarball to the newest upstream version # patch bringing the tarball to the newest upstream version
%patch1 -p1
%if !%{test_vanilla} %if !%{test_vanilla}
%patch3 -p1 %patch3 -p1
%patch4 %patch4
@ -191,8 +188,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch37 -p1 %patch37 -p1
%endif %endif
%patch38 %patch38
%patch40 -p1 %patch100 -p1
%patch100
%if "%{TARGET}" == "avr" %if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90 %patch90

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Fri Jul 24 14:25:31 UTC 2020 - Martin Liška <mliska@suse.cz>
- Update to binutils 2.35:
* The asseembler can now produce DWARF-5 format line number tables.
* Readelf now has a "lint" mode to enable extra checks of the files it is processing.
* Readelf will now display "[...]" when it has to truncate a symbol name.
The old behaviour - of displaying as many characters as possible, up to
the 80 column limit - can be restored by the use of the --silent-truncation
option.
* The linker can now produce a dependency file listing the inputs that it
has processed, much like the -M -MP option supported by the compiler.
- Regenerate add-ulp-section.diff with -p1 due to a fuzzing issue.
- Remove binutils-2.34-branch.diff.gz.
- Regenerate binutils-build-as-needed.diff due to a fuzzing issue.
- Regenerate binutils-fix-invalid-op-errata.diff as one hunk was upstreamed.
- Remove upstreamed patch binutils-pr25593.diff.
- Regenerate unit-at-a-time.patch due to a fuzzing issue.
- Regenerate binutils-revert-plt32-in-branches.diff.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 25 14:12:50 UTC 2020 - Martin Liška <mliska@suse.cz> Wed Mar 25 14:12:50 UTC 2020 - Martin Liška <mliska@suse.cz>

View File

@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
%else %else
BuildRequires: zlib-devel BuildRequires: zlib-devel
%endif %endif
Version: 2.34 Version: 2.35
Release: 0 Release: 0
# #
# RUN_TESTS # RUN_TESTS
@ -84,7 +84,6 @@ Source5: binutils.keyring
Source1: pre_checkin.sh Source1: pre_checkin.sh
Source2: README.First-for.SUSE.packagers Source2: README.First-for.SUSE.packagers
Source3: baselibs.conf Source3: baselibs.conf
Patch1: binutils-2.34-branch.diff.gz
Patch3: binutils-skip-rpaths.patch Patch3: binutils-skip-rpaths.patch
Patch4: s390-biarch.diff Patch4: s390-biarch.diff
Patch5: x86-64-biarch.patch Patch5: x86-64-biarch.patch
@ -99,7 +98,6 @@ Patch34: aarch64-common-pagesize.patch
Patch36: binutils-pr22868.diff Patch36: binutils-pr22868.diff
Patch37: binutils-revert-plt32-in-branches.diff Patch37: binutils-revert-plt32-in-branches.diff
Patch38: binutils-fix-invalid-op-errata.diff Patch38: binutils-fix-invalid-op-errata.diff
Patch40: binutils-pr25593.diff
Patch100: add-ulp-section.diff Patch100: add-ulp-section.diff
Patch90: cross-avr-nesc-as.patch Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch Patch92: cross-avr-omit_section_dynsym.patch
@ -173,7 +171,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{version} %setup -q -n binutils-%{version}
# Patch is outside test_vanilla because it's supposed to be the # Patch is outside test_vanilla because it's supposed to be the
# patch bringing the tarball to the newest upstream version # patch bringing the tarball to the newest upstream version
%patch1 -p1
%if !%{test_vanilla} %if !%{test_vanilla}
%patch3 -p1 %patch3 -p1
%patch4 %patch4
@ -191,8 +188,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch37 -p1 %patch37 -p1
%endif %endif
%patch38 %patch38
%patch40 -p1 %patch100 -p1
%patch100
%if "%{TARGET}" == "avr" %if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90 %patch90

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Fri Jul 24 14:25:31 UTC 2020 - Martin Liška <mliska@suse.cz>
- Update to binutils 2.35:
* The asseembler can now produce DWARF-5 format line number tables.
* Readelf now has a "lint" mode to enable extra checks of the files it is processing.
* Readelf will now display "[...]" when it has to truncate a symbol name.
The old behaviour - of displaying as many characters as possible, up to
the 80 column limit - can be restored by the use of the --silent-truncation
option.
* The linker can now produce a dependency file listing the inputs that it
has processed, much like the -M -MP option supported by the compiler.
- Regenerate add-ulp-section.diff with -p1 due to a fuzzing issue.
- Remove binutils-2.34-branch.diff.gz.
- Regenerate binutils-build-as-needed.diff due to a fuzzing issue.
- Regenerate binutils-fix-invalid-op-errata.diff as one hunk was upstreamed.
- Remove upstreamed patch binutils-pr25593.diff.
- Regenerate unit-at-a-time.patch due to a fuzzing issue.
- Regenerate binutils-revert-plt32-in-branches.diff.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 25 14:12:50 UTC 2020 - Martin Liška <mliska@suse.cz> Wed Mar 25 14:12:50 UTC 2020 - Martin Liška <mliska@suse.cz>

View File

@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
%else %else
BuildRequires: zlib-devel BuildRequires: zlib-devel
%endif %endif
Version: 2.34 Version: 2.35
Release: 0 Release: 0
# #
# RUN_TESTS # RUN_TESTS
@ -84,7 +84,6 @@ Source5: binutils.keyring
Source1: pre_checkin.sh Source1: pre_checkin.sh
Source2: README.First-for.SUSE.packagers Source2: README.First-for.SUSE.packagers
Source3: baselibs.conf Source3: baselibs.conf
Patch1: binutils-2.34-branch.diff.gz
Patch3: binutils-skip-rpaths.patch Patch3: binutils-skip-rpaths.patch
Patch4: s390-biarch.diff Patch4: s390-biarch.diff
Patch5: x86-64-biarch.patch Patch5: x86-64-biarch.patch
@ -99,7 +98,6 @@ Patch34: aarch64-common-pagesize.patch
Patch36: binutils-pr22868.diff Patch36: binutils-pr22868.diff
Patch37: binutils-revert-plt32-in-branches.diff Patch37: binutils-revert-plt32-in-branches.diff
Patch38: binutils-fix-invalid-op-errata.diff Patch38: binutils-fix-invalid-op-errata.diff
Patch40: binutils-pr25593.diff
Patch100: add-ulp-section.diff Patch100: add-ulp-section.diff
Patch90: cross-avr-nesc-as.patch Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch Patch92: cross-avr-omit_section_dynsym.patch
@ -173,7 +171,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{version} %setup -q -n binutils-%{version}
# Patch is outside test_vanilla because it's supposed to be the # Patch is outside test_vanilla because it's supposed to be the
# patch bringing the tarball to the newest upstream version # patch bringing the tarball to the newest upstream version
%patch1 -p1
%if !%{test_vanilla} %if !%{test_vanilla}
%patch3 -p1 %patch3 -p1
%patch4 %patch4
@ -191,8 +188,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch37 -p1 %patch37 -p1
%endif %endif
%patch38 %patch38
%patch40 -p1 %patch100 -p1
%patch100
%if "%{TARGET}" == "avr" %if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90 %patch90

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Fri Jul 24 14:25:31 UTC 2020 - Martin Liška <mliska@suse.cz>
- Update to binutils 2.35:
* The asseembler can now produce DWARF-5 format line number tables.
* Readelf now has a "lint" mode to enable extra checks of the files it is processing.
* Readelf will now display "[...]" when it has to truncate a symbol name.
The old behaviour - of displaying as many characters as possible, up to
the 80 column limit - can be restored by the use of the --silent-truncation
option.
* The linker can now produce a dependency file listing the inputs that it
has processed, much like the -M -MP option supported by the compiler.
- Regenerate add-ulp-section.diff with -p1 due to a fuzzing issue.
- Remove binutils-2.34-branch.diff.gz.
- Regenerate binutils-build-as-needed.diff due to a fuzzing issue.
- Regenerate binutils-fix-invalid-op-errata.diff as one hunk was upstreamed.
- Remove upstreamed patch binutils-pr25593.diff.
- Regenerate unit-at-a-time.patch due to a fuzzing issue.
- Regenerate binutils-revert-plt32-in-branches.diff.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 25 14:12:50 UTC 2020 - Martin Liška <mliska@suse.cz> Wed Mar 25 14:12:50 UTC 2020 - Martin Liška <mliska@suse.cz>

View File

@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
%else %else
BuildRequires: zlib-devel BuildRequires: zlib-devel
%endif %endif
Version: 2.34 Version: 2.35
Release: 0 Release: 0
# #
# RUN_TESTS # RUN_TESTS
@ -84,7 +84,6 @@ Source5: binutils.keyring
Source1: pre_checkin.sh Source1: pre_checkin.sh
Source2: README.First-for.SUSE.packagers Source2: README.First-for.SUSE.packagers
Source3: baselibs.conf Source3: baselibs.conf
Patch1: binutils-2.34-branch.diff.gz
Patch3: binutils-skip-rpaths.patch Patch3: binutils-skip-rpaths.patch
Patch4: s390-biarch.diff Patch4: s390-biarch.diff
Patch5: x86-64-biarch.patch Patch5: x86-64-biarch.patch
@ -99,7 +98,6 @@ Patch34: aarch64-common-pagesize.patch
Patch36: binutils-pr22868.diff Patch36: binutils-pr22868.diff
Patch37: binutils-revert-plt32-in-branches.diff Patch37: binutils-revert-plt32-in-branches.diff
Patch38: binutils-fix-invalid-op-errata.diff Patch38: binutils-fix-invalid-op-errata.diff
Patch40: binutils-pr25593.diff
Patch100: add-ulp-section.diff Patch100: add-ulp-section.diff
Patch90: cross-avr-nesc-as.patch Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch Patch92: cross-avr-omit_section_dynsym.patch
@ -173,7 +171,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{version} %setup -q -n binutils-%{version}
# Patch is outside test_vanilla because it's supposed to be the # Patch is outside test_vanilla because it's supposed to be the
# patch bringing the tarball to the newest upstream version # patch bringing the tarball to the newest upstream version
%patch1 -p1
%if !%{test_vanilla} %if !%{test_vanilla}
%patch3 -p1 %patch3 -p1
%patch4 %patch4
@ -191,8 +188,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch37 -p1 %patch37 -p1
%endif %endif
%patch38 %patch38
%patch40 -p1 %patch100 -p1
%patch100
%if "%{TARGET}" == "avr" %if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90 %patch90

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Fri Jul 24 14:25:31 UTC 2020 - Martin Liška <mliska@suse.cz>
- Update to binutils 2.35:
* The asseembler can now produce DWARF-5 format line number tables.
* Readelf now has a "lint" mode to enable extra checks of the files it is processing.
* Readelf will now display "[...]" when it has to truncate a symbol name.
The old behaviour - of displaying as many characters as possible, up to
the 80 column limit - can be restored by the use of the --silent-truncation
option.
* The linker can now produce a dependency file listing the inputs that it
has processed, much like the -M -MP option supported by the compiler.
- Regenerate add-ulp-section.diff with -p1 due to a fuzzing issue.
- Remove binutils-2.34-branch.diff.gz.
- Regenerate binutils-build-as-needed.diff due to a fuzzing issue.
- Regenerate binutils-fix-invalid-op-errata.diff as one hunk was upstreamed.
- Remove upstreamed patch binutils-pr25593.diff.
- Regenerate unit-at-a-time.patch due to a fuzzing issue.
- Regenerate binutils-revert-plt32-in-branches.diff.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 25 14:12:50 UTC 2020 - Martin Liška <mliska@suse.cz> Wed Mar 25 14:12:50 UTC 2020 - Martin Liška <mliska@suse.cz>

View File

@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
%else %else
BuildRequires: zlib-devel BuildRequires: zlib-devel
%endif %endif
Version: 2.34 Version: 2.35
Release: 0 Release: 0
# #
# RUN_TESTS # RUN_TESTS
@ -84,7 +84,6 @@ Source5: binutils.keyring
Source1: pre_checkin.sh Source1: pre_checkin.sh
Source2: README.First-for.SUSE.packagers Source2: README.First-for.SUSE.packagers
Source3: baselibs.conf Source3: baselibs.conf
Patch1: binutils-2.34-branch.diff.gz
Patch3: binutils-skip-rpaths.patch Patch3: binutils-skip-rpaths.patch
Patch4: s390-biarch.diff Patch4: s390-biarch.diff
Patch5: x86-64-biarch.patch Patch5: x86-64-biarch.patch
@ -99,7 +98,6 @@ Patch34: aarch64-common-pagesize.patch
Patch36: binutils-pr22868.diff Patch36: binutils-pr22868.diff
Patch37: binutils-revert-plt32-in-branches.diff Patch37: binutils-revert-plt32-in-branches.diff
Patch38: binutils-fix-invalid-op-errata.diff Patch38: binutils-fix-invalid-op-errata.diff
Patch40: binutils-pr25593.diff
Patch100: add-ulp-section.diff Patch100: add-ulp-section.diff
Patch90: cross-avr-nesc-as.patch Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch Patch92: cross-avr-omit_section_dynsym.patch
@ -173,7 +171,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{version} %setup -q -n binutils-%{version}
# Patch is outside test_vanilla because it's supposed to be the # Patch is outside test_vanilla because it's supposed to be the
# patch bringing the tarball to the newest upstream version # patch bringing the tarball to the newest upstream version
%patch1 -p1
%if !%{test_vanilla} %if !%{test_vanilla}
%patch3 -p1 %patch3 -p1
%patch4 %patch4
@ -191,8 +188,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch37 -p1 %patch37 -p1
%endif %endif
%patch38 %patch38
%patch40 -p1 %patch100 -p1
%patch100
%if "%{TARGET}" == "avr" %if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90 %patch90

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Fri Jul 24 14:25:31 UTC 2020 - Martin Liška <mliska@suse.cz>
- Update to binutils 2.35:
* The asseembler can now produce DWARF-5 format line number tables.
* Readelf now has a "lint" mode to enable extra checks of the files it is processing.
* Readelf will now display "[...]" when it has to truncate a symbol name.
The old behaviour - of displaying as many characters as possible, up to
the 80 column limit - can be restored by the use of the --silent-truncation
option.
* The linker can now produce a dependency file listing the inputs that it
has processed, much like the -M -MP option supported by the compiler.
- Regenerate add-ulp-section.diff with -p1 due to a fuzzing issue.
- Remove binutils-2.34-branch.diff.gz.
- Regenerate binutils-build-as-needed.diff due to a fuzzing issue.
- Regenerate binutils-fix-invalid-op-errata.diff as one hunk was upstreamed.
- Remove upstreamed patch binutils-pr25593.diff.
- Regenerate unit-at-a-time.patch due to a fuzzing issue.
- Regenerate binutils-revert-plt32-in-branches.diff.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 25 14:12:50 UTC 2020 - Martin Liška <mliska@suse.cz> Wed Mar 25 14:12:50 UTC 2020 - Martin Liška <mliska@suse.cz>

View File

@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
%else %else
BuildRequires: zlib-devel BuildRequires: zlib-devel
%endif %endif
Version: 2.34 Version: 2.35
Release: 0 Release: 0
# #
# RUN_TESTS # RUN_TESTS
@ -84,7 +84,6 @@ Source5: binutils.keyring
Source1: pre_checkin.sh Source1: pre_checkin.sh
Source2: README.First-for.SUSE.packagers Source2: README.First-for.SUSE.packagers
Source3: baselibs.conf Source3: baselibs.conf
Patch1: binutils-2.34-branch.diff.gz
Patch3: binutils-skip-rpaths.patch Patch3: binutils-skip-rpaths.patch
Patch4: s390-biarch.diff Patch4: s390-biarch.diff
Patch5: x86-64-biarch.patch Patch5: x86-64-biarch.patch
@ -99,7 +98,6 @@ Patch34: aarch64-common-pagesize.patch
Patch36: binutils-pr22868.diff Patch36: binutils-pr22868.diff
Patch37: binutils-revert-plt32-in-branches.diff Patch37: binutils-revert-plt32-in-branches.diff
Patch38: binutils-fix-invalid-op-errata.diff Patch38: binutils-fix-invalid-op-errata.diff
Patch40: binutils-pr25593.diff
Patch100: add-ulp-section.diff Patch100: add-ulp-section.diff
Patch90: cross-avr-nesc-as.patch Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch Patch92: cross-avr-omit_section_dynsym.patch
@ -173,7 +171,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{version} %setup -q -n binutils-%{version}
# Patch is outside test_vanilla because it's supposed to be the # Patch is outside test_vanilla because it's supposed to be the
# patch bringing the tarball to the newest upstream version # patch bringing the tarball to the newest upstream version
%patch1 -p1
%if !%{test_vanilla} %if !%{test_vanilla}
%patch3 -p1 %patch3 -p1
%patch4 %patch4
@ -191,8 +188,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch37 -p1 %patch37 -p1
%endif %endif
%patch38 %patch38
%patch40 -p1 %patch100 -p1
%patch100
%if "%{TARGET}" == "avr" %if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90 %patch90

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Fri Jul 24 14:25:31 UTC 2020 - Martin Liška <mliska@suse.cz>
- Update to binutils 2.35:
* The asseembler can now produce DWARF-5 format line number tables.
* Readelf now has a "lint" mode to enable extra checks of the files it is processing.
* Readelf will now display "[...]" when it has to truncate a symbol name.
The old behaviour - of displaying as many characters as possible, up to
the 80 column limit - can be restored by the use of the --silent-truncation
option.
* The linker can now produce a dependency file listing the inputs that it
has processed, much like the -M -MP option supported by the compiler.
- Regenerate add-ulp-section.diff with -p1 due to a fuzzing issue.
- Remove binutils-2.34-branch.diff.gz.
- Regenerate binutils-build-as-needed.diff due to a fuzzing issue.
- Regenerate binutils-fix-invalid-op-errata.diff as one hunk was upstreamed.
- Remove upstreamed patch binutils-pr25593.diff.
- Regenerate unit-at-a-time.patch due to a fuzzing issue.
- Regenerate binutils-revert-plt32-in-branches.diff.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 25 14:12:50 UTC 2020 - Martin Liška <mliska@suse.cz> Wed Mar 25 14:12:50 UTC 2020 - Martin Liška <mliska@suse.cz>

View File

@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
%else %else
BuildRequires: zlib-devel BuildRequires: zlib-devel
%endif %endif
Version: 2.34 Version: 2.35
Release: 0 Release: 0
# #
# RUN_TESTS # RUN_TESTS
@ -84,7 +84,6 @@ Source5: binutils.keyring
Source1: pre_checkin.sh Source1: pre_checkin.sh
Source2: README.First-for.SUSE.packagers Source2: README.First-for.SUSE.packagers
Source3: baselibs.conf Source3: baselibs.conf
Patch1: binutils-2.34-branch.diff.gz
Patch3: binutils-skip-rpaths.patch Patch3: binutils-skip-rpaths.patch
Patch4: s390-biarch.diff Patch4: s390-biarch.diff
Patch5: x86-64-biarch.patch Patch5: x86-64-biarch.patch
@ -99,7 +98,6 @@ Patch34: aarch64-common-pagesize.patch
Patch36: binutils-pr22868.diff Patch36: binutils-pr22868.diff
Patch37: binutils-revert-plt32-in-branches.diff Patch37: binutils-revert-plt32-in-branches.diff
Patch38: binutils-fix-invalid-op-errata.diff Patch38: binutils-fix-invalid-op-errata.diff
Patch40: binutils-pr25593.diff
Patch100: add-ulp-section.diff Patch100: add-ulp-section.diff
Patch90: cross-avr-nesc-as.patch Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch Patch92: cross-avr-omit_section_dynsym.patch
@ -173,7 +171,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{version} %setup -q -n binutils-%{version}
# Patch is outside test_vanilla because it's supposed to be the # Patch is outside test_vanilla because it's supposed to be the
# patch bringing the tarball to the newest upstream version # patch bringing the tarball to the newest upstream version
%patch1 -p1
%if !%{test_vanilla} %if !%{test_vanilla}
%patch3 -p1 %patch3 -p1
%patch4 %patch4
@ -191,8 +188,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch37 -p1 %patch37 -p1
%endif %endif
%patch38 %patch38
%patch40 -p1 %patch100 -p1
%patch100
%if "%{TARGET}" == "avr" %if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90 %patch90

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Fri Jul 24 14:25:31 UTC 2020 - Martin Liška <mliska@suse.cz>
- Update to binutils 2.35:
* The asseembler can now produce DWARF-5 format line number tables.
* Readelf now has a "lint" mode to enable extra checks of the files it is processing.
* Readelf will now display "[...]" when it has to truncate a symbol name.
The old behaviour - of displaying as many characters as possible, up to
the 80 column limit - can be restored by the use of the --silent-truncation
option.
* The linker can now produce a dependency file listing the inputs that it
has processed, much like the -M -MP option supported by the compiler.
- Regenerate add-ulp-section.diff with -p1 due to a fuzzing issue.
- Remove binutils-2.34-branch.diff.gz.
- Regenerate binutils-build-as-needed.diff due to a fuzzing issue.
- Regenerate binutils-fix-invalid-op-errata.diff as one hunk was upstreamed.
- Remove upstreamed patch binutils-pr25593.diff.
- Regenerate unit-at-a-time.patch due to a fuzzing issue.
- Regenerate binutils-revert-plt32-in-branches.diff.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 25 14:12:50 UTC 2020 - Martin Liška <mliska@suse.cz> Wed Mar 25 14:12:50 UTC 2020 - Martin Liška <mliska@suse.cz>

View File

@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
%else %else
BuildRequires: zlib-devel BuildRequires: zlib-devel
%endif %endif
Version: 2.34 Version: 2.35
Release: 0 Release: 0
# #
# RUN_TESTS # RUN_TESTS
@ -84,7 +84,6 @@ Source5: binutils.keyring
Source1: pre_checkin.sh Source1: pre_checkin.sh
Source2: README.First-for.SUSE.packagers Source2: README.First-for.SUSE.packagers
Source3: baselibs.conf Source3: baselibs.conf
Patch1: binutils-2.34-branch.diff.gz
Patch3: binutils-skip-rpaths.patch Patch3: binutils-skip-rpaths.patch
Patch4: s390-biarch.diff Patch4: s390-biarch.diff
Patch5: x86-64-biarch.patch Patch5: x86-64-biarch.patch
@ -99,7 +98,6 @@ Patch34: aarch64-common-pagesize.patch
Patch36: binutils-pr22868.diff Patch36: binutils-pr22868.diff
Patch37: binutils-revert-plt32-in-branches.diff Patch37: binutils-revert-plt32-in-branches.diff
Patch38: binutils-fix-invalid-op-errata.diff Patch38: binutils-fix-invalid-op-errata.diff
Patch40: binutils-pr25593.diff
Patch100: add-ulp-section.diff Patch100: add-ulp-section.diff
Patch90: cross-avr-nesc-as.patch Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch Patch92: cross-avr-omit_section_dynsym.patch
@ -173,7 +171,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{version} %setup -q -n binutils-%{version}
# Patch is outside test_vanilla because it's supposed to be the # Patch is outside test_vanilla because it's supposed to be the
# patch bringing the tarball to the newest upstream version # patch bringing the tarball to the newest upstream version
%patch1 -p1
%if !%{test_vanilla} %if !%{test_vanilla}
%patch3 -p1 %patch3 -p1
%patch4 %patch4
@ -191,8 +188,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch37 -p1 %patch37 -p1
%endif %endif
%patch38 %patch38
%patch40 -p1 %patch100 -p1
%patch100
%if "%{TARGET}" == "avr" %if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90 %patch90

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Fri Jul 24 14:25:31 UTC 2020 - Martin Liška <mliska@suse.cz>
- Update to binutils 2.35:
* The asseembler can now produce DWARF-5 format line number tables.
* Readelf now has a "lint" mode to enable extra checks of the files it is processing.
* Readelf will now display "[...]" when it has to truncate a symbol name.
The old behaviour - of displaying as many characters as possible, up to
the 80 column limit - can be restored by the use of the --silent-truncation
option.
* The linker can now produce a dependency file listing the inputs that it
has processed, much like the -M -MP option supported by the compiler.
- Regenerate add-ulp-section.diff with -p1 due to a fuzzing issue.
- Remove binutils-2.34-branch.diff.gz.
- Regenerate binutils-build-as-needed.diff due to a fuzzing issue.
- Regenerate binutils-fix-invalid-op-errata.diff as one hunk was upstreamed.
- Remove upstreamed patch binutils-pr25593.diff.
- Regenerate unit-at-a-time.patch due to a fuzzing issue.
- Regenerate binutils-revert-plt32-in-branches.diff.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 25 14:12:50 UTC 2020 - Martin Liška <mliska@suse.cz> Wed Mar 25 14:12:50 UTC 2020 - Martin Liška <mliska@suse.cz>

View File

@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
%else %else
BuildRequires: zlib-devel BuildRequires: zlib-devel
%endif %endif
Version: 2.34 Version: 2.35
Release: 0 Release: 0
# #
# RUN_TESTS # RUN_TESTS
@ -84,7 +84,6 @@ Source5: binutils.keyring
Source1: pre_checkin.sh Source1: pre_checkin.sh
Source2: README.First-for.SUSE.packagers Source2: README.First-for.SUSE.packagers
Source3: baselibs.conf Source3: baselibs.conf
Patch1: binutils-2.34-branch.diff.gz
Patch3: binutils-skip-rpaths.patch Patch3: binutils-skip-rpaths.patch
Patch4: s390-biarch.diff Patch4: s390-biarch.diff
Patch5: x86-64-biarch.patch Patch5: x86-64-biarch.patch
@ -99,7 +98,6 @@ Patch34: aarch64-common-pagesize.patch
Patch36: binutils-pr22868.diff Patch36: binutils-pr22868.diff
Patch37: binutils-revert-plt32-in-branches.diff Patch37: binutils-revert-plt32-in-branches.diff
Patch38: binutils-fix-invalid-op-errata.diff Patch38: binutils-fix-invalid-op-errata.diff
Patch40: binutils-pr25593.diff
Patch100: add-ulp-section.diff Patch100: add-ulp-section.diff
Patch90: cross-avr-nesc-as.patch Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch Patch92: cross-avr-omit_section_dynsym.patch
@ -173,7 +171,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{version} %setup -q -n binutils-%{version}
# Patch is outside test_vanilla because it's supposed to be the # Patch is outside test_vanilla because it's supposed to be the
# patch bringing the tarball to the newest upstream version # patch bringing the tarball to the newest upstream version
%patch1 -p1
%if !%{test_vanilla} %if !%{test_vanilla}
%patch3 -p1 %patch3 -p1
%patch4 %patch4
@ -191,8 +188,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch37 -p1 %patch37 -p1
%endif %endif
%patch38 %patch38
%patch40 -p1 %patch100 -p1
%patch100
%if "%{TARGET}" == "avr" %if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90 %patch90

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Fri Jul 24 14:25:31 UTC 2020 - Martin Liška <mliska@suse.cz>
- Update to binutils 2.35:
* The asseembler can now produce DWARF-5 format line number tables.
* Readelf now has a "lint" mode to enable extra checks of the files it is processing.
* Readelf will now display "[...]" when it has to truncate a symbol name.
The old behaviour - of displaying as many characters as possible, up to
the 80 column limit - can be restored by the use of the --silent-truncation
option.
* The linker can now produce a dependency file listing the inputs that it
has processed, much like the -M -MP option supported by the compiler.
- Regenerate add-ulp-section.diff with -p1 due to a fuzzing issue.
- Remove binutils-2.34-branch.diff.gz.
- Regenerate binutils-build-as-needed.diff due to a fuzzing issue.
- Regenerate binutils-fix-invalid-op-errata.diff as one hunk was upstreamed.
- Remove upstreamed patch binutils-pr25593.diff.
- Regenerate unit-at-a-time.patch due to a fuzzing issue.
- Regenerate binutils-revert-plt32-in-branches.diff.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 25 14:12:50 UTC 2020 - Martin Liška <mliska@suse.cz> Wed Mar 25 14:12:50 UTC 2020 - Martin Liška <mliska@suse.cz>

View File

@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
%else %else
BuildRequires: zlib-devel BuildRequires: zlib-devel
%endif %endif
Version: 2.34 Version: 2.35
Release: 0 Release: 0
# #
# RUN_TESTS # RUN_TESTS
@ -84,7 +84,6 @@ Source5: binutils.keyring
Source1: pre_checkin.sh Source1: pre_checkin.sh
Source2: README.First-for.SUSE.packagers Source2: README.First-for.SUSE.packagers
Source3: baselibs.conf Source3: baselibs.conf
Patch1: binutils-2.34-branch.diff.gz
Patch3: binutils-skip-rpaths.patch Patch3: binutils-skip-rpaths.patch
Patch4: s390-biarch.diff Patch4: s390-biarch.diff
Patch5: x86-64-biarch.patch Patch5: x86-64-biarch.patch
@ -99,7 +98,6 @@ Patch34: aarch64-common-pagesize.patch
Patch36: binutils-pr22868.diff Patch36: binutils-pr22868.diff
Patch37: binutils-revert-plt32-in-branches.diff Patch37: binutils-revert-plt32-in-branches.diff
Patch38: binutils-fix-invalid-op-errata.diff Patch38: binutils-fix-invalid-op-errata.diff
Patch40: binutils-pr25593.diff
Patch100: add-ulp-section.diff Patch100: add-ulp-section.diff
Patch90: cross-avr-nesc-as.patch Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch Patch92: cross-avr-omit_section_dynsym.patch
@ -173,7 +171,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{version} %setup -q -n binutils-%{version}
# Patch is outside test_vanilla because it's supposed to be the # Patch is outside test_vanilla because it's supposed to be the
# patch bringing the tarball to the newest upstream version # patch bringing the tarball to the newest upstream version
%patch1 -p1
%if !%{test_vanilla} %if !%{test_vanilla}
%patch3 -p1 %patch3 -p1
%patch4 %patch4
@ -191,8 +188,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch37 -p1 %patch37 -p1
%endif %endif
%patch38 %patch38
%patch40 -p1 %patch100 -p1
%patch100
%if "%{TARGET}" == "avr" %if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90 %patch90

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Fri Jul 24 14:25:31 UTC 2020 - Martin Liška <mliska@suse.cz>
- Update to binutils 2.35:
* The asseembler can now produce DWARF-5 format line number tables.
* Readelf now has a "lint" mode to enable extra checks of the files it is processing.
* Readelf will now display "[...]" when it has to truncate a symbol name.
The old behaviour - of displaying as many characters as possible, up to
the 80 column limit - can be restored by the use of the --silent-truncation
option.
* The linker can now produce a dependency file listing the inputs that it
has processed, much like the -M -MP option supported by the compiler.
- Regenerate add-ulp-section.diff with -p1 due to a fuzzing issue.
- Remove binutils-2.34-branch.diff.gz.
- Regenerate binutils-build-as-needed.diff due to a fuzzing issue.
- Regenerate binutils-fix-invalid-op-errata.diff as one hunk was upstreamed.
- Remove upstreamed patch binutils-pr25593.diff.
- Regenerate unit-at-a-time.patch due to a fuzzing issue.
- Regenerate binutils-revert-plt32-in-branches.diff.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 25 14:12:50 UTC 2020 - Martin Liška <mliska@suse.cz> Wed Mar 25 14:12:50 UTC 2020 - Martin Liška <mliska@suse.cz>

View File

@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
%else %else
BuildRequires: zlib-devel BuildRequires: zlib-devel
%endif %endif
Version: 2.34 Version: 2.35
Release: 0 Release: 0
# #
# RUN_TESTS # RUN_TESTS
@ -84,7 +84,6 @@ Source5: binutils.keyring
Source1: pre_checkin.sh Source1: pre_checkin.sh
Source2: README.First-for.SUSE.packagers Source2: README.First-for.SUSE.packagers
Source3: baselibs.conf Source3: baselibs.conf
Patch1: binutils-2.34-branch.diff.gz
Patch3: binutils-skip-rpaths.patch Patch3: binutils-skip-rpaths.patch
Patch4: s390-biarch.diff Patch4: s390-biarch.diff
Patch5: x86-64-biarch.patch Patch5: x86-64-biarch.patch
@ -99,7 +98,6 @@ Patch34: aarch64-common-pagesize.patch
Patch36: binutils-pr22868.diff Patch36: binutils-pr22868.diff
Patch37: binutils-revert-plt32-in-branches.diff Patch37: binutils-revert-plt32-in-branches.diff
Patch38: binutils-fix-invalid-op-errata.diff Patch38: binutils-fix-invalid-op-errata.diff
Patch40: binutils-pr25593.diff
Patch100: add-ulp-section.diff Patch100: add-ulp-section.diff
Patch90: cross-avr-nesc-as.patch Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch Patch92: cross-avr-omit_section_dynsym.patch
@ -173,7 +171,6 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{version} %setup -q -n binutils-%{version}
# Patch is outside test_vanilla because it's supposed to be the # Patch is outside test_vanilla because it's supposed to be the
# patch bringing the tarball to the newest upstream version # patch bringing the tarball to the newest upstream version
%patch1 -p1
%if !%{test_vanilla} %if !%{test_vanilla}
%patch3 -p1 %patch3 -p1
%patch4 %patch4
@ -191,8 +188,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch37 -p1 %patch37 -p1
%endif %endif
%patch38 %patch38
%patch40 -p1 %patch100 -p1
%patch100
%if "%{TARGET}" == "avr" %if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90 %patch90

View File

@ -1,15 +1,15 @@
Index: ld/testsuite/ld-selective/selective.exp Index: ld/testsuite/ld-selective/selective.exp
=================================================================== ===================================================================
--- ld/testsuite/ld-selective/selective.exp.orig --- ld/testsuite/ld-selective/selective.exp
+++ ld/testsuite/ld-selective/selective.exp +++ ld/testsuite/ld-selective/selective.exp
@@ -47,8 +47,8 @@ set seltests { @@ -46,8 +46,8 @@ set seltests {
{A::foo() B::foo() dropme1() dropme2()} {*-*-*}} {A::foo() B::foo() dropme1() dropme2()} {*-*-*}}
} }
-set cflags "-w -O -ffunction-sections -fdata-sections" -set cflags "-w -O -ffunction-sections -fdata-sections $NOSANTIZE_CFLAGS"
-set cxxflags "-fno-exceptions -fno-rtti" -set cxxflags "-fno-exceptions -fno-rtti $NOSANTIZE_CFLAGS"
+set cflags "-w -O -ffunction-sections -fdata-sections -fno-unit-at-a-time" +set cflags "-w -O -ffunction-sections -fdata-sections -fno-unit-at-a-time $NOSANTIZE_CFLAGS"
+set cxxflags "-fno-exceptions -fno-rtti -fno-unit-at-a-time" +set cxxflags "-fno-exceptions -fno-rtti -fno-unit-at-a-time $NOSANTIZE_CFLAGS"
set ldflags "--gc-sections -Bstatic" set ldflags "--gc-sections -Bstatic"
if [istarget mips*-*] { if [istarget mips*-*] {