- Update binutils-2.26-branch.diff, updates to branch head.

(bnc#970239)
- Disable -mrelax-relocations by default on old products.

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=210
This commit is contained in:
Richard Biener 2016-03-17 13:11:29 +00:00 committed by Git OBS Bridge
parent 37e85f4b2b
commit e860120c9a
43 changed files with 772 additions and 28 deletions

View File

@ -1,8 +1,51 @@
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index e860c3e..0a08b55 100644
index e860c3e..59e49fa 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,101 @@
@@ -1,3 +1,144 @@
+2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
+
+ Backport from master
+ 2016-01-30 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/19539
+ * elf32-i386.c (elf_i386_reloc_type_class): Check relocation
+ against STT_GNU_IFUNC symbol only with dynamic symbols.
+ * elf64-x86-64.c (elf_x86_64_reloc_type_class): Likewise.
+
+2016-03-15 Nick Clifton <nickc@redhat.com>
+
+ Backport from master:
+ 2016-03-09 Leon Winter <winter-gcc@bfw-online.de>
+
+ PR ld/19623
+ * cofflink.c (_bfd_coff_generic_relocate_section): Do not apply
+ relocations against absolute symbols.
+
+2016-03-14 H.J. Lu <hongjiu.lu@intel.com>
+
+ Backport from master
+ 2016-01-28 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR binutils/19523
+ * dwarf2.c (_bfd_dwarf2_slurp_debug_info): Set BFD_DECOMPRESS to
+ decompress debug sections.
+
+2016-03-09 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/19579
+ Backport from master
+ 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
+
+ * elflink.c (_bfd_elf_merge_symbol): Group common symbol checking
+ together.
+
+ 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
+
+ * elflink.c (_bfd_elf_merge_symbol): Treat common symbol in
+ executable as definition if the new definition comes from a
+ shared library.
+
+2016-03-09 Nick Clifton <nickc@redhat.com>
+ Alan Modra <amodra@gmail.com>
+
@ -104,7 +147,7 @@ index e860c3e..0a08b55 100644
2016-01-25 Tristan Gingold <gingold@adacore.com>
* version.m4: Bump version to 2.26
@@ -119,7 +217,7 @@
@@ -119,7 +260,7 @@
* configure: Regenerate.
2015-11-11 Alan Modra <amodra@gmail.com>
@ -113,7 +156,7 @@ index e860c3e..0a08b55 100644
* elf32-ppc.c (ppc_elf_howto_raw): Add R_PPC_REL16DX_HA.
(ppc_elf_reloc_type_lookup): Handle R_PPC_REL16DX_HA.
@@ -179,8 +277,8 @@
@@ -179,8 +320,8 @@
2015-10-29 Catherine Moore <clm@codesourcery.com>
@ -124,7 +167,7 @@ index e860c3e..0a08b55 100644
2015-10-29 Ed Schouten <ed@nuxi.nl>
@@ -232,7 +330,7 @@
@@ -232,7 +373,7 @@
* bfd-in2.h: Regenerate.
2015-10-27 Laurent Alfonsi <laurent.alfonsi@st.com>
@ -133,7 +176,7 @@ index e860c3e..0a08b55 100644
* bfd-in2.h: Regenerate.
* bfd-in.h (bfd_arm_stm32l4xx_fix): New enum. Specify how
@@ -1225,115 +1323,115 @@
@@ -1225,115 +1366,115 @@
2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
@ -356,7 +399,7 @@ index e860c3e..0a08b55 100644
2015-08-18 Alan Modra <amodra@gmail.com>
@@ -1387,7 +1485,7 @@
@@ -1387,7 +1528,7 @@
2015-08-11 Jiong Wang <jiong.wang@arm.com>
@ -365,7 +408,7 @@ index e860c3e..0a08b55 100644
Loose the check for symbol from ABS section.
(elfNN_aarch64_size_stubs): Pass sym_sec.
@@ -1688,10 +1786,10 @@
@@ -1688,10 +1829,10 @@
2015-07-10 H.J. Lu <hongjiu.lu@intel.com>
@ -380,7 +423,7 @@ index e860c3e..0a08b55 100644
2015-07-09 Catherine Moore <clm@codesourcery.com>
@@ -2004,7 +2102,6 @@
@@ -2004,7 +2145,6 @@
Bernd Schmidt <bernds@codesourcery.com>
Paul Brook <paul@codesourcery.com>
@ -388,7 +431,7 @@ index e860c3e..0a08b55 100644
* bfd-in2.h: Regenerated.
* elf-bfd.h (DWARF2_EH_HDR, COMPACT_EH_HDR): Define.
(COMPACT_EH_CANT_UNWIND_OPCODE): Define.
@@ -2913,7 +3010,7 @@
@@ -2913,7 +3053,7 @@
2015-03-18 H.J. Lu <hongjiu.lu@intel.com>
* compress.c (bfd_compress_section_contents): Make it static.
@ -397,7 +440,7 @@ index e860c3e..0a08b55 100644
2015-03-18 Eric Youngdale <eyoungdale@ptc.com>
@@ -3062,8 +3159,8 @@
@@ -3062,8 +3202,8 @@
2015-02-27 Marcus Shawcroft <marcus.shawcroft@arm.com>
@ -408,7 +451,7 @@ index e860c3e..0a08b55 100644
2015-02-26 Marcus Shawcroft <marcus.shawcroft@arm.com>
@@ -3534,7 +3631,7 @@
@@ -3534,7 +3674,7 @@
is weak or pointer_equality_needed is FALSE.
* elf32-arm.c (elf32_arm_finish_dynamic_symbol): Improve
@ -635,6 +678,23 @@ index 4e6420a..9d7c845 100644
/* Now let bfd_perform_relocation finish everything up. */
return bfd_reloc_continue;
diff --git a/bfd/cofflink.c b/bfd/cofflink.c
index 8d98fec..88eb2b3 100644
--- a/bfd/cofflink.c
+++ b/bfd/cofflink.c
@@ -2977,6 +2977,12 @@ _bfd_coff_generic_relocate_section (bfd *output_bfd,
else
{
sec = sections[symndx];
+
+ /* PR 19623: Relocations against symbols in
+ the absolute sections should ignored. */
+ if (bfd_is_abs_section (sec))
+ continue;
+
val = (sec->output_section->vma
+ sec->output_offset
+ sym->n_value);
diff --git a/bfd/configure b/bfd/configure
index cf3c746..7411c6d 100755
--- a/bfd/configure
@ -721,6 +781,22 @@ index cf3c746..7411c6d 100755
configured by $0, generated by GNU Autoconf 2.64,
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
diff --git a/bfd/dwarf2.c b/bfd/dwarf2.c
index 176f018..64cfe9b 100644
--- a/bfd/dwarf2.c
+++ b/bfd/dwarf2.c
@@ -3706,8 +3706,10 @@ _bfd_dwarf2_slurp_debug_info (bfd *abfd, bfd *debug_bfd,
fail more quickly. */
return FALSE;
+ /* Set BFD_DECOMPRESS to decompress debug sections. */
if ((debug_bfd = bfd_openr (debug_filename, NULL)) == NULL
- || ! bfd_check_format (debug_bfd, bfd_object)
+ || !(debug_bfd->flags |= BFD_DECOMPRESS,
+ bfd_check_format (debug_bfd, bfd_object))
|| (msec = find_debug_info (debug_bfd,
debug_sections, NULL)) == NULL
|| !bfd_generic_link_read_symbols (debug_bfd))
diff --git a/bfd/elf32-hppa.c b/bfd/elf32-hppa.c
index ad40914..3fc1f57 100644
--- a/bfd/elf32-hppa.c
@ -749,7 +825,7 @@ index ad40914..3fc1f57 100644
}
diff --git a/bfd/elf32-i386.c b/bfd/elf32-i386.c
index 300839b..5d07c77 100644
index 300839b..0b76153 100644
--- a/bfd/elf32-i386.c
+++ b/bfd/elf32-i386.c
@@ -2490,12 +2490,14 @@ elf_i386_allocate_dynrelocs (struct elf_link_hash_entry *h, void *inf)
@ -782,6 +858,42 @@ index 300839b..5d07c77 100644
else
/* Use GOTPLT entry. */
relocation = (h->plt.offset / plt_entry_size - 1 + 3) * 4;
@@ -5355,19 +5359,23 @@ elf_i386_reloc_type_class (const struct bfd_link_info *info,
bfd *abfd = info->output_bfd;
const struct elf_backend_data *bed = get_elf_backend_data (abfd);
struct elf_link_hash_table *htab = elf_hash_table (info);
- unsigned long r_symndx = ELF32_R_SYM (rela->r_info);
- Elf_Internal_Sym sym;
-
- if (htab->dynsym == NULL
- || !bed->s->swap_symbol_in (abfd,
- (htab->dynsym->contents
- + r_symndx * sizeof (Elf32_External_Sym)),
- 0, &sym))
- abort ();
- /* Check relocation against STT_GNU_IFUNC symbol. */
- if (ELF32_ST_TYPE (sym.st_info) == STT_GNU_IFUNC)
- return reloc_class_ifunc;
+ if (htab->dynsym != NULL
+ && htab->dynsym->contents != NULL)
+ {
+ /* Check relocation against STT_GNU_IFUNC symbol if there are
+ dynamic symbols. */
+ unsigned long r_symndx = ELF32_R_SYM (rela->r_info);
+ Elf_Internal_Sym sym;
+ if (!bed->s->swap_symbol_in (abfd,
+ (htab->dynsym->contents
+ + r_symndx * sizeof (Elf32_External_Sym)),
+ 0, &sym))
+ abort ();
+
+ if (ELF32_ST_TYPE (sym.st_info) == STT_GNU_IFUNC)
+ return reloc_class_ifunc;
+ }
switch (ELF32_R_TYPE (rela->r_info))
{
diff --git a/bfd/elf64-hppa.c b/bfd/elf64-hppa.c
index 3b628b4..aa9cfd2 100644
--- a/bfd/elf64-hppa.c
@ -940,7 +1052,7 @@ index 162862c..ffe23e6 100644
}
diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c
index 63957bb..bddcfe1 100644
index 63957bb..8c98cea 100644
--- a/bfd/elf64-x86-64.c
+++ b/bfd/elf64-x86-64.c
@@ -2723,12 +2723,14 @@ elf_x86_64_allocate_dynrelocs (struct elf_link_hash_entry *h, void * inf)
@ -1017,8 +1129,44 @@ index 63957bb..bddcfe1 100644
> 0xffffffff)
continue;
}
@@ -5728,19 +5738,23 @@ elf_x86_64_reloc_type_class (const struct bfd_link_info *info,
bfd *abfd = info->output_bfd;
const struct elf_backend_data *bed = get_elf_backend_data (abfd);
struct elf_x86_64_link_hash_table *htab = elf_x86_64_hash_table (info);
- unsigned long r_symndx = htab->r_sym (rela->r_info);
- Elf_Internal_Sym sym;
-
- if (htab->elf.dynsym == NULL
- || !bed->s->swap_symbol_in (abfd,
- (htab->elf.dynsym->contents
- + r_symndx * bed->s->sizeof_sym),
- 0, &sym))
- abort ();
- /* Check relocation against STT_GNU_IFUNC symbol. */
- if (ELF_ST_TYPE (sym.st_info) == STT_GNU_IFUNC)
- return reloc_class_ifunc;
+ if (htab->elf.dynsym != NULL
+ && htab->elf.dynsym->contents != NULL)
+ {
+ /* Check relocation against STT_GNU_IFUNC symbol if there are
+ dynamic symbols. */
+ unsigned long r_symndx = htab->r_sym (rela->r_info);
+ Elf_Internal_Sym sym;
+ if (!bed->s->swap_symbol_in (abfd,
+ (htab->elf.dynsym->contents
+ + r_symndx * bed->s->sizeof_sym),
+ 0, &sym))
+ abort ();
+
+ if (ELF_ST_TYPE (sym.st_info) == STT_GNU_IFUNC)
+ return reloc_class_ifunc;
+ }
switch ((int) ELF32_R_TYPE (rela->r_info))
{
diff --git a/bfd/elflink.c b/bfd/elflink.c
index 3d37bb4..8fcaadd 100644
index 3d37bb4..842e85b 100644
--- a/bfd/elflink.c
+++ b/bfd/elflink.c
@@ -555,6 +555,19 @@ bfd_elf_record_link_assignment (bfd *output_bfd,
@ -1041,7 +1189,26 @@ index 3d37bb4..8fcaadd 100644
switch (h->root.type)
{
case bfd_link_hash_defined:
@@ -4562,8 +4575,10 @@ error_free_dyn:
@@ -1472,13 +1485,16 @@ _bfd_elf_merge_symbol (bfd *abfd,
represent variables; this can cause confusion in principle, but
any such confusion would seem to indicate an erroneous program or
shared library. We also permit a common symbol in a regular
- object to override a weak symbol in a shared object. */
+ object to override a weak symbol in a shared object. A common
+ symbol in executable also overrides a symbol in a shared object. */
if (newdyn
&& newdef
&& (olddef
|| (h->root.type == bfd_link_hash_common
- && (newweak || newfunc))))
+ && (newweak
+ || newfunc
+ || (!olddyn && bfd_link_executable (info))))))
{
*override = TRUE;
newdef = FALSE;
@@ -4562,8 +4578,10 @@ error_free_dyn:
break;
}
@ -1109,12 +1276,12 @@ index 59c51cc..d83dc1b 100644
value = _bfd_aarch64_elf_resolve_relocation (bfd_r_type, place, value,
signed_addend, weak_undef_p);
diff --git a/bfd/version.h b/bfd/version.h
index ed51cc9..1f2c665 100644
index ed51cc9..d8528f6 100644
--- a/bfd/version.h
+++ b/bfd/version.h
@@ -1,4 +1,4 @@
-#define BFD_VERSION_DATE 20160125
+#define BFD_VERSION_DATE 20160309
+#define BFD_VERSION_DATE 20160317
#define BFD_VERSION @bfd_version@
#define BFD_VERSION_STRING @bfd_version_package@ @bfd_version_string@
#define REPORT_BUGS_TO @report_bugs_to@
@ -1126,10 +1293,23 @@ index 9fb81c5..607d328 100644
-m4_define([BFD_VERSION], [2.26])
+m4_define([BFD_VERSION], [2.26.0])
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 2250b30..b04c745 100644
index 2250b30..0a8dcd8 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,21 @@
@@ -1,3 +1,34 @@
+2016-03-14 H.J. Lu <hongjiu.lu@intel.com>
+
+ Backport from master
+ 2016-01-28 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR binutils/19523
+ * Makefile.am (check-DEJAGNU): Pass CC and CC_FOR_BUILD to
+ runtest.
+ * Makefile.in: Regenerated.
+ * testsuite/binutils-all/compress.exp (test_gnu_debuglink): New
+ proc.
+ Run test_gnu_debuglink for native ELF build.
+
+2016-03-09 Nick Clifton <nickc@redhat.com>
+
+ PR binutils/19775
@ -1151,7 +1331,7 @@ index 2250b30..b04c745 100644
2016-01-25 Tristan Gingold <gingold@adacore.com>
* configure: Regenerate.
@@ -238,12 +256,12 @@
@@ -238,12 +269,12 @@
2015-07-10 H.J. Lu <hongjiu.lu@intel.com>
@ -1170,6 +1350,30 @@ index 2250b30..b04c745 100644
2015-07-10 H.J. Lu <hongjiu.lu@intel.com>
diff --git a/binutils/Makefile.am b/binutils/Makefile.am
index 1735022..4f618ce 100644
--- a/binutils/Makefile.am
+++ b/binutils/Makefile.am
@@ -192,6 +192,7 @@ check-DEJAGNU: site.exp
EXPECT=$(EXPECT); export EXPECT; \
runtest=$(RUNTEST); \
if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
+ CC="$(CC)" CC_FOR_BUILD="$(CC_FOR_BUILD)" \
CC_FOR_TARGET="$(CC_FOR_TARGET)" CFLAGS_FOR_TARGET="$(CFLAGS)" \
$$runtest --tool $(DEJATOOL) --srcdir $${srcdir}/testsuite \
$(RUNTESTFLAGS); \
diff --git a/binutils/Makefile.in b/binutils/Makefile.in
index 5642925..eddd617 100644
--- a/binutils/Makefile.in
+++ b/binutils/Makefile.in
@@ -1290,6 +1290,7 @@ check-DEJAGNU: site.exp
EXPECT=$(EXPECT); export EXPECT; \
runtest=$(RUNTEST); \
if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
+ CC="$(CC)" CC_FOR_BUILD="$(CC_FOR_BUILD)" \
CC_FOR_TARGET="$(CC_FOR_TARGET)" CFLAGS_FOR_TARGET="$(CFLAGS)" \
$$runtest --tool $(DEJATOOL) --srcdir $${srcdir}/testsuite \
$(RUNTESTFLAGS); \
diff --git a/binutils/configure b/binutils/configure
index 6e1f21e..d4f3e1e 100755
--- a/binutils/configure
@ -1353,6 +1557,109 @@ index 4c33874..e971350 100644
if { [is_elf_format]
&& ![istarget "*-*-hpux*"]
diff --git a/binutils/testsuite/binutils-all/compress.exp b/binutils/testsuite/binutils-all/compress.exp
index 4dac503..ac24812 100644
--- a/binutils/testsuite/binutils-all/compress.exp
+++ b/binutils/testsuite/binutils-all/compress.exp
@@ -667,4 +667,97 @@ if { ([istarget "x86_64-*-elf*"]
set testname "Convert x32 object to x86-64 (3)"
convert_test "$testname" "--nocompress-debug-sections --x32" "-O elf64-x86-64 --compress-debug-sections=zlib-gnu"
- }
+}
+
+proc test_gnu_debuglink {} {
+ global srcdir
+ global subdir
+ global env
+ global CC_FOR_TARGET
+ global STRIP
+ global OBJCOPY
+ global OBJDUMP
+
+ set test "gnu-debuglink"
+ if {![info exists CC_FOR_TARGET]} {
+ set CC_FOR_TARGET $env(CC)
+ }
+ if { $CC_FOR_TARGET == "" } {
+ unsupported $test
+ return
+ }
+
+ if { [target_compile $srcdir/$subdir/testprog.c tmpdir/testprog exectuable debug] != "" } {
+ fail "$test (build)"
+ return
+ }
+ set got [remote_exec host "$OBJDUMP -S tmpdir/testprog" "" "/dev/null" "tmpdir/testprog.dump"]
+ if { [lindex $got 0] != 0 || ![string match "" [lindex $got 1]] } then {
+ fail "$test (objcopy dump)"
+ return
+ }
+ if { [binutils_run $STRIP "--strip-debug --remove-section=.comment --remove-section=.note tmpdir/testprog -o tmpdir/testprog.strip"] != "" } {
+ fail "$test (strip)"
+ return
+ }
+ if { [binutils_run $OBJCOPY "--only-keep-debug --decompress-debug-sections tmpdir/testprog tmpdir/testprog.decompress"] != "" } {
+ fail "$test (objcopy decompress)"
+ return
+ }
+ if { [binutils_run $OBJCOPY "--only-keep-debug --compress-debug-sections tmpdir/testprog tmpdir/testprog.compress"] != "" } {
+ fail "$test (objcopy compress)"
+ return
+ }
+ if { [binutils_run $OBJCOPY "--add-gnu-debuglink=tmpdir/testprog.decompress tmpdir/testprog.strip tmpdir/testprog"] != "" } {
+ fail "$test (objcopy link decompress)"
+ return
+ }
+ set got [remote_exec host "$OBJDUMP -S tmpdir/testprog" "" "/dev/null" "tmpdir/testprog.decompress.dump"]
+ if { [lindex $got 0] != 0 || ![string match "" [lindex $got 1]] } then {
+ fail "$test (objcopy dump decompress)"
+ return
+ }
+ if { [binutils_run $OBJCOPY "--add-gnu-debuglink=tmpdir/testprog.compress tmpdir/testprog.strip tmpdir/testprog"] != "" } {
+ fail "$test (objcopy link compress)"
+ return
+ }
+ set got [remote_exec host "$OBJDUMP -S tmpdir/testprog" "" "/dev/null" "tmpdir/testprog.compress.dump"]
+ if { [lindex $got 0] != 0 || ![string match "" [lindex $got 1]] } then {
+ fail "$test (objcopy dump compress)"
+ return
+ }
+
+ set src1 tmpdir/testprog.dump
+ set src2 tmpdir/testprog.compress.dump
+ send_log "cmp ${src1} ${src2}\n"
+ verbose "cmp ${src1} ${src2}"
+ set status [remote_exec build cmp "${src1} ${src2}"]
+ set exec_output [lindex $status 1]
+ set exec_output [prune_warnings $exec_output]
+ if ![string match "" $exec_output] then {
+ send_log "$exec_output\n"
+ verbose "$exec_output" 1
+ fail "$test (objdump 1)"
+ } else {
+ pass "$test (objdump 1)"
+ }
+
+ set src1 tmpdir/testprog.decompress.dump
+ set src2 tmpdir/testprog.compress.dump
+ send_log "cmp ${src1} ${src2}\n"
+ verbose "cmp ${src1} ${src2}"
+ set status [remote_exec build cmp "${src1} ${src2}"]
+ set exec_output [lindex $status 1]
+ set exec_output [prune_warnings $exec_output]
+ if ![string match "" $exec_output] then {
+ send_log "$exec_output\n"
+ verbose "$exec_output" 1
+ fail "$test (objdump 2)"
+ } else {
+ pass "$test (objdump 2)"
+ }
+}
+
+if {[isnative] && [is_elf_format]} then {
+ test_gnu_debuglink
+}
diff --git a/binutils/testsuite/binutils-all/empty b/binutils/testsuite/binutils-all/empty
new file mode 100644
index 0000000..e69de29
@ -3725,10 +4032,42 @@ index 0aee194..87d4653 100644
2005-07-27 Jan Beulich <jbeulich@novell.com>
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 75fd708..1ee2dfa 100644
index 75fd708..7cd6599 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,147 @@
@@ -1,3 +1,179 @@
+2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
+
+ Backport from master
+ 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
+
+ * testsuite/ld-elf/pr19539.d: Skip cris*-*-* targets.
+
+ 2016-01-30 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/19539
+ * testsuite/ld-elf/pr19539.d: New file.
+ * testsuite/ld-elf/pr19539.s: Likewise.
+ * testsuite/ld-elf/pr19539.t: Likewise.
+
+2016-03-14 H.J. Lu <hongjiu.lu@intel.com>
+
+ Backport from master
+ 2015-12-07 Jan Beulich <jbeulich@suse.com>
+
+ * ld-elf/gabiend.rt: Accept any alignment.
+ * ld-elf/gabinormal.rt: Likewise.
+
+2016-03-09 H.J. Lu <hongjiu.lu@intel.com>
+
+ Backport from master
+ 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/19579
+ * testsuite/ld-elf/pr19579a.c: New file.
+ * testsuite/ld-elf/pr19579b.c: Likewise.
+ * testsuite/ld-elf/shared.exp: Run PR ld/19579 test.
+
+2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
+
+ Backport from master
@ -3876,7 +4215,7 @@ index 75fd708..1ee2dfa 100644
2016-01-25 Tristan Gingold <gingold@adacore.com>
* configure: Regenerate.
@@ -89,7 +233,7 @@
@@ -89,7 +265,7 @@
decide placement.
2015-10-27 Laurent Alfonsi <laurent.alfonsi@st.com>
@ -3885,7 +4224,7 @@ index 75fd708..1ee2dfa 100644
* ld.texinfo: Add description of the STM32L4xx erratum
workaround.
@@ -129,7 +273,7 @@
@@ -129,7 +305,7 @@
2015-10-22 H.J. Lu <hongjiu.lu@intel.com>
@ -3894,7 +4233,7 @@ index 75fd708..1ee2dfa 100644
* emulparams/call_nop.sh: New file.
* emulparams/elf_i386_be.sh: Source
${srcdir}/emulparams/call_nop.sh.
@@ -165,7 +309,7 @@
@@ -165,7 +341,7 @@
2015-10-15 Simon Dardis <Simon.Dardis@imgtec.com>
@ -3903,7 +4242,7 @@ index 75fd708..1ee2dfa 100644
(exp_fold_tree_1): Here. Cope with ternary operator in
assignments. Use new helper.
@@ -308,7 +452,7 @@
@@ -308,7 +484,7 @@
2015-09-09 James Bowman <james.bowman@ftdichip.com>
* scripttempl/ft32.sc: default linker script RAM and
@ -3912,7 +4251,7 @@ index 75fd708..1ee2dfa 100644
2015-09-09 Nick Clifton <nickc@redhat.com>
@@ -359,58 +503,58 @@
@@ -359,58 +535,58 @@
2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
@ -4662,6 +5001,26 @@ index 86a070c..0000000
-bar:
- ret
-
diff --git a/ld/testsuite/ld-elf/gabiend.rt b/ld/testsuite/ld-elf/gabiend.rt
index 23bc36c..75b5ba7 100644
--- a/ld/testsuite/ld-elf/gabiend.rt
+++ b/ld/testsuite/ld-elf/gabiend.rt
@@ -1,4 +1,4 @@
#...
+\[[0-9a-f]+\]: .*COMPRESSED
- +ZLIB, [0-9a-f]+, 1
+ +ZLIB, [0-9a-f]+, [1-9][0-9]*
#pass
diff --git a/ld/testsuite/ld-elf/gabinormal.rt b/ld/testsuite/ld-elf/gabinormal.rt
index 23bc36c..75b5ba7 100644
--- a/ld/testsuite/ld-elf/gabinormal.rt
+++ b/ld/testsuite/ld-elf/gabinormal.rt
@@ -1,4 +1,4 @@
#...
+\[[0-9a-f]+\]: .*COMPRESSED
- +ZLIB, [0-9a-f]+, 1
+ +ZLIB, [0-9a-f]+, [1-9][0-9]*
#pass
diff --git a/ld/testsuite/ld-elf/indirect.exp b/ld/testsuite/ld-elf/indirect.exp
index e8ac1ae..25845a0 100644
--- a/ld/testsuite/ld-elf/indirect.exp
@ -4711,6 +5070,36 @@ index e8ac1ae..25845a0 100644
}
run_ld_link_exec_tests [] $run_tests
diff --git a/ld/testsuite/ld-elf/pr19539.d b/ld/testsuite/ld-elf/pr19539.d
new file mode 100644
index 0000000..87c2b1b
--- /dev/null
+++ b/ld/testsuite/ld-elf/pr19539.d
@@ -0,0 +1,9 @@
+#source: start.s
+#source: pr19539.s
+#ld: -pie -T pr19539.t
+#readelf : --dyn-syms --wide
+#target: *-*-linux* *-*-gnu* *-*-solaris*
+#notarget: cris*-*-*
+
+Symbol table '\.dynsym' contains [0-9]+ entries:
+#pass
diff --git a/ld/testsuite/ld-elf/pr19539.s b/ld/testsuite/ld-elf/pr19539.s
new file mode 100644
index 0000000..0f55d3f
--- /dev/null
+++ b/ld/testsuite/ld-elf/pr19539.s
@@ -0,0 +1,2 @@
+ .section .prefix,"a",%progbits
+ .dc.a foo
diff --git a/ld/testsuite/ld-elf/pr19539.t b/ld/testsuite/ld-elf/pr19539.t
new file mode 100644
index 0000000..b6b48e7
--- /dev/null
+++ b/ld/testsuite/ld-elf/pr19539.t
@@ -0,0 +1 @@
+HIDDEN (foo = .);
diff --git a/ld/testsuite/ld-elf/pr19553.map b/ld/testsuite/ld-elf/pr19553.map
new file mode 100644
index 0000000..f2c03ac
@ -4800,6 +5189,47 @@ index 0000000..2b4cf0b
+++ b/ld/testsuite/ld-elf/pr19553d.out
@@ -0,0 +1 @@
+pr19553d
diff --git a/ld/testsuite/ld-elf/pr19579a.c b/ld/testsuite/ld-elf/pr19579a.c
new file mode 100644
index 0000000..e4a6eb1
--- /dev/null
+++ b/ld/testsuite/ld-elf/pr19579a.c
@@ -0,0 +1,15 @@
+#include <stdio.h>
+
+int foo[1];
+int bar[2];
+
+extern int *foo_p (void);
+extern int *bar_p (void);
+
+int
+main ()
+{
+ if (foo[0] == 0 && foo == foo_p () && bar[0] == 0 && bar == bar_p ())
+ printf ("PASS\n");
+ return 0;
+}
diff --git a/ld/testsuite/ld-elf/pr19579b.c b/ld/testsuite/ld-elf/pr19579b.c
new file mode 100644
index 0000000..d906545
--- /dev/null
+++ b/ld/testsuite/ld-elf/pr19579b.c
@@ -0,0 +1,14 @@
+int foo[2];
+int bar[2] = { -1, -1 };
+
+int *
+foo_p (void)
+{
+ return foo;
+}
+
+int *
+bar_p (void)
+{
+ return bar;
+}
diff --git a/ld/testsuite/ld-elf/pr19698.d b/ld/testsuite/ld-elf/pr19698.d
new file mode 100644
index 0000000..a39f67a
@ -4844,6 +5274,47 @@ index 0000000..09d9125
+VERS.1 {
+};
+}
diff --git a/ld/testsuite/ld-elf/shared.exp b/ld/testsuite/ld-elf/shared.exp
index 731eef3..b8c12cb 100644
--- a/ld/testsuite/ld-elf/shared.exp
+++ b/ld/testsuite/ld-elf/shared.exp
@@ -524,6 +524,21 @@ if { [istarget *-*-linux*]
{} \
"libpr2404b.a" \
] \
+ [list \
+ "Build pr19579a.o" \
+ "" "-fPIE" \
+ {pr19579a.c} \
+ {} \
+ "libpr19579a.a" \
+ ] \
+ [list \
+ "Build libpr19579.so" \
+ "-shared" \
+ "-fPIC" \
+ {pr19579b.c} \
+ {} \
+ "libpr19579.so" \
+ ] \
]
run_ld_link_exec_tests [] [list \
[list \
@@ -580,5 +595,14 @@ if { [istarget *-*-linux*]
"pass.out" \
"-O2 -fPIC -I../bfd" \
] \
+ [list \
+ "Run pr19579" \
+ "-pie -z text tmpdir/pr19579a.o tmpdir/libpr19579.so" \
+ "" \
+ {dummy.c} \
+ "pr19579" \
+ "pass.out" \
+ "-fPIE" \
+ ] \
]
}
diff --git a/ld/testsuite/ld-i386/branch1.d b/ld/testsuite/ld-i386/branch1.d
index a078f1d..81b069e 100644
--- a/ld/testsuite/ld-i386/branch1.d

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Mar 17 12:51:55 UTC 2016 - rguenther@suse.com
- Update binutils-2.26-branch.diff, updates to branch head.
(bnc#970239)
- Disable -mrelax-relocations by default on old products.
-------------------------------------------------------------------
Wed Mar 9 11:11:48 UTC 2016 - rguenther@suse.com

View File

@ -246,6 +246,9 @@ cd build-dir
%ifarch %gold_archs
--enable-gold \
--enable-threads \
%endif
%if %{suse_version} <= 1320
--disable-x86-relax-relocations \
%endif
--enable-shared
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
@ -301,6 +304,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
--with-bugurl=http://bugs.opensuse.org/ \
--with-pkgversion="GNU Binutils; %{DIST}" \
--disable-nls \
%if %{suse_version} <= 1320
--disable-x86-relax-relocations \
%endif
--build=%{HOST} --target=%{TARGET_OS} \
%if "%{TARGET}" == "spu"
--with-sysroot=/usr/spu \

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Mar 17 12:51:55 UTC 2016 - rguenther@suse.com
- Update binutils-2.26-branch.diff, updates to branch head.
(bnc#970239)
- Disable -mrelax-relocations by default on old products.
-------------------------------------------------------------------
Wed Mar 9 11:11:48 UTC 2016 - rguenther@suse.com

View File

@ -249,6 +249,9 @@ cd build-dir
%ifarch %gold_archs
--enable-gold \
--enable-threads \
%endif
%if %{suse_version} <= 1320
--disable-x86-relax-relocations \
%endif
--enable-shared
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
@ -304,6 +307,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
--with-bugurl=http://bugs.opensuse.org/ \
--with-pkgversion="GNU Binutils; %{DIST}" \
--disable-nls \
%if %{suse_version} <= 1320
--disable-x86-relax-relocations \
%endif
--build=%{HOST} --target=%{TARGET_OS} \
%if "%{TARGET}" == "spu"
--with-sysroot=/usr/spu \

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Mar 17 12:51:55 UTC 2016 - rguenther@suse.com
- Update binutils-2.26-branch.diff, updates to branch head.
(bnc#970239)
- Disable -mrelax-relocations by default on old products.
-------------------------------------------------------------------
Wed Mar 9 11:11:48 UTC 2016 - rguenther@suse.com

View File

@ -249,6 +249,9 @@ cd build-dir
%ifarch %gold_archs
--enable-gold \
--enable-threads \
%endif
%if %{suse_version} <= 1320
--disable-x86-relax-relocations \
%endif
--enable-shared
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
@ -304,6 +307,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
--with-bugurl=http://bugs.opensuse.org/ \
--with-pkgversion="GNU Binutils; %{DIST}" \
--disable-nls \
%if %{suse_version} <= 1320
--disable-x86-relax-relocations \
%endif
--build=%{HOST} --target=%{TARGET_OS} \
%if "%{TARGET}" == "spu"
--with-sysroot=/usr/spu \

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Mar 17 12:51:55 UTC 2016 - rguenther@suse.com
- Update binutils-2.26-branch.diff, updates to branch head.
(bnc#970239)
- Disable -mrelax-relocations by default on old products.
-------------------------------------------------------------------
Wed Mar 9 11:11:48 UTC 2016 - rguenther@suse.com

View File

@ -249,6 +249,9 @@ cd build-dir
%ifarch %gold_archs
--enable-gold \
--enable-threads \
%endif
%if %{suse_version} <= 1320
--disable-x86-relax-relocations \
%endif
--enable-shared
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
@ -304,6 +307,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
--with-bugurl=http://bugs.opensuse.org/ \
--with-pkgversion="GNU Binutils; %{DIST}" \
--disable-nls \
%if %{suse_version} <= 1320
--disable-x86-relax-relocations \
%endif
--build=%{HOST} --target=%{TARGET_OS} \
%if "%{TARGET}" == "spu"
--with-sysroot=/usr/spu \

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Mar 17 12:51:55 UTC 2016 - rguenther@suse.com
- Update binutils-2.26-branch.diff, updates to branch head.
(bnc#970239)
- Disable -mrelax-relocations by default on old products.
-------------------------------------------------------------------
Wed Mar 9 11:11:48 UTC 2016 - rguenther@suse.com

View File

@ -249,6 +249,9 @@ cd build-dir
%ifarch %gold_archs
--enable-gold \
--enable-threads \
%endif
%if %{suse_version} <= 1320
--disable-x86-relax-relocations \
%endif
--enable-shared
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
@ -304,6 +307,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
--with-bugurl=http://bugs.opensuse.org/ \
--with-pkgversion="GNU Binutils; %{DIST}" \
--disable-nls \
%if %{suse_version} <= 1320
--disable-x86-relax-relocations \
%endif
--build=%{HOST} --target=%{TARGET_OS} \
%if "%{TARGET}" == "spu"
--with-sysroot=/usr/spu \

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Mar 17 12:51:55 UTC 2016 - rguenther@suse.com
- Update binutils-2.26-branch.diff, updates to branch head.
(bnc#970239)
- Disable -mrelax-relocations by default on old products.
-------------------------------------------------------------------
Wed Mar 9 11:11:48 UTC 2016 - rguenther@suse.com

View File

@ -249,6 +249,9 @@ cd build-dir
%ifarch %gold_archs
--enable-gold \
--enable-threads \
%endif
%if %{suse_version} <= 1320
--disable-x86-relax-relocations \
%endif
--enable-shared
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
@ -304,6 +307,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
--with-bugurl=http://bugs.opensuse.org/ \
--with-pkgversion="GNU Binutils; %{DIST}" \
--disable-nls \
%if %{suse_version} <= 1320
--disable-x86-relax-relocations \
%endif
--build=%{HOST} --target=%{TARGET_OS} \
%if "%{TARGET}" == "spu"
--with-sysroot=/usr/spu \

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Mar 17 12:51:55 UTC 2016 - rguenther@suse.com
- Update binutils-2.26-branch.diff, updates to branch head.
(bnc#970239)
- Disable -mrelax-relocations by default on old products.
-------------------------------------------------------------------
Wed Mar 9 11:11:48 UTC 2016 - rguenther@suse.com

View File

@ -249,6 +249,9 @@ cd build-dir
%ifarch %gold_archs
--enable-gold \
--enable-threads \
%endif
%if %{suse_version} <= 1320
--disable-x86-relax-relocations \
%endif
--enable-shared
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
@ -304,6 +307,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
--with-bugurl=http://bugs.opensuse.org/ \
--with-pkgversion="GNU Binutils; %{DIST}" \
--disable-nls \
%if %{suse_version} <= 1320
--disable-x86-relax-relocations \
%endif
--build=%{HOST} --target=%{TARGET_OS} \
%if "%{TARGET}" == "spu"
--with-sysroot=/usr/spu \

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Mar 17 12:51:55 UTC 2016 - rguenther@suse.com
- Update binutils-2.26-branch.diff, updates to branch head.
(bnc#970239)
- Disable -mrelax-relocations by default on old products.
-------------------------------------------------------------------
Wed Mar 9 11:11:48 UTC 2016 - rguenther@suse.com

View File

@ -249,6 +249,9 @@ cd build-dir
%ifarch %gold_archs
--enable-gold \
--enable-threads \
%endif
%if %{suse_version} <= 1320
--disable-x86-relax-relocations \
%endif
--enable-shared
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
@ -304,6 +307,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
--with-bugurl=http://bugs.opensuse.org/ \
--with-pkgversion="GNU Binutils; %{DIST}" \
--disable-nls \
%if %{suse_version} <= 1320
--disable-x86-relax-relocations \
%endif
--build=%{HOST} --target=%{TARGET_OS} \
%if "%{TARGET}" == "spu"
--with-sysroot=/usr/spu \

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Mar 17 12:51:55 UTC 2016 - rguenther@suse.com
- Update binutils-2.26-branch.diff, updates to branch head.
(bnc#970239)
- Disable -mrelax-relocations by default on old products.
-------------------------------------------------------------------
Wed Mar 9 11:11:48 UTC 2016 - rguenther@suse.com

View File

@ -249,6 +249,9 @@ cd build-dir
%ifarch %gold_archs
--enable-gold \
--enable-threads \
%endif
%if %{suse_version} <= 1320
--disable-x86-relax-relocations \
%endif
--enable-shared
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
@ -304,6 +307,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
--with-bugurl=http://bugs.opensuse.org/ \
--with-pkgversion="GNU Binutils; %{DIST}" \
--disable-nls \
%if %{suse_version} <= 1320
--disable-x86-relax-relocations \
%endif
--build=%{HOST} --target=%{TARGET_OS} \
%if "%{TARGET}" == "spu"
--with-sysroot=/usr/spu \

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Mar 17 12:51:55 UTC 2016 - rguenther@suse.com
- Update binutils-2.26-branch.diff, updates to branch head.
(bnc#970239)
- Disable -mrelax-relocations by default on old products.
-------------------------------------------------------------------
Wed Mar 9 11:11:48 UTC 2016 - rguenther@suse.com

View File

@ -249,6 +249,9 @@ cd build-dir
%ifarch %gold_archs
--enable-gold \
--enable-threads \
%endif
%if %{suse_version} <= 1320
--disable-x86-relax-relocations \
%endif
--enable-shared
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
@ -304,6 +307,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
--with-bugurl=http://bugs.opensuse.org/ \
--with-pkgversion="GNU Binutils; %{DIST}" \
--disable-nls \
%if %{suse_version} <= 1320
--disable-x86-relax-relocations \
%endif
--build=%{HOST} --target=%{TARGET_OS} \
%if "%{TARGET}" == "spu"
--with-sysroot=/usr/spu \

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Mar 17 12:51:55 UTC 2016 - rguenther@suse.com
- Update binutils-2.26-branch.diff, updates to branch head.
(bnc#970239)
- Disable -mrelax-relocations by default on old products.
-------------------------------------------------------------------
Wed Mar 9 11:11:48 UTC 2016 - rguenther@suse.com

View File

@ -249,6 +249,9 @@ cd build-dir
%ifarch %gold_archs
--enable-gold \
--enable-threads \
%endif
%if %{suse_version} <= 1320
--disable-x86-relax-relocations \
%endif
--enable-shared
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
@ -304,6 +307,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
--with-bugurl=http://bugs.opensuse.org/ \
--with-pkgversion="GNU Binutils; %{DIST}" \
--disable-nls \
%if %{suse_version} <= 1320
--disable-x86-relax-relocations \
%endif
--build=%{HOST} --target=%{TARGET_OS} \
%if "%{TARGET}" == "spu"
--with-sysroot=/usr/spu \

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Mar 17 12:51:55 UTC 2016 - rguenther@suse.com
- Update binutils-2.26-branch.diff, updates to branch head.
(bnc#970239)
- Disable -mrelax-relocations by default on old products.
-------------------------------------------------------------------
Wed Mar 9 11:11:48 UTC 2016 - rguenther@suse.com

View File

@ -249,6 +249,9 @@ cd build-dir
%ifarch %gold_archs
--enable-gold \
--enable-threads \
%endif
%if %{suse_version} <= 1320
--disable-x86-relax-relocations \
%endif
--enable-shared
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
@ -304,6 +307,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
--with-bugurl=http://bugs.opensuse.org/ \
--with-pkgversion="GNU Binutils; %{DIST}" \
--disable-nls \
%if %{suse_version} <= 1320
--disable-x86-relax-relocations \
%endif
--build=%{HOST} --target=%{TARGET_OS} \
%if "%{TARGET}" == "spu"
--with-sysroot=/usr/spu \

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Mar 17 12:51:55 UTC 2016 - rguenther@suse.com
- Update binutils-2.26-branch.diff, updates to branch head.
(bnc#970239)
- Disable -mrelax-relocations by default on old products.
-------------------------------------------------------------------
Wed Mar 9 11:11:48 UTC 2016 - rguenther@suse.com

View File

@ -249,6 +249,9 @@ cd build-dir
%ifarch %gold_archs
--enable-gold \
--enable-threads \
%endif
%if %{suse_version} <= 1320
--disable-x86-relax-relocations \
%endif
--enable-shared
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
@ -304,6 +307,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
--with-bugurl=http://bugs.opensuse.org/ \
--with-pkgversion="GNU Binutils; %{DIST}" \
--disable-nls \
%if %{suse_version} <= 1320
--disable-x86-relax-relocations \
%endif
--build=%{HOST} --target=%{TARGET_OS} \
%if "%{TARGET}" == "spu"
--with-sysroot=/usr/spu \

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Mar 17 12:51:55 UTC 2016 - rguenther@suse.com
- Update binutils-2.26-branch.diff, updates to branch head.
(bnc#970239)
- Disable -mrelax-relocations by default on old products.
-------------------------------------------------------------------
Wed Mar 9 11:11:48 UTC 2016 - rguenther@suse.com

View File

@ -249,6 +249,9 @@ cd build-dir
%ifarch %gold_archs
--enable-gold \
--enable-threads \
%endif
%if %{suse_version} <= 1320
--disable-x86-relax-relocations \
%endif
--enable-shared
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
@ -304,6 +307,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
--with-bugurl=http://bugs.opensuse.org/ \
--with-pkgversion="GNU Binutils; %{DIST}" \
--disable-nls \
%if %{suse_version} <= 1320
--disable-x86-relax-relocations \
%endif
--build=%{HOST} --target=%{TARGET_OS} \
%if "%{TARGET}" == "spu"
--with-sysroot=/usr/spu \

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Mar 17 12:51:55 UTC 2016 - rguenther@suse.com
- Update binutils-2.26-branch.diff, updates to branch head.
(bnc#970239)
- Disable -mrelax-relocations by default on old products.
-------------------------------------------------------------------
Wed Mar 9 11:11:48 UTC 2016 - rguenther@suse.com

View File

@ -249,6 +249,9 @@ cd build-dir
%ifarch %gold_archs
--enable-gold \
--enable-threads \
%endif
%if %{suse_version} <= 1320
--disable-x86-relax-relocations \
%endif
--enable-shared
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
@ -304,6 +307,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
--with-bugurl=http://bugs.opensuse.org/ \
--with-pkgversion="GNU Binutils; %{DIST}" \
--disable-nls \
%if %{suse_version} <= 1320
--disable-x86-relax-relocations \
%endif
--build=%{HOST} --target=%{TARGET_OS} \
%if "%{TARGET}" == "spu"
--with-sysroot=/usr/spu \

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Mar 17 12:51:55 UTC 2016 - rguenther@suse.com
- Update binutils-2.26-branch.diff, updates to branch head.
(bnc#970239)
- Disable -mrelax-relocations by default on old products.
-------------------------------------------------------------------
Wed Mar 9 11:11:48 UTC 2016 - rguenther@suse.com

View File

@ -249,6 +249,9 @@ cd build-dir
%ifarch %gold_archs
--enable-gold \
--enable-threads \
%endif
%if %{suse_version} <= 1320
--disable-x86-relax-relocations \
%endif
--enable-shared
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
@ -304,6 +307,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
--with-bugurl=http://bugs.opensuse.org/ \
--with-pkgversion="GNU Binutils; %{DIST}" \
--disable-nls \
%if %{suse_version} <= 1320
--disable-x86-relax-relocations \
%endif
--build=%{HOST} --target=%{TARGET_OS} \
%if "%{TARGET}" == "spu"
--with-sysroot=/usr/spu \

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Mar 17 12:51:55 UTC 2016 - rguenther@suse.com
- Update binutils-2.26-branch.diff, updates to branch head.
(bnc#970239)
- Disable -mrelax-relocations by default on old products.
-------------------------------------------------------------------
Wed Mar 9 11:11:48 UTC 2016 - rguenther@suse.com

View File

@ -249,6 +249,9 @@ cd build-dir
%ifarch %gold_archs
--enable-gold \
--enable-threads \
%endif
%if %{suse_version} <= 1320
--disable-x86-relax-relocations \
%endif
--enable-shared
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
@ -304,6 +307,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
--with-bugurl=http://bugs.opensuse.org/ \
--with-pkgversion="GNU Binutils; %{DIST}" \
--disable-nls \
%if %{suse_version} <= 1320
--disable-x86-relax-relocations \
%endif
--build=%{HOST} --target=%{TARGET_OS} \
%if "%{TARGET}" == "spu"
--with-sysroot=/usr/spu \

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Mar 17 12:51:55 UTC 2016 - rguenther@suse.com
- Update binutils-2.26-branch.diff, updates to branch head.
(bnc#970239)
- Disable -mrelax-relocations by default on old products.
-------------------------------------------------------------------
Wed Mar 9 11:11:48 UTC 2016 - rguenther@suse.com

View File

@ -249,6 +249,9 @@ cd build-dir
%ifarch %gold_archs
--enable-gold \
--enable-threads \
%endif
%if %{suse_version} <= 1320
--disable-x86-relax-relocations \
%endif
--enable-shared
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
@ -304,6 +307,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
--with-bugurl=http://bugs.opensuse.org/ \
--with-pkgversion="GNU Binutils; %{DIST}" \
--disable-nls \
%if %{suse_version} <= 1320
--disable-x86-relax-relocations \
%endif
--build=%{HOST} --target=%{TARGET_OS} \
%if "%{TARGET}" == "spu"
--with-sysroot=/usr/spu \

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Mar 17 12:51:55 UTC 2016 - rguenther@suse.com
- Update binutils-2.26-branch.diff, updates to branch head.
(bnc#970239)
- Disable -mrelax-relocations by default on old products.
-------------------------------------------------------------------
Wed Mar 9 11:11:48 UTC 2016 - rguenther@suse.com

View File

@ -249,6 +249,9 @@ cd build-dir
%ifarch %gold_archs
--enable-gold \
--enable-threads \
%endif
%if %{suse_version} <= 1320
--disable-x86-relax-relocations \
%endif
--enable-shared
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
@ -304,6 +307,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
--with-bugurl=http://bugs.opensuse.org/ \
--with-pkgversion="GNU Binutils; %{DIST}" \
--disable-nls \
%if %{suse_version} <= 1320
--disable-x86-relax-relocations \
%endif
--build=%{HOST} --target=%{TARGET_OS} \
%if "%{TARGET}" == "spu"
--with-sysroot=/usr/spu \

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Mar 17 12:51:55 UTC 2016 - rguenther@suse.com
- Update binutils-2.26-branch.diff, updates to branch head.
(bnc#970239)
- Disable -mrelax-relocations by default on old products.
-------------------------------------------------------------------
Wed Mar 9 11:11:48 UTC 2016 - rguenther@suse.com

View File

@ -249,6 +249,9 @@ cd build-dir
%ifarch %gold_archs
--enable-gold \
--enable-threads \
%endif
%if %{suse_version} <= 1320
--disable-x86-relax-relocations \
%endif
--enable-shared
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
@ -304,6 +307,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
--with-bugurl=http://bugs.opensuse.org/ \
--with-pkgversion="GNU Binutils; %{DIST}" \
--disable-nls \
%if %{suse_version} <= 1320
--disable-x86-relax-relocations \
%endif
--build=%{HOST} --target=%{TARGET_OS} \
%if "%{TARGET}" == "spu"
--with-sysroot=/usr/spu \

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Mar 17 12:51:55 UTC 2016 - rguenther@suse.com
- Update binutils-2.26-branch.diff, updates to branch head.
(bnc#970239)
- Disable -mrelax-relocations by default on old products.
-------------------------------------------------------------------
Wed Mar 9 11:11:48 UTC 2016 - rguenther@suse.com

View File

@ -249,6 +249,9 @@ cd build-dir
%ifarch %gold_archs
--enable-gold \
--enable-threads \
%endif
%if %{suse_version} <= 1320
--disable-x86-relax-relocations \
%endif
--enable-shared
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
@ -304,6 +307,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
--with-bugurl=http://bugs.opensuse.org/ \
--with-pkgversion="GNU Binutils; %{DIST}" \
--disable-nls \
%if %{suse_version} <= 1320
--disable-x86-relax-relocations \
%endif
--build=%{HOST} --target=%{TARGET_OS} \
%if "%{TARGET}" == "spu"
--with-sysroot=/usr/spu \