forked from pool/binutils
Accepting request 583547 from devel:gcc
This should fix the LLVM testsuite fail in Staging:A. - Add binutils-pr22868.diff to fix testsuite fails in LLVM. - Update to binutils 2.30 * Add --debug-dump=links option to readelf and --dwarf=links option to objdump which displays the contents of any .gnu_debuglink or .gnu_debugaltlink sections. Add a --debug-dump=follow-links option to readelf and a --dwarf=follow-links option to objdump which causes indirect links into separate debug info files to be followed when dumping other DWARF sections. * Add support for loaction views in DWARF debug line information. * Add -z separate-code to generate separate code PT_LOAD segment. * Add "-z undefs" command line option as the inverse of the "-z defs" option. * Add -z globalaudit command line option to force audit libraries to be run for every dynamic object loaded by an executable - provided that the loader supports this functionality. * Tighten linker script grammar around file name specifiers to prevent the use of SORT_BY_ALIGNMENT and SORT_BY_INIT_PRIORITY on filenames. These would previously be accepted but had no effect. * The EXCLUDE_FILE directive can now be placed within any SORT_* directive within input section lists. - binutils-2.30-branch.diff: 2.30 branch @4cd0043413 - riscv-wrap-relax.patch: Fix linker relaxation with --wrap - Remove use-hashtype-both-by-default.diff, use --enable-default-hash-style=both instead - Remove binutils-2.29-branch.diff, s390x-8fe09d7.diff - Use riscv64-suse-linux as target for cross-riscv64-binutils - Add binutils-pr22868.diff to fix testsuite fails in LLVM. - Update to binutils 2.30 OBS-URL: https://build.opensuse.org/request/show/583547 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=124
This commit is contained in:
commit
1c22f3ff31
@ -1,407 +0,0 @@
|
||||
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
|
||||
index 417ed273ab..8f8117dcb4 100644
|
||||
--- a/bfd/ChangeLog
|
||||
+++ b/bfd/ChangeLog
|
||||
@@ -1,3 +1,37 @@
|
||||
+2017-09-28 Alan Modra <amodra@gmail.com>
|
||||
+
|
||||
+ PR 22220
|
||||
+ * elflink.c (_bfd_elf_merge_symbol): Set non_ir_ref_dynamic in
|
||||
+ a case where plugin_notice isn't called.
|
||||
+
|
||||
+2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
|
||||
+
|
||||
+ PR ld/22199
|
||||
+ * elf64-x86-64.c (elf_x86_64_finish_dynamic_symbol): Don't pass
|
||||
+ output_bfd to info->callbacks->minfo.
|
||||
+
|
||||
+2017-09-22 H.J. Lu <hongjiu.lu@intel.com>
|
||||
+
|
||||
+ PR binutils/22170
|
||||
+ * elf32-i386.c (elf_i386_get_synthetic_symtab): Guard against
|
||||
+ corrupted PLT.
|
||||
+ * elf64-x86-64.c (elf_x86_64_get_synthetic_symtab): Likewise.
|
||||
+
|
||||
+2017-09-22 H.J. Lu <hongjiu.lu@intel.com>
|
||||
+
|
||||
+ PR binutils/22163
|
||||
+ * elf32-i386.c (elf_i386_get_synthetic_symtab): Also return -1
|
||||
+ if bfd_canonicalize_dynamic_reloc returns 0.
|
||||
+ * elf64-x86-64.c (elf_x86_64_get_synthetic_symtab): Likewise.
|
||||
+
|
||||
+2017-09-21 Nick Clifton <nickc@redhat.com>
|
||||
+
|
||||
+ * development.sh (development): Revert previous delta.
|
||||
+
|
||||
+2017-09-20 Nick Clifton <nickc@redhat.com>
|
||||
+
|
||||
+ * development.sh (development): Set to false.
|
||||
+
|
||||
2017-09-19 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
2.29.1 Release
|
||||
diff --git a/bfd/elf32-i386.c b/bfd/elf32-i386.c
|
||||
index 5c1c3ff790..ba50c93f33 100644
|
||||
--- a/bfd/elf32-i386.c
|
||||
+++ b/bfd/elf32-i386.c
|
||||
@@ -6342,7 +6342,7 @@ elf_i386_get_synthetic_symtab (bfd *abfd,
|
||||
|
||||
dynrelcount = bfd_canonicalize_dynamic_reloc (abfd, dynrelbuf,
|
||||
dynsyms);
|
||||
- if (dynrelcount < 0)
|
||||
+ if (dynrelcount <= 0)
|
||||
return -1;
|
||||
|
||||
/* Sort the relocs by address. */
|
||||
@@ -6616,6 +6616,10 @@ bad_return:
|
||||
size += sizeof ("+0x") - 1 + 8;
|
||||
n++;
|
||||
s++;
|
||||
+ /* There should be only one entry in PLT for a given
|
||||
+ symbol. Set howto to NULL after processing a PLT
|
||||
+ entry to guard against corrupted PLT. */
|
||||
+ p->howto = NULL;
|
||||
}
|
||||
offset += plt_entry_size;
|
||||
}
|
||||
diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c
|
||||
index 80dd791d25..1f6dfb89bf 100644
|
||||
--- a/bfd/elf64-x86-64.c
|
||||
+++ b/bfd/elf64-x86-64.c
|
||||
@@ -6133,7 +6133,6 @@ elf_x86_64_finish_dynamic_symbol (bfd *output_bfd,
|
||||
if (SYMBOL_REFERENCES_LOCAL (info, h))
|
||||
{
|
||||
info->callbacks->minfo (_("Local IFUNC function `%s' in %B\n"),
|
||||
- output_bfd,
|
||||
h->root.root.string,
|
||||
h->root.u.def.section->owner);
|
||||
|
||||
@@ -6717,7 +6716,7 @@ elf_x86_64_get_synthetic_symtab (bfd *abfd,
|
||||
|
||||
dynrelcount = bfd_canonicalize_dynamic_reloc (abfd, dynrelbuf,
|
||||
dynsyms);
|
||||
- if (dynrelcount < 0)
|
||||
+ if (dynrelcount <= 0)
|
||||
return -1;
|
||||
|
||||
/* Sort the relocs by address. */
|
||||
@@ -6970,6 +6969,10 @@ bad_return:
|
||||
size += sizeof ("+0x") - 1 + 8 + 8 * ABI_64_P (abfd);
|
||||
n++;
|
||||
s++;
|
||||
+ /* There should be only one entry in PLT for a given
|
||||
+ symbol. Set howto to NULL after processing a PLT
|
||||
+ entry to guard against corrupted PLT. */
|
||||
+ p->howto = NULL;
|
||||
}
|
||||
offset += plt_entry_size;
|
||||
}
|
||||
diff --git a/bfd/elflink.c b/bfd/elflink.c
|
||||
index 02713a5956..ee3cc6b8b4 100644
|
||||
--- a/bfd/elflink.c
|
||||
+++ b/bfd/elflink.c
|
||||
@@ -1234,6 +1234,16 @@ _bfd_elf_merge_symbol (bfd *abfd,
|
||||
olddyn = (oldsec->symbol->flags & BSF_DYNAMIC) != 0;
|
||||
}
|
||||
|
||||
+ /* Handle a case where plugin_notice won't be called and thus won't
|
||||
+ set the non_ir_ref flags on the first pass over symbols. */
|
||||
+ if (oldbfd != NULL
|
||||
+ && (oldbfd->flags & BFD_PLUGIN) != (abfd->flags & BFD_PLUGIN)
|
||||
+ && newdyn != olddyn)
|
||||
+ {
|
||||
+ h->root.non_ir_ref_dynamic = TRUE;
|
||||
+ hi->root.non_ir_ref_dynamic = TRUE;
|
||||
+ }
|
||||
+
|
||||
/* NEWDEF and OLDDEF indicate whether the new or old symbol,
|
||||
respectively, appear to be a definition rather than reference. */
|
||||
|
||||
diff --git a/bfd/version.h b/bfd/version.h
|
||||
index 3405e424f4..bc0fbb7648 100644
|
||||
--- a/bfd/version.h
|
||||
+++ b/bfd/version.h
|
||||
@@ -1,4 +1,4 @@
|
||||
-#define BFD_VERSION_DATE 20170919
|
||||
+#define BFD_VERSION_DATE 20170928
|
||||
#define BFD_VERSION @bfd_version@
|
||||
#define BFD_VERSION_STRING @bfd_version_package@ @bfd_version_string@
|
||||
#define REPORT_BUGS_TO @report_bugs_to@
|
||||
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
|
||||
index 84d3d7c1c4..ffb34fbb78 100644
|
||||
--- a/binutils/ChangeLog
|
||||
+++ b/binutils/ChangeLog
|
||||
@@ -1,3 +1,7 @@
|
||||
+2017-09-21 Maciej W. Rozycki <macro@imgtec.com>
|
||||
+
|
||||
+ * readelf.c (get_machine_flags) <E_MIPS_MACH_5900>: New case.
|
||||
+
|
||||
2017-09-15 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
2.29.1 Release
|
||||
diff --git a/binutils/readelf.c b/binutils/readelf.c
|
||||
index fb16df8e2a..41f128ed23 100644
|
||||
--- a/binutils/readelf.c
|
||||
+++ b/binutils/readelf.c
|
||||
@@ -3325,6 +3325,7 @@ get_machine_flags (unsigned e_flags, unsigned e_machine)
|
||||
case E_MIPS_MACH_4650: strcat (buf, ", 4650"); break;
|
||||
case E_MIPS_MACH_5400: strcat (buf, ", 5400"); break;
|
||||
case E_MIPS_MACH_5500: strcat (buf, ", 5500"); break;
|
||||
+ case E_MIPS_MACH_5900: strcat (buf, ", 5900"); break;
|
||||
case E_MIPS_MACH_SB1: strcat (buf, ", sb1"); break;
|
||||
case E_MIPS_MACH_9000: strcat (buf, ", 9000"); break;
|
||||
case E_MIPS_MACH_LS2E: strcat (buf, ", loongson-2e"); break;
|
||||
diff --git a/gas/ChangeLog b/gas/ChangeLog
|
||||
index 42a676f598..9aa3dbca3a 100644
|
||||
--- a/gas/ChangeLog
|
||||
+++ b/gas/ChangeLog
|
||||
@@ -1,3 +1,8 @@
|
||||
+2017-09-21 Maciej W. Rozycki <macro@imgtec.com>
|
||||
+
|
||||
+ * testsuite/gas/mips/elf_mach_5900.d: New test.
|
||||
+ * testsuite/gas/mips/mips.exp: Run it.
|
||||
+
|
||||
2017-09-15 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
2.29.1 Release
|
||||
diff --git a/gas/testsuite/gas/mips/elf_mach_5900.d b/gas/testsuite/gas/mips/elf_mach_5900.d
|
||||
new file mode 100644
|
||||
index 0000000000..1df668e7e5
|
||||
--- /dev/null
|
||||
+++ b/gas/testsuite/gas/mips/elf_mach_5900.d
|
||||
@@ -0,0 +1,22 @@
|
||||
+#readelf: -Ah
|
||||
+#name: ELF R5900 markings
|
||||
+#as: -32 -march=r5900
|
||||
+#source: empty.s
|
||||
+
|
||||
+ELF Header:
|
||||
+#...
|
||||
+ Flags: +0x..92...., .*5900.*
|
||||
+#...
|
||||
+
|
||||
+MIPS ABI Flags Version: 0
|
||||
+
|
||||
+ISA: MIPS3
|
||||
+GPR size: 32
|
||||
+CPR1 size: 32
|
||||
+CPR2 size: 0
|
||||
+FP ABI: .*
|
||||
+ISA Extension: Toshiba R5900
|
||||
+ASEs:
|
||||
+ None
|
||||
+FLAGS 1: .*
|
||||
+FLAGS 2: .*
|
||||
diff --git a/gas/testsuite/gas/mips/mips.exp b/gas/testsuite/gas/mips/mips.exp
|
||||
index c71dca4351..25221ae2af 100644
|
||||
--- a/gas/testsuite/gas/mips/mips.exp
|
||||
+++ b/gas/testsuite/gas/mips/mips.exp
|
||||
@@ -1149,6 +1149,7 @@ if { [istarget mips*-*-vxworks*] } {
|
||||
run_dump_test "elf_ase_micromips-2"
|
||||
|
||||
# Verify that machine markings are handled properly.
|
||||
+ run_dump_test "elf_mach_5900"
|
||||
run_dump_test "elf_mach_interaptiv-mr2"
|
||||
|
||||
run_dump_test "mips-gp32-fp32-pic"
|
||||
diff --git a/gold/ChangeLog b/gold/ChangeLog
|
||||
index 6071f8977a..32c0e21f54 100644
|
||||
--- a/gold/ChangeLog
|
||||
+++ b/gold/ChangeLog
|
||||
@@ -1,3 +1,19 @@
|
||||
+2017-09-28 Alan Modra <amodra@gmail.com>
|
||||
+
|
||||
+ * powerpc.cc (Target_powerpc<64,*>::powerpc_info): Set
|
||||
+ is_default_stack_executable false.
|
||||
+
|
||||
+2017-08-03 James Clarke <jrtc27@jrtc27.com>
|
||||
+
|
||||
+ * options.h (General_options): Set a non-NULL second help string
|
||||
+ argument for relax to allow --no-relax.
|
||||
+
|
||||
+2017-09-20 Alan Modra <amodra@gmail.com>
|
||||
+
|
||||
+ * powerpc.cc (Target_powerpc::Branch_info::make_stub): Put
|
||||
+ stubs for ppc32 non-branch relocs in first stub table.
|
||||
+ (Target_powerpc::Relocate::relocate): Resolve similarly.
|
||||
+
|
||||
2017-09-19 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* options.h (stub-group-multi): Default to true. Add
|
||||
diff --git a/gold/options.h b/gold/options.h
|
||||
index 576b2a3c53..4a802cf41f 100644
|
||||
--- a/gold/options.h
|
||||
+++ b/gold/options.h
|
||||
@@ -1164,7 +1164,8 @@ class General_options
|
||||
N_("Generate relocatable output"), NULL);
|
||||
|
||||
DEFINE_bool(relax, options::TWO_DASHES, '\0', false,
|
||||
- N_("Relax branches on certain targets"), NULL);
|
||||
+ N_("Relax branches on certain targets"),
|
||||
+ N_("Do not relax branches"));
|
||||
|
||||
DEFINE_string(retain_symbols_file, options::TWO_DASHES, '\0', NULL,
|
||||
N_("keep only symbols listed in this file"), N_("FILE"));
|
||||
diff --git a/gold/powerpc.cc b/gold/powerpc.cc
|
||||
index 629da4f8a1..22590c1e43 100644
|
||||
--- a/gold/powerpc.cc
|
||||
+++ b/gold/powerpc.cc
|
||||
@@ -1618,7 +1618,7 @@ Target::Target_info Target_powerpc<64, true>::powerpc_info =
|
||||
false, // has_make_symbol
|
||||
true, // has_resolve
|
||||
false, // has_code_fill
|
||||
- true, // is_default_stack_executable
|
||||
+ false, // is_default_stack_executable
|
||||
false, // can_icf_inline_merge_sections
|
||||
'\0', // wrap_char
|
||||
"/usr/lib/ld.so.1", // dynamic_linker
|
||||
@@ -1646,7 +1646,7 @@ Target::Target_info Target_powerpc<64, false>::powerpc_info =
|
||||
false, // has_make_symbol
|
||||
true, // has_resolve
|
||||
false, // has_code_fill
|
||||
- true, // is_default_stack_executable
|
||||
+ false, // is_default_stack_executable
|
||||
false, // can_icf_inline_merge_sections
|
||||
'\0', // wrap_char
|
||||
"/usr/lib/ld.so.1", // dynamic_linker
|
||||
@@ -3065,11 +3065,17 @@ Target_powerpc<size, big_endian>::Branch_info::make_stub(
|
||||
target->glink_section()->add_global_entry(gsym);
|
||||
else
|
||||
{
|
||||
- if (stub_table == NULL)
|
||||
+ if (stub_table == NULL
|
||||
+ && !(size == 32
|
||||
+ && gsym != NULL
|
||||
+ && !parameters->options().output_is_position_independent()
|
||||
+ && !is_branch_reloc(this->r_type_)))
|
||||
stub_table = this->object_->stub_table(this->shndx_);
|
||||
if (stub_table == NULL)
|
||||
{
|
||||
- // This is a ref from a data section to an ifunc symbol.
|
||||
+ // This is a ref from a data section to an ifunc symbol,
|
||||
+ // or a non-branch reloc for which we always want to use
|
||||
+ // one set of stubs for resolving function addresses.
|
||||
stub_table = ifunc_stub_table;
|
||||
}
|
||||
gold_assert(stub_table != NULL);
|
||||
@@ -8052,11 +8058,20 @@ Target_powerpc<size, big_endian>::Relocate::relocate(
|
||||
}
|
||||
else
|
||||
{
|
||||
- Stub_table<size, big_endian>* stub_table
|
||||
- = object->stub_table(relinfo->data_shndx);
|
||||
+ Stub_table<size, big_endian>* stub_table = NULL;
|
||||
+ if (target->stub_tables().size() == 1)
|
||||
+ stub_table = target->stub_tables()[0];
|
||||
+ if (stub_table == NULL
|
||||
+ && !(size == 32
|
||||
+ && gsym != NULL
|
||||
+ && !parameters->options().output_is_position_independent()
|
||||
+ && !is_branch_reloc(r_type)))
|
||||
+ stub_table = object->stub_table(relinfo->data_shndx);
|
||||
if (stub_table == NULL)
|
||||
{
|
||||
- // This is a ref from a data section to an ifunc symbol.
|
||||
+ // This is a ref from a data section to an ifunc symbol,
|
||||
+ // or a non-branch reloc for which we always want to use
|
||||
+ // one set of stubs for resolving function addresses.
|
||||
if (target->stub_tables().size() != 0)
|
||||
stub_table = target->stub_tables()[0];
|
||||
}
|
||||
diff --git a/ld/ChangeLog b/ld/ChangeLog
|
||||
index 73e05b618e..ba67e20bf9 100644
|
||||
--- a/ld/ChangeLog
|
||||
+++ b/ld/ChangeLog
|
||||
@@ -1,3 +1,11 @@
|
||||
+2017-09-28 Alan Modra <amodra@gmail.com>
|
||||
+
|
||||
+ * testsuite/ld-plugin/pr22220.h,
|
||||
+ * testsuite/ld-plugin/pr22220lib.cc,
|
||||
+ * testsuite/ld-plugin/pr22220lib.ver,
|
||||
+ * testsuite/ld-plugin/pr22220main.cc: New test.
|
||||
+ * testsuite/ld-plugin/lto.exp: Run it.
|
||||
+
|
||||
2017-09-19 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
2.29.1 Release
|
||||
diff --git a/ld/testsuite/ld-plugin/lto.exp b/ld/testsuite/ld-plugin/lto.exp
|
||||
index f0bc345f2c..6b7ad536fb 100644
|
||||
--- a/ld/testsuite/ld-plugin/lto.exp
|
||||
+++ b/ld/testsuite/ld-plugin/lto.exp
|
||||
@@ -295,6 +295,12 @@ set lto_link_elf_tests [list \
|
||||
[list "Build pr21382.so" \
|
||||
"-shared" "-O2 -fpic" \
|
||||
{pr21382b.c} {} "pr21382.so" "c"] \
|
||||
+ [list {Build pr22220lib.so} \
|
||||
+ {-shared -Wl,--version-script=pr22220lib.ver} {-fPIC} \
|
||||
+ {pr22220lib.cc} {} {pr22220lib.so} {c++}] \
|
||||
+ [list {Build pr22220main.o} \
|
||||
+ {} {-flto} \
|
||||
+ {pr22220main.cc} {} {} {c++}] \
|
||||
]
|
||||
|
||||
# Check final symbols in executables.
|
||||
@@ -396,6 +402,12 @@ set lto_run_elf_shared_tests [list \
|
||||
[list "Run pr21382" \
|
||||
"-O2 -flto -fuse-linker-plugin -Wl,--as-needed tmpdir/pr21382a.o tmpdir/pr21382.so" "" \
|
||||
{dummy.c} "pr21382.exe" "pass.out" "" "c"] \
|
||||
+ [list {pr22220a} \
|
||||
+ {-flto -fuse-linker-plugin tmpdir/pr22220main.o tmpdir/pr22220lib.so} {} \
|
||||
+ {dummy.c} {pr22220a.exe} {pass.out} {} {c++}] \
|
||||
+ [list {pr22220b} \
|
||||
+ {-flto -fuse-linker-plugin -Wl,--no-as-needed tmpdir/pr22220lib.so tmpdir/pr22220main.o} {} \
|
||||
+ {dummy.c} {pr22220b.exe} {pass.out} {} {c++}] \
|
||||
]
|
||||
|
||||
# LTO run-time tests for ELF
|
||||
diff --git a/ld/testsuite/ld-plugin/pr22220.h b/ld/testsuite/ld-plugin/pr22220.h
|
||||
new file mode 100644
|
||||
index 0000000000..b15b45c08d
|
||||
--- /dev/null
|
||||
+++ b/ld/testsuite/ld-plugin/pr22220.h
|
||||
@@ -0,0 +1,8 @@
|
||||
+extern int doo();
|
||||
+
|
||||
+inline int *goo() {
|
||||
+ static int xyz;
|
||||
+ return &xyz;
|
||||
+}
|
||||
+
|
||||
+int *boo();
|
||||
diff --git a/ld/testsuite/ld-plugin/pr22220lib.cc b/ld/testsuite/ld-plugin/pr22220lib.cc
|
||||
new file mode 100644
|
||||
index 0000000000..771f44f7f3
|
||||
--- /dev/null
|
||||
+++ b/ld/testsuite/ld-plugin/pr22220lib.cc
|
||||
@@ -0,0 +1,6 @@
|
||||
+#include "pr22220.h"
|
||||
+
|
||||
+int* boo()
|
||||
+{
|
||||
+ return goo ();
|
||||
+}
|
||||
diff --git a/ld/testsuite/ld-plugin/pr22220lib.ver b/ld/testsuite/ld-plugin/pr22220lib.ver
|
||||
new file mode 100644
|
||||
index 0000000000..6da7e1a2bd
|
||||
--- /dev/null
|
||||
+++ b/ld/testsuite/ld-plugin/pr22220lib.ver
|
||||
@@ -0,0 +1 @@
|
||||
+BAR { global: *; };
|
||||
diff --git a/ld/testsuite/ld-plugin/pr22220main.cc b/ld/testsuite/ld-plugin/pr22220main.cc
|
||||
new file mode 100644
|
||||
index 0000000000..38c206f7a2
|
||||
--- /dev/null
|
||||
+++ b/ld/testsuite/ld-plugin/pr22220main.cc
|
||||
@@ -0,0 +1,12 @@
|
||||
+#include <stdio.h>
|
||||
+#include "pr22220.h"
|
||||
+
|
||||
+int main()
|
||||
+{
|
||||
+ if (boo() == goo())
|
||||
+ {
|
||||
+ printf ("PASS\n");
|
||||
+ return 0;
|
||||
+ }
|
||||
+ return 1;
|
||||
+}
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1509dff41369fb70aed23682351b663b56db894034773e6dbf7d5d6071fc55cc
|
||||
size 29123355
|
31116
binutils-2.30-branch.diff
Normal file
31116
binutils-2.30-branch.diff
Normal file
File diff suppressed because it is too large
Load Diff
3
binutils-2.30.tar.bz2
Normal file
3
binutils-2.30.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:efeade848067e9a03f1918b1da0d37aaffa0b0127a06b5e9236229851d9d0c09
|
||||
size 29541188
|
20
binutils-pr22868.diff
Normal file
20
binutils-pr22868.diff
Normal file
@ -0,0 +1,20 @@
|
||||
Fixes two testsuite fails in the gold plugin tests of LLVM.
|
||||
Aka binutils/PR22868
|
||||
Index: binutils-2.30/gold/resolve.cc
|
||||
===================================================================
|
||||
--- binutils-2.30.orig/gold/resolve.cc 2018-01-13 14:31:16.000000000 +0100
|
||||
+++ binutils-2.30/gold/resolve.cc 2018-03-06 16:58:42.000000000 +0100
|
||||
@@ -265,10 +265,13 @@ Symbol_table::resolve(Sized_symbol<size>
|
||||
return;
|
||||
|
||||
// Likewise for an absolute symbol defined twice with the same value.
|
||||
+ // plugin-symbols are always absolute with same value here, so ignore those
|
||||
if (!is_ordinary
|
||||
&& st_shndx == elfcpp::SHN_ABS
|
||||
&& !to_is_ordinary
|
||||
&& to_shndx == elfcpp::SHN_ABS
|
||||
+ && object->pluginobj() == NULL
|
||||
+ && to->object()->pluginobj() == NULL
|
||||
&& to->value() == sym.get_st_value())
|
||||
return;
|
||||
|
@ -1,3 +1,36 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 6 16:01:24 UTC 2018 - matz@suse.com
|
||||
|
||||
- Add binutils-pr22868.diff to fix testsuite fails in LLVM.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 26 11:03:07 UTC 2018 - schwab@suse.de
|
||||
|
||||
- Update to binutils 2.30
|
||||
* Add --debug-dump=links option to readelf and --dwarf=links option to objdump
|
||||
which displays the contents of any .gnu_debuglink or .gnu_debugaltlink
|
||||
sections.
|
||||
Add a --debug-dump=follow-links option to readelf and a --dwarf=follow-links
|
||||
option to objdump which causes indirect links into separate debug info files
|
||||
to be followed when dumping other DWARF sections.
|
||||
* Add support for loaction views in DWARF debug line information.
|
||||
* Add -z separate-code to generate separate code PT_LOAD segment.
|
||||
* Add "-z undefs" command line option as the inverse of the "-z defs" option.
|
||||
* Add -z globalaudit command line option to force audit libraries to be run
|
||||
for every dynamic object loaded by an executable - provided that the loader
|
||||
supports this functionality.
|
||||
* Tighten linker script grammar around file name specifiers to prevent the use
|
||||
of SORT_BY_ALIGNMENT and SORT_BY_INIT_PRIORITY on filenames. These would
|
||||
previously be accepted but had no effect.
|
||||
* The EXCLUDE_FILE directive can now be placed within any SORT_* directive
|
||||
within input section lists.
|
||||
- binutils-2.30-branch.diff: 2.30 branch @4cd0043413
|
||||
- riscv-wrap-relax.patch: Fix linker relaxation with --wrap
|
||||
- Remove use-hashtype-both-by-default.diff, use
|
||||
--enable-default-hash-style=both instead
|
||||
- Remove binutils-2.29-branch.diff, s390x-8fe09d7.diff
|
||||
- Use riscv64-suse-linux as target for cross-riscv64-binutils
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 26 13:40:13 UTC 2018 - dimstar@opensuse.org
|
||||
|
||||
|
@ -33,7 +33,7 @@ BuildRequires: zlib-devel-static
|
||||
%else
|
||||
BuildRequires: zlib-devel
|
||||
%endif
|
||||
Version: 2.29.1
|
||||
Version: 2.30
|
||||
Release: 0
|
||||
#
|
||||
# RUN_TESTS
|
||||
@ -73,13 +73,13 @@ Obsoletes: binutils-64bit
|
||||
%endif
|
||||
#
|
||||
Summary: GNU Binutils
|
||||
License: GFDL-1.3 and GPL-3.0+
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
Source: binutils-%{version}.tar.bz2
|
||||
Source1: pre_checkin.sh
|
||||
Source2: README.First-for.SuSE.packagers
|
||||
Source3: baselibs.conf
|
||||
Patch: binutils-2.29-branch.diff
|
||||
Patch: binutils-2.30-branch.diff
|
||||
Patch3: binutils-skip-rpaths.patch
|
||||
Patch4: s390-biarch.diff
|
||||
Patch5: x86-64-biarch.patch
|
||||
@ -87,14 +87,13 @@ Patch6: unit-at-a-time.patch
|
||||
Patch8: ld-relro.diff
|
||||
Patch9: testsuite.diff
|
||||
Patch10: enable-targets-gold.diff
|
||||
Patch11: use-hashtype-both-by-default.diff
|
||||
Patch12: s390-pic-dso.diff
|
||||
Patch14: binutils-build-as-needed.diff
|
||||
Patch18: gold-depend-on-opcodes.diff
|
||||
Patch22: binutils-bfd_h.patch
|
||||
Patch34: aarch64-common-pagesize.patch
|
||||
# upstream typo fix
|
||||
Patch35: s390x-8fe09d7.diff
|
||||
Patch35: riscv-wrap-relax.patch
|
||||
Patch36: binutils-pr22868.diff
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
Patch93: cross-avr-size.patch
|
||||
@ -109,7 +108,7 @@ to compile a program or kernel.
|
||||
|
||||
%package gold
|
||||
Summary: The gold linker
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
Requires: binutils = %{version}-%{release}
|
||||
PreReq: update-alternatives
|
||||
@ -126,7 +125,7 @@ a drop-in replacement for the older GNU linker.
|
||||
|
||||
%package devel
|
||||
Summary: GNU binutils (BFD development files)
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: binutils = %{version}-%{release}
|
||||
Requires: zlib-devel
|
||||
@ -159,17 +158,13 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch8
|
||||
%patch9
|
||||
%patch10
|
||||
%if "%{TARGET}" != "mips"
|
||||
# The MIPS ABI is incompatible with .gnu.hash, so don't
|
||||
# use it there
|
||||
%patch11
|
||||
%patch12
|
||||
%endif
|
||||
%patch14
|
||||
%patch18
|
||||
%patch22
|
||||
%patch34 -p1
|
||||
%patch35 -p1
|
||||
%patch36 -p1
|
||||
%if "%{TARGET}" == "avr"
|
||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
%patch90
|
||||
@ -247,6 +242,9 @@ cd build-dir
|
||||
--enable-compressed-debug-sections=gas \
|
||||
%endif
|
||||
--enable-new-dtags \
|
||||
%if "%{TARGET}" != "mips"
|
||||
--enable-default-hash-style=both \
|
||||
%endif
|
||||
--enable-shared
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
# force reconfiguring (???)
|
||||
@ -286,7 +284,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
|
||||
%define TARGET_OS %{TARGET}
|
||||
%else
|
||||
%if "%{TARGET}" == "epiphany" || "%{TARGET}" == "riscv32" || "%{TARGET}" == "riscv64" || "%{TARGET}" == "rx"
|
||||
%if "%{TARGET}" == "epiphany" || "%{TARGET}" == "riscv32" || "%{TARGET}" == "rx"
|
||||
%define TARGET_OS %{TARGET}-elf
|
||||
%else
|
||||
%if "%{TARGET}" == "arm"
|
||||
@ -311,6 +309,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
--with-sysroot=/usr/spu \
|
||||
%else
|
||||
--with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \
|
||||
%endif
|
||||
%if "%{TARGET}" != "mips"
|
||||
--enable-default-hash-style=both \
|
||||
%endif
|
||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
|
@ -1,3 +1,36 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 6 16:01:24 UTC 2018 - matz@suse.com
|
||||
|
||||
- Add binutils-pr22868.diff to fix testsuite fails in LLVM.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 26 11:03:07 UTC 2018 - schwab@suse.de
|
||||
|
||||
- Update to binutils 2.30
|
||||
* Add --debug-dump=links option to readelf and --dwarf=links option to objdump
|
||||
which displays the contents of any .gnu_debuglink or .gnu_debugaltlink
|
||||
sections.
|
||||
Add a --debug-dump=follow-links option to readelf and a --dwarf=follow-links
|
||||
option to objdump which causes indirect links into separate debug info files
|
||||
to be followed when dumping other DWARF sections.
|
||||
* Add support for loaction views in DWARF debug line information.
|
||||
* Add -z separate-code to generate separate code PT_LOAD segment.
|
||||
* Add "-z undefs" command line option as the inverse of the "-z defs" option.
|
||||
* Add -z globalaudit command line option to force audit libraries to be run
|
||||
for every dynamic object loaded by an executable - provided that the loader
|
||||
supports this functionality.
|
||||
* Tighten linker script grammar around file name specifiers to prevent the use
|
||||
of SORT_BY_ALIGNMENT and SORT_BY_INIT_PRIORITY on filenames. These would
|
||||
previously be accepted but had no effect.
|
||||
* The EXCLUDE_FILE directive can now be placed within any SORT_* directive
|
||||
within input section lists.
|
||||
- binutils-2.30-branch.diff: 2.30 branch @4cd0043413
|
||||
- riscv-wrap-relax.patch: Fix linker relaxation with --wrap
|
||||
- Remove use-hashtype-both-by-default.diff, use
|
||||
--enable-default-hash-style=both instead
|
||||
- Remove binutils-2.29-branch.diff, s390x-8fe09d7.diff
|
||||
- Use riscv64-suse-linux as target for cross-riscv64-binutils
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 26 13:40:13 UTC 2018 - dimstar@opensuse.org
|
||||
|
||||
|
@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
|
||||
%else
|
||||
BuildRequires: zlib-devel
|
||||
%endif
|
||||
Version: 2.29.1
|
||||
Version: 2.30
|
||||
Release: 0
|
||||
#
|
||||
# RUN_TESTS
|
||||
@ -76,13 +76,13 @@ Obsoletes: binutils-64bit
|
||||
%endif
|
||||
#
|
||||
Summary: GNU Binutils
|
||||
License: GFDL-1.3 and GPL-3.0+
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
Source: binutils-%{version}.tar.bz2
|
||||
Source1: pre_checkin.sh
|
||||
Source2: README.First-for.SuSE.packagers
|
||||
Source3: baselibs.conf
|
||||
Patch: binutils-2.29-branch.diff
|
||||
Patch: binutils-2.30-branch.diff
|
||||
Patch3: binutils-skip-rpaths.patch
|
||||
Patch4: s390-biarch.diff
|
||||
Patch5: x86-64-biarch.patch
|
||||
@ -90,14 +90,13 @@ Patch6: unit-at-a-time.patch
|
||||
Patch8: ld-relro.diff
|
||||
Patch9: testsuite.diff
|
||||
Patch10: enable-targets-gold.diff
|
||||
Patch11: use-hashtype-both-by-default.diff
|
||||
Patch12: s390-pic-dso.diff
|
||||
Patch14: binutils-build-as-needed.diff
|
||||
Patch18: gold-depend-on-opcodes.diff
|
||||
Patch22: binutils-bfd_h.patch
|
||||
Patch34: aarch64-common-pagesize.patch
|
||||
# upstream typo fix
|
||||
Patch35: s390x-8fe09d7.diff
|
||||
Patch35: riscv-wrap-relax.patch
|
||||
Patch36: binutils-pr22868.diff
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
Patch93: cross-avr-size.patch
|
||||
@ -112,7 +111,7 @@ to compile a program or kernel.
|
||||
|
||||
%package gold
|
||||
Summary: The gold linker
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
Requires: binutils = %{version}-%{release}
|
||||
PreReq: update-alternatives
|
||||
@ -129,7 +128,7 @@ a drop-in replacement for the older GNU linker.
|
||||
|
||||
%package devel
|
||||
Summary: GNU binutils (BFD development files)
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: binutils = %{version}-%{release}
|
||||
Requires: zlib-devel
|
||||
@ -162,17 +161,13 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch8
|
||||
%patch9
|
||||
%patch10
|
||||
%if "%{TARGET}" != "mips"
|
||||
# The MIPS ABI is incompatible with .gnu.hash, so don't
|
||||
# use it there
|
||||
%patch11
|
||||
%patch12
|
||||
%endif
|
||||
%patch14
|
||||
%patch18
|
||||
%patch22
|
||||
%patch34 -p1
|
||||
%patch35 -p1
|
||||
%patch36 -p1
|
||||
%if "%{TARGET}" == "avr"
|
||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
%patch90
|
||||
@ -250,6 +245,9 @@ cd build-dir
|
||||
--enable-compressed-debug-sections=gas \
|
||||
%endif
|
||||
--enable-new-dtags \
|
||||
%if "%{TARGET}" != "mips"
|
||||
--enable-default-hash-style=both \
|
||||
%endif
|
||||
--enable-shared
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
# force reconfiguring (???)
|
||||
@ -289,7 +287,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
|
||||
%define TARGET_OS %{TARGET}
|
||||
%else
|
||||
%if "%{TARGET}" == "epiphany" || "%{TARGET}" == "riscv32" || "%{TARGET}" == "riscv64" || "%{TARGET}" == "rx"
|
||||
%if "%{TARGET}" == "epiphany" || "%{TARGET}" == "riscv32" || "%{TARGET}" == "rx"
|
||||
%define TARGET_OS %{TARGET}-elf
|
||||
%else
|
||||
%if "%{TARGET}" == "arm"
|
||||
@ -314,6 +312,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
--with-sysroot=/usr/spu \
|
||||
%else
|
||||
--with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \
|
||||
%endif
|
||||
%if "%{TARGET}" != "mips"
|
||||
--enable-default-hash-style=both \
|
||||
%endif
|
||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
|
@ -1,3 +1,36 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 6 16:01:24 UTC 2018 - matz@suse.com
|
||||
|
||||
- Add binutils-pr22868.diff to fix testsuite fails in LLVM.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 26 11:03:07 UTC 2018 - schwab@suse.de
|
||||
|
||||
- Update to binutils 2.30
|
||||
* Add --debug-dump=links option to readelf and --dwarf=links option to objdump
|
||||
which displays the contents of any .gnu_debuglink or .gnu_debugaltlink
|
||||
sections.
|
||||
Add a --debug-dump=follow-links option to readelf and a --dwarf=follow-links
|
||||
option to objdump which causes indirect links into separate debug info files
|
||||
to be followed when dumping other DWARF sections.
|
||||
* Add support for loaction views in DWARF debug line information.
|
||||
* Add -z separate-code to generate separate code PT_LOAD segment.
|
||||
* Add "-z undefs" command line option as the inverse of the "-z defs" option.
|
||||
* Add -z globalaudit command line option to force audit libraries to be run
|
||||
for every dynamic object loaded by an executable - provided that the loader
|
||||
supports this functionality.
|
||||
* Tighten linker script grammar around file name specifiers to prevent the use
|
||||
of SORT_BY_ALIGNMENT and SORT_BY_INIT_PRIORITY on filenames. These would
|
||||
previously be accepted but had no effect.
|
||||
* The EXCLUDE_FILE directive can now be placed within any SORT_* directive
|
||||
within input section lists.
|
||||
- binutils-2.30-branch.diff: 2.30 branch @4cd0043413
|
||||
- riscv-wrap-relax.patch: Fix linker relaxation with --wrap
|
||||
- Remove use-hashtype-both-by-default.diff, use
|
||||
--enable-default-hash-style=both instead
|
||||
- Remove binutils-2.29-branch.diff, s390x-8fe09d7.diff
|
||||
- Use riscv64-suse-linux as target for cross-riscv64-binutils
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 26 13:40:13 UTC 2018 - dimstar@opensuse.org
|
||||
|
||||
|
@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
|
||||
%else
|
||||
BuildRequires: zlib-devel
|
||||
%endif
|
||||
Version: 2.29.1
|
||||
Version: 2.30
|
||||
Release: 0
|
||||
#
|
||||
# RUN_TESTS
|
||||
@ -76,13 +76,13 @@ Obsoletes: binutils-64bit
|
||||
%endif
|
||||
#
|
||||
Summary: GNU Binutils
|
||||
License: GFDL-1.3 and GPL-3.0+
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
Source: binutils-%{version}.tar.bz2
|
||||
Source1: pre_checkin.sh
|
||||
Source2: README.First-for.SuSE.packagers
|
||||
Source3: baselibs.conf
|
||||
Patch: binutils-2.29-branch.diff
|
||||
Patch: binutils-2.30-branch.diff
|
||||
Patch3: binutils-skip-rpaths.patch
|
||||
Patch4: s390-biarch.diff
|
||||
Patch5: x86-64-biarch.patch
|
||||
@ -90,14 +90,13 @@ Patch6: unit-at-a-time.patch
|
||||
Patch8: ld-relro.diff
|
||||
Patch9: testsuite.diff
|
||||
Patch10: enable-targets-gold.diff
|
||||
Patch11: use-hashtype-both-by-default.diff
|
||||
Patch12: s390-pic-dso.diff
|
||||
Patch14: binutils-build-as-needed.diff
|
||||
Patch18: gold-depend-on-opcodes.diff
|
||||
Patch22: binutils-bfd_h.patch
|
||||
Patch34: aarch64-common-pagesize.patch
|
||||
# upstream typo fix
|
||||
Patch35: s390x-8fe09d7.diff
|
||||
Patch35: riscv-wrap-relax.patch
|
||||
Patch36: binutils-pr22868.diff
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
Patch93: cross-avr-size.patch
|
||||
@ -112,7 +111,7 @@ to compile a program or kernel.
|
||||
|
||||
%package gold
|
||||
Summary: The gold linker
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
Requires: binutils = %{version}-%{release}
|
||||
PreReq: update-alternatives
|
||||
@ -129,7 +128,7 @@ a drop-in replacement for the older GNU linker.
|
||||
|
||||
%package devel
|
||||
Summary: GNU binutils (BFD development files)
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: binutils = %{version}-%{release}
|
||||
Requires: zlib-devel
|
||||
@ -162,17 +161,13 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch8
|
||||
%patch9
|
||||
%patch10
|
||||
%if "%{TARGET}" != "mips"
|
||||
# The MIPS ABI is incompatible with .gnu.hash, so don't
|
||||
# use it there
|
||||
%patch11
|
||||
%patch12
|
||||
%endif
|
||||
%patch14
|
||||
%patch18
|
||||
%patch22
|
||||
%patch34 -p1
|
||||
%patch35 -p1
|
||||
%patch36 -p1
|
||||
%if "%{TARGET}" == "avr"
|
||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
%patch90
|
||||
@ -250,6 +245,9 @@ cd build-dir
|
||||
--enable-compressed-debug-sections=gas \
|
||||
%endif
|
||||
--enable-new-dtags \
|
||||
%if "%{TARGET}" != "mips"
|
||||
--enable-default-hash-style=both \
|
||||
%endif
|
||||
--enable-shared
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
# force reconfiguring (???)
|
||||
@ -289,7 +287,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
|
||||
%define TARGET_OS %{TARGET}
|
||||
%else
|
||||
%if "%{TARGET}" == "epiphany" || "%{TARGET}" == "riscv32" || "%{TARGET}" == "riscv64" || "%{TARGET}" == "rx"
|
||||
%if "%{TARGET}" == "epiphany" || "%{TARGET}" == "riscv32" || "%{TARGET}" == "rx"
|
||||
%define TARGET_OS %{TARGET}-elf
|
||||
%else
|
||||
%if "%{TARGET}" == "arm"
|
||||
@ -314,6 +312,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
--with-sysroot=/usr/spu \
|
||||
%else
|
||||
--with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \
|
||||
%endif
|
||||
%if "%{TARGET}" != "mips"
|
||||
--enable-default-hash-style=both \
|
||||
%endif
|
||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
|
@ -1,3 +1,36 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 6 16:01:24 UTC 2018 - matz@suse.com
|
||||
|
||||
- Add binutils-pr22868.diff to fix testsuite fails in LLVM.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 26 11:03:07 UTC 2018 - schwab@suse.de
|
||||
|
||||
- Update to binutils 2.30
|
||||
* Add --debug-dump=links option to readelf and --dwarf=links option to objdump
|
||||
which displays the contents of any .gnu_debuglink or .gnu_debugaltlink
|
||||
sections.
|
||||
Add a --debug-dump=follow-links option to readelf and a --dwarf=follow-links
|
||||
option to objdump which causes indirect links into separate debug info files
|
||||
to be followed when dumping other DWARF sections.
|
||||
* Add support for loaction views in DWARF debug line information.
|
||||
* Add -z separate-code to generate separate code PT_LOAD segment.
|
||||
* Add "-z undefs" command line option as the inverse of the "-z defs" option.
|
||||
* Add -z globalaudit command line option to force audit libraries to be run
|
||||
for every dynamic object loaded by an executable - provided that the loader
|
||||
supports this functionality.
|
||||
* Tighten linker script grammar around file name specifiers to prevent the use
|
||||
of SORT_BY_ALIGNMENT and SORT_BY_INIT_PRIORITY on filenames. These would
|
||||
previously be accepted but had no effect.
|
||||
* The EXCLUDE_FILE directive can now be placed within any SORT_* directive
|
||||
within input section lists.
|
||||
- binutils-2.30-branch.diff: 2.30 branch @4cd0043413
|
||||
- riscv-wrap-relax.patch: Fix linker relaxation with --wrap
|
||||
- Remove use-hashtype-both-by-default.diff, use
|
||||
--enable-default-hash-style=both instead
|
||||
- Remove binutils-2.29-branch.diff, s390x-8fe09d7.diff
|
||||
- Use riscv64-suse-linux as target for cross-riscv64-binutils
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 26 13:40:13 UTC 2018 - dimstar@opensuse.org
|
||||
|
||||
|
@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
|
||||
%else
|
||||
BuildRequires: zlib-devel
|
||||
%endif
|
||||
Version: 2.29.1
|
||||
Version: 2.30
|
||||
Release: 0
|
||||
#
|
||||
# RUN_TESTS
|
||||
@ -76,13 +76,13 @@ Obsoletes: binutils-64bit
|
||||
%endif
|
||||
#
|
||||
Summary: GNU Binutils
|
||||
License: GFDL-1.3 and GPL-3.0+
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
Source: binutils-%{version}.tar.bz2
|
||||
Source1: pre_checkin.sh
|
||||
Source2: README.First-for.SuSE.packagers
|
||||
Source3: baselibs.conf
|
||||
Patch: binutils-2.29-branch.diff
|
||||
Patch: binutils-2.30-branch.diff
|
||||
Patch3: binutils-skip-rpaths.patch
|
||||
Patch4: s390-biarch.diff
|
||||
Patch5: x86-64-biarch.patch
|
||||
@ -90,14 +90,13 @@ Patch6: unit-at-a-time.patch
|
||||
Patch8: ld-relro.diff
|
||||
Patch9: testsuite.diff
|
||||
Patch10: enable-targets-gold.diff
|
||||
Patch11: use-hashtype-both-by-default.diff
|
||||
Patch12: s390-pic-dso.diff
|
||||
Patch14: binutils-build-as-needed.diff
|
||||
Patch18: gold-depend-on-opcodes.diff
|
||||
Patch22: binutils-bfd_h.patch
|
||||
Patch34: aarch64-common-pagesize.patch
|
||||
# upstream typo fix
|
||||
Patch35: s390x-8fe09d7.diff
|
||||
Patch35: riscv-wrap-relax.patch
|
||||
Patch36: binutils-pr22868.diff
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
Patch93: cross-avr-size.patch
|
||||
@ -112,7 +111,7 @@ to compile a program or kernel.
|
||||
|
||||
%package gold
|
||||
Summary: The gold linker
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
Requires: binutils = %{version}-%{release}
|
||||
PreReq: update-alternatives
|
||||
@ -129,7 +128,7 @@ a drop-in replacement for the older GNU linker.
|
||||
|
||||
%package devel
|
||||
Summary: GNU binutils (BFD development files)
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: binutils = %{version}-%{release}
|
||||
Requires: zlib-devel
|
||||
@ -162,17 +161,13 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch8
|
||||
%patch9
|
||||
%patch10
|
||||
%if "%{TARGET}" != "mips"
|
||||
# The MIPS ABI is incompatible with .gnu.hash, so don't
|
||||
# use it there
|
||||
%patch11
|
||||
%patch12
|
||||
%endif
|
||||
%patch14
|
||||
%patch18
|
||||
%patch22
|
||||
%patch34 -p1
|
||||
%patch35 -p1
|
||||
%patch36 -p1
|
||||
%if "%{TARGET}" == "avr"
|
||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
%patch90
|
||||
@ -250,6 +245,9 @@ cd build-dir
|
||||
--enable-compressed-debug-sections=gas \
|
||||
%endif
|
||||
--enable-new-dtags \
|
||||
%if "%{TARGET}" != "mips"
|
||||
--enable-default-hash-style=both \
|
||||
%endif
|
||||
--enable-shared
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
# force reconfiguring (???)
|
||||
@ -289,7 +287,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
|
||||
%define TARGET_OS %{TARGET}
|
||||
%else
|
||||
%if "%{TARGET}" == "epiphany" || "%{TARGET}" == "riscv32" || "%{TARGET}" == "riscv64" || "%{TARGET}" == "rx"
|
||||
%if "%{TARGET}" == "epiphany" || "%{TARGET}" == "riscv32" || "%{TARGET}" == "rx"
|
||||
%define TARGET_OS %{TARGET}-elf
|
||||
%else
|
||||
%if "%{TARGET}" == "arm"
|
||||
@ -314,6 +312,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
--with-sysroot=/usr/spu \
|
||||
%else
|
||||
--with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \
|
||||
%endif
|
||||
%if "%{TARGET}" != "mips"
|
||||
--enable-default-hash-style=both \
|
||||
%endif
|
||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
|
@ -1,3 +1,36 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 6 16:01:24 UTC 2018 - matz@suse.com
|
||||
|
||||
- Add binutils-pr22868.diff to fix testsuite fails in LLVM.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 26 11:03:07 UTC 2018 - schwab@suse.de
|
||||
|
||||
- Update to binutils 2.30
|
||||
* Add --debug-dump=links option to readelf and --dwarf=links option to objdump
|
||||
which displays the contents of any .gnu_debuglink or .gnu_debugaltlink
|
||||
sections.
|
||||
Add a --debug-dump=follow-links option to readelf and a --dwarf=follow-links
|
||||
option to objdump which causes indirect links into separate debug info files
|
||||
to be followed when dumping other DWARF sections.
|
||||
* Add support for loaction views in DWARF debug line information.
|
||||
* Add -z separate-code to generate separate code PT_LOAD segment.
|
||||
* Add "-z undefs" command line option as the inverse of the "-z defs" option.
|
||||
* Add -z globalaudit command line option to force audit libraries to be run
|
||||
for every dynamic object loaded by an executable - provided that the loader
|
||||
supports this functionality.
|
||||
* Tighten linker script grammar around file name specifiers to prevent the use
|
||||
of SORT_BY_ALIGNMENT and SORT_BY_INIT_PRIORITY on filenames. These would
|
||||
previously be accepted but had no effect.
|
||||
* The EXCLUDE_FILE directive can now be placed within any SORT_* directive
|
||||
within input section lists.
|
||||
- binutils-2.30-branch.diff: 2.30 branch @4cd0043413
|
||||
- riscv-wrap-relax.patch: Fix linker relaxation with --wrap
|
||||
- Remove use-hashtype-both-by-default.diff, use
|
||||
--enable-default-hash-style=both instead
|
||||
- Remove binutils-2.29-branch.diff, s390x-8fe09d7.diff
|
||||
- Use riscv64-suse-linux as target for cross-riscv64-binutils
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 26 13:40:13 UTC 2018 - dimstar@opensuse.org
|
||||
|
||||
|
@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
|
||||
%else
|
||||
BuildRequires: zlib-devel
|
||||
%endif
|
||||
Version: 2.29.1
|
||||
Version: 2.30
|
||||
Release: 0
|
||||
#
|
||||
# RUN_TESTS
|
||||
@ -76,13 +76,13 @@ Obsoletes: binutils-64bit
|
||||
%endif
|
||||
#
|
||||
Summary: GNU Binutils
|
||||
License: GFDL-1.3 and GPL-3.0+
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
Source: binutils-%{version}.tar.bz2
|
||||
Source1: pre_checkin.sh
|
||||
Source2: README.First-for.SuSE.packagers
|
||||
Source3: baselibs.conf
|
||||
Patch: binutils-2.29-branch.diff
|
||||
Patch: binutils-2.30-branch.diff
|
||||
Patch3: binutils-skip-rpaths.patch
|
||||
Patch4: s390-biarch.diff
|
||||
Patch5: x86-64-biarch.patch
|
||||
@ -90,14 +90,13 @@ Patch6: unit-at-a-time.patch
|
||||
Patch8: ld-relro.diff
|
||||
Patch9: testsuite.diff
|
||||
Patch10: enable-targets-gold.diff
|
||||
Patch11: use-hashtype-both-by-default.diff
|
||||
Patch12: s390-pic-dso.diff
|
||||
Patch14: binutils-build-as-needed.diff
|
||||
Patch18: gold-depend-on-opcodes.diff
|
||||
Patch22: binutils-bfd_h.patch
|
||||
Patch34: aarch64-common-pagesize.patch
|
||||
# upstream typo fix
|
||||
Patch35: s390x-8fe09d7.diff
|
||||
Patch35: riscv-wrap-relax.patch
|
||||
Patch36: binutils-pr22868.diff
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
Patch93: cross-avr-size.patch
|
||||
@ -112,7 +111,7 @@ to compile a program or kernel.
|
||||
|
||||
%package gold
|
||||
Summary: The gold linker
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
Requires: binutils = %{version}-%{release}
|
||||
PreReq: update-alternatives
|
||||
@ -129,7 +128,7 @@ a drop-in replacement for the older GNU linker.
|
||||
|
||||
%package devel
|
||||
Summary: GNU binutils (BFD development files)
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: binutils = %{version}-%{release}
|
||||
Requires: zlib-devel
|
||||
@ -162,17 +161,13 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch8
|
||||
%patch9
|
||||
%patch10
|
||||
%if "%{TARGET}" != "mips"
|
||||
# The MIPS ABI is incompatible with .gnu.hash, so don't
|
||||
# use it there
|
||||
%patch11
|
||||
%patch12
|
||||
%endif
|
||||
%patch14
|
||||
%patch18
|
||||
%patch22
|
||||
%patch34 -p1
|
||||
%patch35 -p1
|
||||
%patch36 -p1
|
||||
%if "%{TARGET}" == "avr"
|
||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
%patch90
|
||||
@ -250,6 +245,9 @@ cd build-dir
|
||||
--enable-compressed-debug-sections=gas \
|
||||
%endif
|
||||
--enable-new-dtags \
|
||||
%if "%{TARGET}" != "mips"
|
||||
--enable-default-hash-style=both \
|
||||
%endif
|
||||
--enable-shared
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
# force reconfiguring (???)
|
||||
@ -289,7 +287,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
|
||||
%define TARGET_OS %{TARGET}
|
||||
%else
|
||||
%if "%{TARGET}" == "epiphany" || "%{TARGET}" == "riscv32" || "%{TARGET}" == "riscv64" || "%{TARGET}" == "rx"
|
||||
%if "%{TARGET}" == "epiphany" || "%{TARGET}" == "riscv32" || "%{TARGET}" == "rx"
|
||||
%define TARGET_OS %{TARGET}-elf
|
||||
%else
|
||||
%if "%{TARGET}" == "arm"
|
||||
@ -314,6 +312,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
--with-sysroot=/usr/spu \
|
||||
%else
|
||||
--with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \
|
||||
%endif
|
||||
%if "%{TARGET}" != "mips"
|
||||
--enable-default-hash-style=both \
|
||||
%endif
|
||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
|
@ -1,3 +1,36 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 6 16:01:24 UTC 2018 - matz@suse.com
|
||||
|
||||
- Add binutils-pr22868.diff to fix testsuite fails in LLVM.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 26 11:03:07 UTC 2018 - schwab@suse.de
|
||||
|
||||
- Update to binutils 2.30
|
||||
* Add --debug-dump=links option to readelf and --dwarf=links option to objdump
|
||||
which displays the contents of any .gnu_debuglink or .gnu_debugaltlink
|
||||
sections.
|
||||
Add a --debug-dump=follow-links option to readelf and a --dwarf=follow-links
|
||||
option to objdump which causes indirect links into separate debug info files
|
||||
to be followed when dumping other DWARF sections.
|
||||
* Add support for loaction views in DWARF debug line information.
|
||||
* Add -z separate-code to generate separate code PT_LOAD segment.
|
||||
* Add "-z undefs" command line option as the inverse of the "-z defs" option.
|
||||
* Add -z globalaudit command line option to force audit libraries to be run
|
||||
for every dynamic object loaded by an executable - provided that the loader
|
||||
supports this functionality.
|
||||
* Tighten linker script grammar around file name specifiers to prevent the use
|
||||
of SORT_BY_ALIGNMENT and SORT_BY_INIT_PRIORITY on filenames. These would
|
||||
previously be accepted but had no effect.
|
||||
* The EXCLUDE_FILE directive can now be placed within any SORT_* directive
|
||||
within input section lists.
|
||||
- binutils-2.30-branch.diff: 2.30 branch @4cd0043413
|
||||
- riscv-wrap-relax.patch: Fix linker relaxation with --wrap
|
||||
- Remove use-hashtype-both-by-default.diff, use
|
||||
--enable-default-hash-style=both instead
|
||||
- Remove binutils-2.29-branch.diff, s390x-8fe09d7.diff
|
||||
- Use riscv64-suse-linux as target for cross-riscv64-binutils
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 26 13:40:13 UTC 2018 - dimstar@opensuse.org
|
||||
|
||||
|
@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
|
||||
%else
|
||||
BuildRequires: zlib-devel
|
||||
%endif
|
||||
Version: 2.29.1
|
||||
Version: 2.30
|
||||
Release: 0
|
||||
#
|
||||
# RUN_TESTS
|
||||
@ -76,13 +76,13 @@ Obsoletes: binutils-64bit
|
||||
%endif
|
||||
#
|
||||
Summary: GNU Binutils
|
||||
License: GFDL-1.3 and GPL-3.0+
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
Source: binutils-%{version}.tar.bz2
|
||||
Source1: pre_checkin.sh
|
||||
Source2: README.First-for.SuSE.packagers
|
||||
Source3: baselibs.conf
|
||||
Patch: binutils-2.29-branch.diff
|
||||
Patch: binutils-2.30-branch.diff
|
||||
Patch3: binutils-skip-rpaths.patch
|
||||
Patch4: s390-biarch.diff
|
||||
Patch5: x86-64-biarch.patch
|
||||
@ -90,14 +90,13 @@ Patch6: unit-at-a-time.patch
|
||||
Patch8: ld-relro.diff
|
||||
Patch9: testsuite.diff
|
||||
Patch10: enable-targets-gold.diff
|
||||
Patch11: use-hashtype-both-by-default.diff
|
||||
Patch12: s390-pic-dso.diff
|
||||
Patch14: binutils-build-as-needed.diff
|
||||
Patch18: gold-depend-on-opcodes.diff
|
||||
Patch22: binutils-bfd_h.patch
|
||||
Patch34: aarch64-common-pagesize.patch
|
||||
# upstream typo fix
|
||||
Patch35: s390x-8fe09d7.diff
|
||||
Patch35: riscv-wrap-relax.patch
|
||||
Patch36: binutils-pr22868.diff
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
Patch93: cross-avr-size.patch
|
||||
@ -112,7 +111,7 @@ to compile a program or kernel.
|
||||
|
||||
%package gold
|
||||
Summary: The gold linker
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
Requires: binutils = %{version}-%{release}
|
||||
PreReq: update-alternatives
|
||||
@ -129,7 +128,7 @@ a drop-in replacement for the older GNU linker.
|
||||
|
||||
%package devel
|
||||
Summary: GNU binutils (BFD development files)
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: binutils = %{version}-%{release}
|
||||
Requires: zlib-devel
|
||||
@ -162,17 +161,13 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch8
|
||||
%patch9
|
||||
%patch10
|
||||
%if "%{TARGET}" != "mips"
|
||||
# The MIPS ABI is incompatible with .gnu.hash, so don't
|
||||
# use it there
|
||||
%patch11
|
||||
%patch12
|
||||
%endif
|
||||
%patch14
|
||||
%patch18
|
||||
%patch22
|
||||
%patch34 -p1
|
||||
%patch35 -p1
|
||||
%patch36 -p1
|
||||
%if "%{TARGET}" == "avr"
|
||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
%patch90
|
||||
@ -250,6 +245,9 @@ cd build-dir
|
||||
--enable-compressed-debug-sections=gas \
|
||||
%endif
|
||||
--enable-new-dtags \
|
||||
%if "%{TARGET}" != "mips"
|
||||
--enable-default-hash-style=both \
|
||||
%endif
|
||||
--enable-shared
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
# force reconfiguring (???)
|
||||
@ -289,7 +287,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
|
||||
%define TARGET_OS %{TARGET}
|
||||
%else
|
||||
%if "%{TARGET}" == "epiphany" || "%{TARGET}" == "riscv32" || "%{TARGET}" == "riscv64" || "%{TARGET}" == "rx"
|
||||
%if "%{TARGET}" == "epiphany" || "%{TARGET}" == "riscv32" || "%{TARGET}" == "rx"
|
||||
%define TARGET_OS %{TARGET}-elf
|
||||
%else
|
||||
%if "%{TARGET}" == "arm"
|
||||
@ -314,6 +312,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
--with-sysroot=/usr/spu \
|
||||
%else
|
||||
--with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \
|
||||
%endif
|
||||
%if "%{TARGET}" != "mips"
|
||||
--enable-default-hash-style=both \
|
||||
%endif
|
||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
|
@ -1,3 +1,36 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 6 16:01:24 UTC 2018 - matz@suse.com
|
||||
|
||||
- Add binutils-pr22868.diff to fix testsuite fails in LLVM.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 26 11:03:07 UTC 2018 - schwab@suse.de
|
||||
|
||||
- Update to binutils 2.30
|
||||
* Add --debug-dump=links option to readelf and --dwarf=links option to objdump
|
||||
which displays the contents of any .gnu_debuglink or .gnu_debugaltlink
|
||||
sections.
|
||||
Add a --debug-dump=follow-links option to readelf and a --dwarf=follow-links
|
||||
option to objdump which causes indirect links into separate debug info files
|
||||
to be followed when dumping other DWARF sections.
|
||||
* Add support for loaction views in DWARF debug line information.
|
||||
* Add -z separate-code to generate separate code PT_LOAD segment.
|
||||
* Add "-z undefs" command line option as the inverse of the "-z defs" option.
|
||||
* Add -z globalaudit command line option to force audit libraries to be run
|
||||
for every dynamic object loaded by an executable - provided that the loader
|
||||
supports this functionality.
|
||||
* Tighten linker script grammar around file name specifiers to prevent the use
|
||||
of SORT_BY_ALIGNMENT and SORT_BY_INIT_PRIORITY on filenames. These would
|
||||
previously be accepted but had no effect.
|
||||
* The EXCLUDE_FILE directive can now be placed within any SORT_* directive
|
||||
within input section lists.
|
||||
- binutils-2.30-branch.diff: 2.30 branch @4cd0043413
|
||||
- riscv-wrap-relax.patch: Fix linker relaxation with --wrap
|
||||
- Remove use-hashtype-both-by-default.diff, use
|
||||
--enable-default-hash-style=both instead
|
||||
- Remove binutils-2.29-branch.diff, s390x-8fe09d7.diff
|
||||
- Use riscv64-suse-linux as target for cross-riscv64-binutils
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 26 13:40:13 UTC 2018 - dimstar@opensuse.org
|
||||
|
||||
|
@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
|
||||
%else
|
||||
BuildRequires: zlib-devel
|
||||
%endif
|
||||
Version: 2.29.1
|
||||
Version: 2.30
|
||||
Release: 0
|
||||
#
|
||||
# RUN_TESTS
|
||||
@ -76,13 +76,13 @@ Obsoletes: binutils-64bit
|
||||
%endif
|
||||
#
|
||||
Summary: GNU Binutils
|
||||
License: GFDL-1.3 and GPL-3.0+
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
Source: binutils-%{version}.tar.bz2
|
||||
Source1: pre_checkin.sh
|
||||
Source2: README.First-for.SuSE.packagers
|
||||
Source3: baselibs.conf
|
||||
Patch: binutils-2.29-branch.diff
|
||||
Patch: binutils-2.30-branch.diff
|
||||
Patch3: binutils-skip-rpaths.patch
|
||||
Patch4: s390-biarch.diff
|
||||
Patch5: x86-64-biarch.patch
|
||||
@ -90,14 +90,13 @@ Patch6: unit-at-a-time.patch
|
||||
Patch8: ld-relro.diff
|
||||
Patch9: testsuite.diff
|
||||
Patch10: enable-targets-gold.diff
|
||||
Patch11: use-hashtype-both-by-default.diff
|
||||
Patch12: s390-pic-dso.diff
|
||||
Patch14: binutils-build-as-needed.diff
|
||||
Patch18: gold-depend-on-opcodes.diff
|
||||
Patch22: binutils-bfd_h.patch
|
||||
Patch34: aarch64-common-pagesize.patch
|
||||
# upstream typo fix
|
||||
Patch35: s390x-8fe09d7.diff
|
||||
Patch35: riscv-wrap-relax.patch
|
||||
Patch36: binutils-pr22868.diff
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
Patch93: cross-avr-size.patch
|
||||
@ -112,7 +111,7 @@ to compile a program or kernel.
|
||||
|
||||
%package gold
|
||||
Summary: The gold linker
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
Requires: binutils = %{version}-%{release}
|
||||
PreReq: update-alternatives
|
||||
@ -129,7 +128,7 @@ a drop-in replacement for the older GNU linker.
|
||||
|
||||
%package devel
|
||||
Summary: GNU binutils (BFD development files)
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: binutils = %{version}-%{release}
|
||||
Requires: zlib-devel
|
||||
@ -162,17 +161,13 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch8
|
||||
%patch9
|
||||
%patch10
|
||||
%if "%{TARGET}" != "mips"
|
||||
# The MIPS ABI is incompatible with .gnu.hash, so don't
|
||||
# use it there
|
||||
%patch11
|
||||
%patch12
|
||||
%endif
|
||||
%patch14
|
||||
%patch18
|
||||
%patch22
|
||||
%patch34 -p1
|
||||
%patch35 -p1
|
||||
%patch36 -p1
|
||||
%if "%{TARGET}" == "avr"
|
||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
%patch90
|
||||
@ -250,6 +245,9 @@ cd build-dir
|
||||
--enable-compressed-debug-sections=gas \
|
||||
%endif
|
||||
--enable-new-dtags \
|
||||
%if "%{TARGET}" != "mips"
|
||||
--enable-default-hash-style=both \
|
||||
%endif
|
||||
--enable-shared
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
# force reconfiguring (???)
|
||||
@ -289,7 +287,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
|
||||
%define TARGET_OS %{TARGET}
|
||||
%else
|
||||
%if "%{TARGET}" == "epiphany" || "%{TARGET}" == "riscv32" || "%{TARGET}" == "riscv64" || "%{TARGET}" == "rx"
|
||||
%if "%{TARGET}" == "epiphany" || "%{TARGET}" == "riscv32" || "%{TARGET}" == "rx"
|
||||
%define TARGET_OS %{TARGET}-elf
|
||||
%else
|
||||
%if "%{TARGET}" == "arm"
|
||||
@ -314,6 +312,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
--with-sysroot=/usr/spu \
|
||||
%else
|
||||
--with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \
|
||||
%endif
|
||||
%if "%{TARGET}" != "mips"
|
||||
--enable-default-hash-style=both \
|
||||
%endif
|
||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
|
@ -1,3 +1,36 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 6 16:01:24 UTC 2018 - matz@suse.com
|
||||
|
||||
- Add binutils-pr22868.diff to fix testsuite fails in LLVM.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 26 11:03:07 UTC 2018 - schwab@suse.de
|
||||
|
||||
- Update to binutils 2.30
|
||||
* Add --debug-dump=links option to readelf and --dwarf=links option to objdump
|
||||
which displays the contents of any .gnu_debuglink or .gnu_debugaltlink
|
||||
sections.
|
||||
Add a --debug-dump=follow-links option to readelf and a --dwarf=follow-links
|
||||
option to objdump which causes indirect links into separate debug info files
|
||||
to be followed when dumping other DWARF sections.
|
||||
* Add support for loaction views in DWARF debug line information.
|
||||
* Add -z separate-code to generate separate code PT_LOAD segment.
|
||||
* Add "-z undefs" command line option as the inverse of the "-z defs" option.
|
||||
* Add -z globalaudit command line option to force audit libraries to be run
|
||||
for every dynamic object loaded by an executable - provided that the loader
|
||||
supports this functionality.
|
||||
* Tighten linker script grammar around file name specifiers to prevent the use
|
||||
of SORT_BY_ALIGNMENT and SORT_BY_INIT_PRIORITY on filenames. These would
|
||||
previously be accepted but had no effect.
|
||||
* The EXCLUDE_FILE directive can now be placed within any SORT_* directive
|
||||
within input section lists.
|
||||
- binutils-2.30-branch.diff: 2.30 branch @4cd0043413
|
||||
- riscv-wrap-relax.patch: Fix linker relaxation with --wrap
|
||||
- Remove use-hashtype-both-by-default.diff, use
|
||||
--enable-default-hash-style=both instead
|
||||
- Remove binutils-2.29-branch.diff, s390x-8fe09d7.diff
|
||||
- Use riscv64-suse-linux as target for cross-riscv64-binutils
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 26 13:40:13 UTC 2018 - dimstar@opensuse.org
|
||||
|
||||
|
@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
|
||||
%else
|
||||
BuildRequires: zlib-devel
|
||||
%endif
|
||||
Version: 2.29.1
|
||||
Version: 2.30
|
||||
Release: 0
|
||||
#
|
||||
# RUN_TESTS
|
||||
@ -76,13 +76,13 @@ Obsoletes: binutils-64bit
|
||||
%endif
|
||||
#
|
||||
Summary: GNU Binutils
|
||||
License: GFDL-1.3 and GPL-3.0+
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
Source: binutils-%{version}.tar.bz2
|
||||
Source1: pre_checkin.sh
|
||||
Source2: README.First-for.SuSE.packagers
|
||||
Source3: baselibs.conf
|
||||
Patch: binutils-2.29-branch.diff
|
||||
Patch: binutils-2.30-branch.diff
|
||||
Patch3: binutils-skip-rpaths.patch
|
||||
Patch4: s390-biarch.diff
|
||||
Patch5: x86-64-biarch.patch
|
||||
@ -90,14 +90,13 @@ Patch6: unit-at-a-time.patch
|
||||
Patch8: ld-relro.diff
|
||||
Patch9: testsuite.diff
|
||||
Patch10: enable-targets-gold.diff
|
||||
Patch11: use-hashtype-both-by-default.diff
|
||||
Patch12: s390-pic-dso.diff
|
||||
Patch14: binutils-build-as-needed.diff
|
||||
Patch18: gold-depend-on-opcodes.diff
|
||||
Patch22: binutils-bfd_h.patch
|
||||
Patch34: aarch64-common-pagesize.patch
|
||||
# upstream typo fix
|
||||
Patch35: s390x-8fe09d7.diff
|
||||
Patch35: riscv-wrap-relax.patch
|
||||
Patch36: binutils-pr22868.diff
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
Patch93: cross-avr-size.patch
|
||||
@ -112,7 +111,7 @@ to compile a program or kernel.
|
||||
|
||||
%package gold
|
||||
Summary: The gold linker
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
Requires: binutils = %{version}-%{release}
|
||||
PreReq: update-alternatives
|
||||
@ -129,7 +128,7 @@ a drop-in replacement for the older GNU linker.
|
||||
|
||||
%package devel
|
||||
Summary: GNU binutils (BFD development files)
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: binutils = %{version}-%{release}
|
||||
Requires: zlib-devel
|
||||
@ -162,17 +161,13 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch8
|
||||
%patch9
|
||||
%patch10
|
||||
%if "%{TARGET}" != "mips"
|
||||
# The MIPS ABI is incompatible with .gnu.hash, so don't
|
||||
# use it there
|
||||
%patch11
|
||||
%patch12
|
||||
%endif
|
||||
%patch14
|
||||
%patch18
|
||||
%patch22
|
||||
%patch34 -p1
|
||||
%patch35 -p1
|
||||
%patch36 -p1
|
||||
%if "%{TARGET}" == "avr"
|
||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
%patch90
|
||||
@ -250,6 +245,9 @@ cd build-dir
|
||||
--enable-compressed-debug-sections=gas \
|
||||
%endif
|
||||
--enable-new-dtags \
|
||||
%if "%{TARGET}" != "mips"
|
||||
--enable-default-hash-style=both \
|
||||
%endif
|
||||
--enable-shared
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
# force reconfiguring (???)
|
||||
@ -289,7 +287,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
|
||||
%define TARGET_OS %{TARGET}
|
||||
%else
|
||||
%if "%{TARGET}" == "epiphany" || "%{TARGET}" == "riscv32" || "%{TARGET}" == "riscv64" || "%{TARGET}" == "rx"
|
||||
%if "%{TARGET}" == "epiphany" || "%{TARGET}" == "riscv32" || "%{TARGET}" == "rx"
|
||||
%define TARGET_OS %{TARGET}-elf
|
||||
%else
|
||||
%if "%{TARGET}" == "arm"
|
||||
@ -314,6 +312,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
--with-sysroot=/usr/spu \
|
||||
%else
|
||||
--with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \
|
||||
%endif
|
||||
%if "%{TARGET}" != "mips"
|
||||
--enable-default-hash-style=both \
|
||||
%endif
|
||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
|
@ -1,3 +1,36 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 6 16:01:24 UTC 2018 - matz@suse.com
|
||||
|
||||
- Add binutils-pr22868.diff to fix testsuite fails in LLVM.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 26 11:03:07 UTC 2018 - schwab@suse.de
|
||||
|
||||
- Update to binutils 2.30
|
||||
* Add --debug-dump=links option to readelf and --dwarf=links option to objdump
|
||||
which displays the contents of any .gnu_debuglink or .gnu_debugaltlink
|
||||
sections.
|
||||
Add a --debug-dump=follow-links option to readelf and a --dwarf=follow-links
|
||||
option to objdump which causes indirect links into separate debug info files
|
||||
to be followed when dumping other DWARF sections.
|
||||
* Add support for loaction views in DWARF debug line information.
|
||||
* Add -z separate-code to generate separate code PT_LOAD segment.
|
||||
* Add "-z undefs" command line option as the inverse of the "-z defs" option.
|
||||
* Add -z globalaudit command line option to force audit libraries to be run
|
||||
for every dynamic object loaded by an executable - provided that the loader
|
||||
supports this functionality.
|
||||
* Tighten linker script grammar around file name specifiers to prevent the use
|
||||
of SORT_BY_ALIGNMENT and SORT_BY_INIT_PRIORITY on filenames. These would
|
||||
previously be accepted but had no effect.
|
||||
* The EXCLUDE_FILE directive can now be placed within any SORT_* directive
|
||||
within input section lists.
|
||||
- binutils-2.30-branch.diff: 2.30 branch @4cd0043413
|
||||
- riscv-wrap-relax.patch: Fix linker relaxation with --wrap
|
||||
- Remove use-hashtype-both-by-default.diff, use
|
||||
--enable-default-hash-style=both instead
|
||||
- Remove binutils-2.29-branch.diff, s390x-8fe09d7.diff
|
||||
- Use riscv64-suse-linux as target for cross-riscv64-binutils
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 26 13:40:13 UTC 2018 - dimstar@opensuse.org
|
||||
|
||||
|
@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
|
||||
%else
|
||||
BuildRequires: zlib-devel
|
||||
%endif
|
||||
Version: 2.29.1
|
||||
Version: 2.30
|
||||
Release: 0
|
||||
#
|
||||
# RUN_TESTS
|
||||
@ -76,13 +76,13 @@ Obsoletes: binutils-64bit
|
||||
%endif
|
||||
#
|
||||
Summary: GNU Binutils
|
||||
License: GFDL-1.3 and GPL-3.0+
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
Source: binutils-%{version}.tar.bz2
|
||||
Source1: pre_checkin.sh
|
||||
Source2: README.First-for.SuSE.packagers
|
||||
Source3: baselibs.conf
|
||||
Patch: binutils-2.29-branch.diff
|
||||
Patch: binutils-2.30-branch.diff
|
||||
Patch3: binutils-skip-rpaths.patch
|
||||
Patch4: s390-biarch.diff
|
||||
Patch5: x86-64-biarch.patch
|
||||
@ -90,14 +90,13 @@ Patch6: unit-at-a-time.patch
|
||||
Patch8: ld-relro.diff
|
||||
Patch9: testsuite.diff
|
||||
Patch10: enable-targets-gold.diff
|
||||
Patch11: use-hashtype-both-by-default.diff
|
||||
Patch12: s390-pic-dso.diff
|
||||
Patch14: binutils-build-as-needed.diff
|
||||
Patch18: gold-depend-on-opcodes.diff
|
||||
Patch22: binutils-bfd_h.patch
|
||||
Patch34: aarch64-common-pagesize.patch
|
||||
# upstream typo fix
|
||||
Patch35: s390x-8fe09d7.diff
|
||||
Patch35: riscv-wrap-relax.patch
|
||||
Patch36: binutils-pr22868.diff
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
Patch93: cross-avr-size.patch
|
||||
@ -112,7 +111,7 @@ to compile a program or kernel.
|
||||
|
||||
%package gold
|
||||
Summary: The gold linker
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
Requires: binutils = %{version}-%{release}
|
||||
PreReq: update-alternatives
|
||||
@ -129,7 +128,7 @@ a drop-in replacement for the older GNU linker.
|
||||
|
||||
%package devel
|
||||
Summary: GNU binutils (BFD development files)
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: binutils = %{version}-%{release}
|
||||
Requires: zlib-devel
|
||||
@ -162,17 +161,13 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch8
|
||||
%patch9
|
||||
%patch10
|
||||
%if "%{TARGET}" != "mips"
|
||||
# The MIPS ABI is incompatible with .gnu.hash, so don't
|
||||
# use it there
|
||||
%patch11
|
||||
%patch12
|
||||
%endif
|
||||
%patch14
|
||||
%patch18
|
||||
%patch22
|
||||
%patch34 -p1
|
||||
%patch35 -p1
|
||||
%patch36 -p1
|
||||
%if "%{TARGET}" == "avr"
|
||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
%patch90
|
||||
@ -250,6 +245,9 @@ cd build-dir
|
||||
--enable-compressed-debug-sections=gas \
|
||||
%endif
|
||||
--enable-new-dtags \
|
||||
%if "%{TARGET}" != "mips"
|
||||
--enable-default-hash-style=both \
|
||||
%endif
|
||||
--enable-shared
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
# force reconfiguring (???)
|
||||
@ -289,7 +287,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
|
||||
%define TARGET_OS %{TARGET}
|
||||
%else
|
||||
%if "%{TARGET}" == "epiphany" || "%{TARGET}" == "riscv32" || "%{TARGET}" == "riscv64" || "%{TARGET}" == "rx"
|
||||
%if "%{TARGET}" == "epiphany" || "%{TARGET}" == "riscv32" || "%{TARGET}" == "rx"
|
||||
%define TARGET_OS %{TARGET}-elf
|
||||
%else
|
||||
%if "%{TARGET}" == "arm"
|
||||
@ -314,6 +312,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
--with-sysroot=/usr/spu \
|
||||
%else
|
||||
--with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \
|
||||
%endif
|
||||
%if "%{TARGET}" != "mips"
|
||||
--enable-default-hash-style=both \
|
||||
%endif
|
||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
|
@ -1,3 +1,36 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 6 16:01:24 UTC 2018 - matz@suse.com
|
||||
|
||||
- Add binutils-pr22868.diff to fix testsuite fails in LLVM.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 26 11:03:07 UTC 2018 - schwab@suse.de
|
||||
|
||||
- Update to binutils 2.30
|
||||
* Add --debug-dump=links option to readelf and --dwarf=links option to objdump
|
||||
which displays the contents of any .gnu_debuglink or .gnu_debugaltlink
|
||||
sections.
|
||||
Add a --debug-dump=follow-links option to readelf and a --dwarf=follow-links
|
||||
option to objdump which causes indirect links into separate debug info files
|
||||
to be followed when dumping other DWARF sections.
|
||||
* Add support for loaction views in DWARF debug line information.
|
||||
* Add -z separate-code to generate separate code PT_LOAD segment.
|
||||
* Add "-z undefs" command line option as the inverse of the "-z defs" option.
|
||||
* Add -z globalaudit command line option to force audit libraries to be run
|
||||
for every dynamic object loaded by an executable - provided that the loader
|
||||
supports this functionality.
|
||||
* Tighten linker script grammar around file name specifiers to prevent the use
|
||||
of SORT_BY_ALIGNMENT and SORT_BY_INIT_PRIORITY on filenames. These would
|
||||
previously be accepted but had no effect.
|
||||
* The EXCLUDE_FILE directive can now be placed within any SORT_* directive
|
||||
within input section lists.
|
||||
- binutils-2.30-branch.diff: 2.30 branch @4cd0043413
|
||||
- riscv-wrap-relax.patch: Fix linker relaxation with --wrap
|
||||
- Remove use-hashtype-both-by-default.diff, use
|
||||
--enable-default-hash-style=both instead
|
||||
- Remove binutils-2.29-branch.diff, s390x-8fe09d7.diff
|
||||
- Use riscv64-suse-linux as target for cross-riscv64-binutils
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 26 13:40:13 UTC 2018 - dimstar@opensuse.org
|
||||
|
||||
|
@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
|
||||
%else
|
||||
BuildRequires: zlib-devel
|
||||
%endif
|
||||
Version: 2.29.1
|
||||
Version: 2.30
|
||||
Release: 0
|
||||
#
|
||||
# RUN_TESTS
|
||||
@ -76,13 +76,13 @@ Obsoletes: binutils-64bit
|
||||
%endif
|
||||
#
|
||||
Summary: GNU Binutils
|
||||
License: GFDL-1.3 and GPL-3.0+
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
Source: binutils-%{version}.tar.bz2
|
||||
Source1: pre_checkin.sh
|
||||
Source2: README.First-for.SuSE.packagers
|
||||
Source3: baselibs.conf
|
||||
Patch: binutils-2.29-branch.diff
|
||||
Patch: binutils-2.30-branch.diff
|
||||
Patch3: binutils-skip-rpaths.patch
|
||||
Patch4: s390-biarch.diff
|
||||
Patch5: x86-64-biarch.patch
|
||||
@ -90,14 +90,13 @@ Patch6: unit-at-a-time.patch
|
||||
Patch8: ld-relro.diff
|
||||
Patch9: testsuite.diff
|
||||
Patch10: enable-targets-gold.diff
|
||||
Patch11: use-hashtype-both-by-default.diff
|
||||
Patch12: s390-pic-dso.diff
|
||||
Patch14: binutils-build-as-needed.diff
|
||||
Patch18: gold-depend-on-opcodes.diff
|
||||
Patch22: binutils-bfd_h.patch
|
||||
Patch34: aarch64-common-pagesize.patch
|
||||
# upstream typo fix
|
||||
Patch35: s390x-8fe09d7.diff
|
||||
Patch35: riscv-wrap-relax.patch
|
||||
Patch36: binutils-pr22868.diff
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
Patch93: cross-avr-size.patch
|
||||
@ -112,7 +111,7 @@ to compile a program or kernel.
|
||||
|
||||
%package gold
|
||||
Summary: The gold linker
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
Requires: binutils = %{version}-%{release}
|
||||
PreReq: update-alternatives
|
||||
@ -129,7 +128,7 @@ a drop-in replacement for the older GNU linker.
|
||||
|
||||
%package devel
|
||||
Summary: GNU binutils (BFD development files)
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: binutils = %{version}-%{release}
|
||||
Requires: zlib-devel
|
||||
@ -162,17 +161,13 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch8
|
||||
%patch9
|
||||
%patch10
|
||||
%if "%{TARGET}" != "mips"
|
||||
# The MIPS ABI is incompatible with .gnu.hash, so don't
|
||||
# use it there
|
||||
%patch11
|
||||
%patch12
|
||||
%endif
|
||||
%patch14
|
||||
%patch18
|
||||
%patch22
|
||||
%patch34 -p1
|
||||
%patch35 -p1
|
||||
%patch36 -p1
|
||||
%if "%{TARGET}" == "avr"
|
||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
%patch90
|
||||
@ -250,6 +245,9 @@ cd build-dir
|
||||
--enable-compressed-debug-sections=gas \
|
||||
%endif
|
||||
--enable-new-dtags \
|
||||
%if "%{TARGET}" != "mips"
|
||||
--enable-default-hash-style=both \
|
||||
%endif
|
||||
--enable-shared
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
# force reconfiguring (???)
|
||||
@ -289,7 +287,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
|
||||
%define TARGET_OS %{TARGET}
|
||||
%else
|
||||
%if "%{TARGET}" == "epiphany" || "%{TARGET}" == "riscv32" || "%{TARGET}" == "riscv64" || "%{TARGET}" == "rx"
|
||||
%if "%{TARGET}" == "epiphany" || "%{TARGET}" == "riscv32" || "%{TARGET}" == "rx"
|
||||
%define TARGET_OS %{TARGET}-elf
|
||||
%else
|
||||
%if "%{TARGET}" == "arm"
|
||||
@ -314,6 +312,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
--with-sysroot=/usr/spu \
|
||||
%else
|
||||
--with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \
|
||||
%endif
|
||||
%if "%{TARGET}" != "mips"
|
||||
--enable-default-hash-style=both \
|
||||
%endif
|
||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
|
@ -1,3 +1,36 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 6 16:01:24 UTC 2018 - matz@suse.com
|
||||
|
||||
- Add binutils-pr22868.diff to fix testsuite fails in LLVM.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 26 11:03:07 UTC 2018 - schwab@suse.de
|
||||
|
||||
- Update to binutils 2.30
|
||||
* Add --debug-dump=links option to readelf and --dwarf=links option to objdump
|
||||
which displays the contents of any .gnu_debuglink or .gnu_debugaltlink
|
||||
sections.
|
||||
Add a --debug-dump=follow-links option to readelf and a --dwarf=follow-links
|
||||
option to objdump which causes indirect links into separate debug info files
|
||||
to be followed when dumping other DWARF sections.
|
||||
* Add support for loaction views in DWARF debug line information.
|
||||
* Add -z separate-code to generate separate code PT_LOAD segment.
|
||||
* Add "-z undefs" command line option as the inverse of the "-z defs" option.
|
||||
* Add -z globalaudit command line option to force audit libraries to be run
|
||||
for every dynamic object loaded by an executable - provided that the loader
|
||||
supports this functionality.
|
||||
* Tighten linker script grammar around file name specifiers to prevent the use
|
||||
of SORT_BY_ALIGNMENT and SORT_BY_INIT_PRIORITY on filenames. These would
|
||||
previously be accepted but had no effect.
|
||||
* The EXCLUDE_FILE directive can now be placed within any SORT_* directive
|
||||
within input section lists.
|
||||
- binutils-2.30-branch.diff: 2.30 branch @4cd0043413
|
||||
- riscv-wrap-relax.patch: Fix linker relaxation with --wrap
|
||||
- Remove use-hashtype-both-by-default.diff, use
|
||||
--enable-default-hash-style=both instead
|
||||
- Remove binutils-2.29-branch.diff, s390x-8fe09d7.diff
|
||||
- Use riscv64-suse-linux as target for cross-riscv64-binutils
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 26 13:40:13 UTC 2018 - dimstar@opensuse.org
|
||||
|
||||
|
@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
|
||||
%else
|
||||
BuildRequires: zlib-devel
|
||||
%endif
|
||||
Version: 2.29.1
|
||||
Version: 2.30
|
||||
Release: 0
|
||||
#
|
||||
# RUN_TESTS
|
||||
@ -76,13 +76,13 @@ Obsoletes: binutils-64bit
|
||||
%endif
|
||||
#
|
||||
Summary: GNU Binutils
|
||||
License: GFDL-1.3 and GPL-3.0+
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
Source: binutils-%{version}.tar.bz2
|
||||
Source1: pre_checkin.sh
|
||||
Source2: README.First-for.SuSE.packagers
|
||||
Source3: baselibs.conf
|
||||
Patch: binutils-2.29-branch.diff
|
||||
Patch: binutils-2.30-branch.diff
|
||||
Patch3: binutils-skip-rpaths.patch
|
||||
Patch4: s390-biarch.diff
|
||||
Patch5: x86-64-biarch.patch
|
||||
@ -90,14 +90,13 @@ Patch6: unit-at-a-time.patch
|
||||
Patch8: ld-relro.diff
|
||||
Patch9: testsuite.diff
|
||||
Patch10: enable-targets-gold.diff
|
||||
Patch11: use-hashtype-both-by-default.diff
|
||||
Patch12: s390-pic-dso.diff
|
||||
Patch14: binutils-build-as-needed.diff
|
||||
Patch18: gold-depend-on-opcodes.diff
|
||||
Patch22: binutils-bfd_h.patch
|
||||
Patch34: aarch64-common-pagesize.patch
|
||||
# upstream typo fix
|
||||
Patch35: s390x-8fe09d7.diff
|
||||
Patch35: riscv-wrap-relax.patch
|
||||
Patch36: binutils-pr22868.diff
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
Patch93: cross-avr-size.patch
|
||||
@ -112,7 +111,7 @@ to compile a program or kernel.
|
||||
|
||||
%package gold
|
||||
Summary: The gold linker
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
Requires: binutils = %{version}-%{release}
|
||||
PreReq: update-alternatives
|
||||
@ -129,7 +128,7 @@ a drop-in replacement for the older GNU linker.
|
||||
|
||||
%package devel
|
||||
Summary: GNU binutils (BFD development files)
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: binutils = %{version}-%{release}
|
||||
Requires: zlib-devel
|
||||
@ -162,17 +161,13 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch8
|
||||
%patch9
|
||||
%patch10
|
||||
%if "%{TARGET}" != "mips"
|
||||
# The MIPS ABI is incompatible with .gnu.hash, so don't
|
||||
# use it there
|
||||
%patch11
|
||||
%patch12
|
||||
%endif
|
||||
%patch14
|
||||
%patch18
|
||||
%patch22
|
||||
%patch34 -p1
|
||||
%patch35 -p1
|
||||
%patch36 -p1
|
||||
%if "%{TARGET}" == "avr"
|
||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
%patch90
|
||||
@ -250,6 +245,9 @@ cd build-dir
|
||||
--enable-compressed-debug-sections=gas \
|
||||
%endif
|
||||
--enable-new-dtags \
|
||||
%if "%{TARGET}" != "mips"
|
||||
--enable-default-hash-style=both \
|
||||
%endif
|
||||
--enable-shared
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
# force reconfiguring (???)
|
||||
@ -289,7 +287,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
|
||||
%define TARGET_OS %{TARGET}
|
||||
%else
|
||||
%if "%{TARGET}" == "epiphany" || "%{TARGET}" == "riscv32" || "%{TARGET}" == "riscv64" || "%{TARGET}" == "rx"
|
||||
%if "%{TARGET}" == "epiphany" || "%{TARGET}" == "riscv32" || "%{TARGET}" == "rx"
|
||||
%define TARGET_OS %{TARGET}-elf
|
||||
%else
|
||||
%if "%{TARGET}" == "arm"
|
||||
@ -314,6 +312,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
--with-sysroot=/usr/spu \
|
||||
%else
|
||||
--with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \
|
||||
%endif
|
||||
%if "%{TARGET}" != "mips"
|
||||
--enable-default-hash-style=both \
|
||||
%endif
|
||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
|
@ -1,3 +1,36 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 6 16:01:24 UTC 2018 - matz@suse.com
|
||||
|
||||
- Add binutils-pr22868.diff to fix testsuite fails in LLVM.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 26 11:03:07 UTC 2018 - schwab@suse.de
|
||||
|
||||
- Update to binutils 2.30
|
||||
* Add --debug-dump=links option to readelf and --dwarf=links option to objdump
|
||||
which displays the contents of any .gnu_debuglink or .gnu_debugaltlink
|
||||
sections.
|
||||
Add a --debug-dump=follow-links option to readelf and a --dwarf=follow-links
|
||||
option to objdump which causes indirect links into separate debug info files
|
||||
to be followed when dumping other DWARF sections.
|
||||
* Add support for loaction views in DWARF debug line information.
|
||||
* Add -z separate-code to generate separate code PT_LOAD segment.
|
||||
* Add "-z undefs" command line option as the inverse of the "-z defs" option.
|
||||
* Add -z globalaudit command line option to force audit libraries to be run
|
||||
for every dynamic object loaded by an executable - provided that the loader
|
||||
supports this functionality.
|
||||
* Tighten linker script grammar around file name specifiers to prevent the use
|
||||
of SORT_BY_ALIGNMENT and SORT_BY_INIT_PRIORITY on filenames. These would
|
||||
previously be accepted but had no effect.
|
||||
* The EXCLUDE_FILE directive can now be placed within any SORT_* directive
|
||||
within input section lists.
|
||||
- binutils-2.30-branch.diff: 2.30 branch @4cd0043413
|
||||
- riscv-wrap-relax.patch: Fix linker relaxation with --wrap
|
||||
- Remove use-hashtype-both-by-default.diff, use
|
||||
--enable-default-hash-style=both instead
|
||||
- Remove binutils-2.29-branch.diff, s390x-8fe09d7.diff
|
||||
- Use riscv64-suse-linux as target for cross-riscv64-binutils
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 26 13:40:13 UTC 2018 - dimstar@opensuse.org
|
||||
|
||||
|
@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
|
||||
%else
|
||||
BuildRequires: zlib-devel
|
||||
%endif
|
||||
Version: 2.29.1
|
||||
Version: 2.30
|
||||
Release: 0
|
||||
#
|
||||
# RUN_TESTS
|
||||
@ -76,13 +76,13 @@ Obsoletes: binutils-64bit
|
||||
%endif
|
||||
#
|
||||
Summary: GNU Binutils
|
||||
License: GFDL-1.3 and GPL-3.0+
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
Source: binutils-%{version}.tar.bz2
|
||||
Source1: pre_checkin.sh
|
||||
Source2: README.First-for.SuSE.packagers
|
||||
Source3: baselibs.conf
|
||||
Patch: binutils-2.29-branch.diff
|
||||
Patch: binutils-2.30-branch.diff
|
||||
Patch3: binutils-skip-rpaths.patch
|
||||
Patch4: s390-biarch.diff
|
||||
Patch5: x86-64-biarch.patch
|
||||
@ -90,14 +90,13 @@ Patch6: unit-at-a-time.patch
|
||||
Patch8: ld-relro.diff
|
||||
Patch9: testsuite.diff
|
||||
Patch10: enable-targets-gold.diff
|
||||
Patch11: use-hashtype-both-by-default.diff
|
||||
Patch12: s390-pic-dso.diff
|
||||
Patch14: binutils-build-as-needed.diff
|
||||
Patch18: gold-depend-on-opcodes.diff
|
||||
Patch22: binutils-bfd_h.patch
|
||||
Patch34: aarch64-common-pagesize.patch
|
||||
# upstream typo fix
|
||||
Patch35: s390x-8fe09d7.diff
|
||||
Patch35: riscv-wrap-relax.patch
|
||||
Patch36: binutils-pr22868.diff
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
Patch93: cross-avr-size.patch
|
||||
@ -112,7 +111,7 @@ to compile a program or kernel.
|
||||
|
||||
%package gold
|
||||
Summary: The gold linker
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
Requires: binutils = %{version}-%{release}
|
||||
PreReq: update-alternatives
|
||||
@ -129,7 +128,7 @@ a drop-in replacement for the older GNU linker.
|
||||
|
||||
%package devel
|
||||
Summary: GNU binutils (BFD development files)
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: binutils = %{version}-%{release}
|
||||
Requires: zlib-devel
|
||||
@ -162,17 +161,13 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch8
|
||||
%patch9
|
||||
%patch10
|
||||
%if "%{TARGET}" != "mips"
|
||||
# The MIPS ABI is incompatible with .gnu.hash, so don't
|
||||
# use it there
|
||||
%patch11
|
||||
%patch12
|
||||
%endif
|
||||
%patch14
|
||||
%patch18
|
||||
%patch22
|
||||
%patch34 -p1
|
||||
%patch35 -p1
|
||||
%patch36 -p1
|
||||
%if "%{TARGET}" == "avr"
|
||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
%patch90
|
||||
@ -250,6 +245,9 @@ cd build-dir
|
||||
--enable-compressed-debug-sections=gas \
|
||||
%endif
|
||||
--enable-new-dtags \
|
||||
%if "%{TARGET}" != "mips"
|
||||
--enable-default-hash-style=both \
|
||||
%endif
|
||||
--enable-shared
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
# force reconfiguring (???)
|
||||
@ -289,7 +287,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
|
||||
%define TARGET_OS %{TARGET}
|
||||
%else
|
||||
%if "%{TARGET}" == "epiphany" || "%{TARGET}" == "riscv32" || "%{TARGET}" == "riscv64" || "%{TARGET}" == "rx"
|
||||
%if "%{TARGET}" == "epiphany" || "%{TARGET}" == "riscv32" || "%{TARGET}" == "rx"
|
||||
%define TARGET_OS %{TARGET}-elf
|
||||
%else
|
||||
%if "%{TARGET}" == "arm"
|
||||
@ -314,6 +312,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
--with-sysroot=/usr/spu \
|
||||
%else
|
||||
--with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \
|
||||
%endif
|
||||
%if "%{TARGET}" != "mips"
|
||||
--enable-default-hash-style=both \
|
||||
%endif
|
||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
|
@ -1,3 +1,36 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 6 16:01:24 UTC 2018 - matz@suse.com
|
||||
|
||||
- Add binutils-pr22868.diff to fix testsuite fails in LLVM.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 26 11:03:07 UTC 2018 - schwab@suse.de
|
||||
|
||||
- Update to binutils 2.30
|
||||
* Add --debug-dump=links option to readelf and --dwarf=links option to objdump
|
||||
which displays the contents of any .gnu_debuglink or .gnu_debugaltlink
|
||||
sections.
|
||||
Add a --debug-dump=follow-links option to readelf and a --dwarf=follow-links
|
||||
option to objdump which causes indirect links into separate debug info files
|
||||
to be followed when dumping other DWARF sections.
|
||||
* Add support for loaction views in DWARF debug line information.
|
||||
* Add -z separate-code to generate separate code PT_LOAD segment.
|
||||
* Add "-z undefs" command line option as the inverse of the "-z defs" option.
|
||||
* Add -z globalaudit command line option to force audit libraries to be run
|
||||
for every dynamic object loaded by an executable - provided that the loader
|
||||
supports this functionality.
|
||||
* Tighten linker script grammar around file name specifiers to prevent the use
|
||||
of SORT_BY_ALIGNMENT and SORT_BY_INIT_PRIORITY on filenames. These would
|
||||
previously be accepted but had no effect.
|
||||
* The EXCLUDE_FILE directive can now be placed within any SORT_* directive
|
||||
within input section lists.
|
||||
- binutils-2.30-branch.diff: 2.30 branch @4cd0043413
|
||||
- riscv-wrap-relax.patch: Fix linker relaxation with --wrap
|
||||
- Remove use-hashtype-both-by-default.diff, use
|
||||
--enable-default-hash-style=both instead
|
||||
- Remove binutils-2.29-branch.diff, s390x-8fe09d7.diff
|
||||
- Use riscv64-suse-linux as target for cross-riscv64-binutils
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 26 13:40:13 UTC 2018 - dimstar@opensuse.org
|
||||
|
||||
|
@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
|
||||
%else
|
||||
BuildRequires: zlib-devel
|
||||
%endif
|
||||
Version: 2.29.1
|
||||
Version: 2.30
|
||||
Release: 0
|
||||
#
|
||||
# RUN_TESTS
|
||||
@ -76,13 +76,13 @@ Obsoletes: binutils-64bit
|
||||
%endif
|
||||
#
|
||||
Summary: GNU Binutils
|
||||
License: GFDL-1.3 and GPL-3.0+
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
Source: binutils-%{version}.tar.bz2
|
||||
Source1: pre_checkin.sh
|
||||
Source2: README.First-for.SuSE.packagers
|
||||
Source3: baselibs.conf
|
||||
Patch: binutils-2.29-branch.diff
|
||||
Patch: binutils-2.30-branch.diff
|
||||
Patch3: binutils-skip-rpaths.patch
|
||||
Patch4: s390-biarch.diff
|
||||
Patch5: x86-64-biarch.patch
|
||||
@ -90,14 +90,13 @@ Patch6: unit-at-a-time.patch
|
||||
Patch8: ld-relro.diff
|
||||
Patch9: testsuite.diff
|
||||
Patch10: enable-targets-gold.diff
|
||||
Patch11: use-hashtype-both-by-default.diff
|
||||
Patch12: s390-pic-dso.diff
|
||||
Patch14: binutils-build-as-needed.diff
|
||||
Patch18: gold-depend-on-opcodes.diff
|
||||
Patch22: binutils-bfd_h.patch
|
||||
Patch34: aarch64-common-pagesize.patch
|
||||
# upstream typo fix
|
||||
Patch35: s390x-8fe09d7.diff
|
||||
Patch35: riscv-wrap-relax.patch
|
||||
Patch36: binutils-pr22868.diff
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
Patch93: cross-avr-size.patch
|
||||
@ -112,7 +111,7 @@ to compile a program or kernel.
|
||||
|
||||
%package gold
|
||||
Summary: The gold linker
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
Requires: binutils = %{version}-%{release}
|
||||
PreReq: update-alternatives
|
||||
@ -129,7 +128,7 @@ a drop-in replacement for the older GNU linker.
|
||||
|
||||
%package devel
|
||||
Summary: GNU binutils (BFD development files)
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: binutils = %{version}-%{release}
|
||||
Requires: zlib-devel
|
||||
@ -162,17 +161,13 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch8
|
||||
%patch9
|
||||
%patch10
|
||||
%if "%{TARGET}" != "mips"
|
||||
# The MIPS ABI is incompatible with .gnu.hash, so don't
|
||||
# use it there
|
||||
%patch11
|
||||
%patch12
|
||||
%endif
|
||||
%patch14
|
||||
%patch18
|
||||
%patch22
|
||||
%patch34 -p1
|
||||
%patch35 -p1
|
||||
%patch36 -p1
|
||||
%if "%{TARGET}" == "avr"
|
||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
%patch90
|
||||
@ -250,6 +245,9 @@ cd build-dir
|
||||
--enable-compressed-debug-sections=gas \
|
||||
%endif
|
||||
--enable-new-dtags \
|
||||
%if "%{TARGET}" != "mips"
|
||||
--enable-default-hash-style=both \
|
||||
%endif
|
||||
--enable-shared
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
# force reconfiguring (???)
|
||||
@ -289,7 +287,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
|
||||
%define TARGET_OS %{TARGET}
|
||||
%else
|
||||
%if "%{TARGET}" == "epiphany" || "%{TARGET}" == "riscv32" || "%{TARGET}" == "riscv64" || "%{TARGET}" == "rx"
|
||||
%if "%{TARGET}" == "epiphany" || "%{TARGET}" == "riscv32" || "%{TARGET}" == "rx"
|
||||
%define TARGET_OS %{TARGET}-elf
|
||||
%else
|
||||
%if "%{TARGET}" == "arm"
|
||||
@ -314,6 +312,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
--with-sysroot=/usr/spu \
|
||||
%else
|
||||
--with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \
|
||||
%endif
|
||||
%if "%{TARGET}" != "mips"
|
||||
--enable-default-hash-style=both \
|
||||
%endif
|
||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
|
@ -1,3 +1,36 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 6 16:01:24 UTC 2018 - matz@suse.com
|
||||
|
||||
- Add binutils-pr22868.diff to fix testsuite fails in LLVM.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 26 11:03:07 UTC 2018 - schwab@suse.de
|
||||
|
||||
- Update to binutils 2.30
|
||||
* Add --debug-dump=links option to readelf and --dwarf=links option to objdump
|
||||
which displays the contents of any .gnu_debuglink or .gnu_debugaltlink
|
||||
sections.
|
||||
Add a --debug-dump=follow-links option to readelf and a --dwarf=follow-links
|
||||
option to objdump which causes indirect links into separate debug info files
|
||||
to be followed when dumping other DWARF sections.
|
||||
* Add support for loaction views in DWARF debug line information.
|
||||
* Add -z separate-code to generate separate code PT_LOAD segment.
|
||||
* Add "-z undefs" command line option as the inverse of the "-z defs" option.
|
||||
* Add -z globalaudit command line option to force audit libraries to be run
|
||||
for every dynamic object loaded by an executable - provided that the loader
|
||||
supports this functionality.
|
||||
* Tighten linker script grammar around file name specifiers to prevent the use
|
||||
of SORT_BY_ALIGNMENT and SORT_BY_INIT_PRIORITY on filenames. These would
|
||||
previously be accepted but had no effect.
|
||||
* The EXCLUDE_FILE directive can now be placed within any SORT_* directive
|
||||
within input section lists.
|
||||
- binutils-2.30-branch.diff: 2.30 branch @4cd0043413
|
||||
- riscv-wrap-relax.patch: Fix linker relaxation with --wrap
|
||||
- Remove use-hashtype-both-by-default.diff, use
|
||||
--enable-default-hash-style=both instead
|
||||
- Remove binutils-2.29-branch.diff, s390x-8fe09d7.diff
|
||||
- Use riscv64-suse-linux as target for cross-riscv64-binutils
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 26 13:40:13 UTC 2018 - dimstar@opensuse.org
|
||||
|
||||
|
@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
|
||||
%else
|
||||
BuildRequires: zlib-devel
|
||||
%endif
|
||||
Version: 2.29.1
|
||||
Version: 2.30
|
||||
Release: 0
|
||||
#
|
||||
# RUN_TESTS
|
||||
@ -76,13 +76,13 @@ Obsoletes: binutils-64bit
|
||||
%endif
|
||||
#
|
||||
Summary: GNU Binutils
|
||||
License: GFDL-1.3 and GPL-3.0+
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
Source: binutils-%{version}.tar.bz2
|
||||
Source1: pre_checkin.sh
|
||||
Source2: README.First-for.SuSE.packagers
|
||||
Source3: baselibs.conf
|
||||
Patch: binutils-2.29-branch.diff
|
||||
Patch: binutils-2.30-branch.diff
|
||||
Patch3: binutils-skip-rpaths.patch
|
||||
Patch4: s390-biarch.diff
|
||||
Patch5: x86-64-biarch.patch
|
||||
@ -90,14 +90,13 @@ Patch6: unit-at-a-time.patch
|
||||
Patch8: ld-relro.diff
|
||||
Patch9: testsuite.diff
|
||||
Patch10: enable-targets-gold.diff
|
||||
Patch11: use-hashtype-both-by-default.diff
|
||||
Patch12: s390-pic-dso.diff
|
||||
Patch14: binutils-build-as-needed.diff
|
||||
Patch18: gold-depend-on-opcodes.diff
|
||||
Patch22: binutils-bfd_h.patch
|
||||
Patch34: aarch64-common-pagesize.patch
|
||||
# upstream typo fix
|
||||
Patch35: s390x-8fe09d7.diff
|
||||
Patch35: riscv-wrap-relax.patch
|
||||
Patch36: binutils-pr22868.diff
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
Patch93: cross-avr-size.patch
|
||||
@ -112,7 +111,7 @@ to compile a program or kernel.
|
||||
|
||||
%package gold
|
||||
Summary: The gold linker
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
Requires: binutils = %{version}-%{release}
|
||||
PreReq: update-alternatives
|
||||
@ -129,7 +128,7 @@ a drop-in replacement for the older GNU linker.
|
||||
|
||||
%package devel
|
||||
Summary: GNU binutils (BFD development files)
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: binutils = %{version}-%{release}
|
||||
Requires: zlib-devel
|
||||
@ -162,17 +161,13 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch8
|
||||
%patch9
|
||||
%patch10
|
||||
%if "%{TARGET}" != "mips"
|
||||
# The MIPS ABI is incompatible with .gnu.hash, so don't
|
||||
# use it there
|
||||
%patch11
|
||||
%patch12
|
||||
%endif
|
||||
%patch14
|
||||
%patch18
|
||||
%patch22
|
||||
%patch34 -p1
|
||||
%patch35 -p1
|
||||
%patch36 -p1
|
||||
%if "%{TARGET}" == "avr"
|
||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
%patch90
|
||||
@ -250,6 +245,9 @@ cd build-dir
|
||||
--enable-compressed-debug-sections=gas \
|
||||
%endif
|
||||
--enable-new-dtags \
|
||||
%if "%{TARGET}" != "mips"
|
||||
--enable-default-hash-style=both \
|
||||
%endif
|
||||
--enable-shared
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
# force reconfiguring (???)
|
||||
@ -289,7 +287,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
|
||||
%define TARGET_OS %{TARGET}
|
||||
%else
|
||||
%if "%{TARGET}" == "epiphany" || "%{TARGET}" == "riscv32" || "%{TARGET}" == "riscv64" || "%{TARGET}" == "rx"
|
||||
%if "%{TARGET}" == "epiphany" || "%{TARGET}" == "riscv32" || "%{TARGET}" == "rx"
|
||||
%define TARGET_OS %{TARGET}-elf
|
||||
%else
|
||||
%if "%{TARGET}" == "arm"
|
||||
@ -314,6 +312,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
--with-sysroot=/usr/spu \
|
||||
%else
|
||||
--with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \
|
||||
%endif
|
||||
%if "%{TARGET}" != "mips"
|
||||
--enable-default-hash-style=both \
|
||||
%endif
|
||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
|
@ -1,3 +1,36 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 6 16:01:24 UTC 2018 - matz@suse.com
|
||||
|
||||
- Add binutils-pr22868.diff to fix testsuite fails in LLVM.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 26 11:03:07 UTC 2018 - schwab@suse.de
|
||||
|
||||
- Update to binutils 2.30
|
||||
* Add --debug-dump=links option to readelf and --dwarf=links option to objdump
|
||||
which displays the contents of any .gnu_debuglink or .gnu_debugaltlink
|
||||
sections.
|
||||
Add a --debug-dump=follow-links option to readelf and a --dwarf=follow-links
|
||||
option to objdump which causes indirect links into separate debug info files
|
||||
to be followed when dumping other DWARF sections.
|
||||
* Add support for loaction views in DWARF debug line information.
|
||||
* Add -z separate-code to generate separate code PT_LOAD segment.
|
||||
* Add "-z undefs" command line option as the inverse of the "-z defs" option.
|
||||
* Add -z globalaudit command line option to force audit libraries to be run
|
||||
for every dynamic object loaded by an executable - provided that the loader
|
||||
supports this functionality.
|
||||
* Tighten linker script grammar around file name specifiers to prevent the use
|
||||
of SORT_BY_ALIGNMENT and SORT_BY_INIT_PRIORITY on filenames. These would
|
||||
previously be accepted but had no effect.
|
||||
* The EXCLUDE_FILE directive can now be placed within any SORT_* directive
|
||||
within input section lists.
|
||||
- binutils-2.30-branch.diff: 2.30 branch @4cd0043413
|
||||
- riscv-wrap-relax.patch: Fix linker relaxation with --wrap
|
||||
- Remove use-hashtype-both-by-default.diff, use
|
||||
--enable-default-hash-style=both instead
|
||||
- Remove binutils-2.29-branch.diff, s390x-8fe09d7.diff
|
||||
- Use riscv64-suse-linux as target for cross-riscv64-binutils
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 26 13:40:13 UTC 2018 - dimstar@opensuse.org
|
||||
|
||||
|
@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
|
||||
%else
|
||||
BuildRequires: zlib-devel
|
||||
%endif
|
||||
Version: 2.29.1
|
||||
Version: 2.30
|
||||
Release: 0
|
||||
#
|
||||
# RUN_TESTS
|
||||
@ -76,13 +76,13 @@ Obsoletes: binutils-64bit
|
||||
%endif
|
||||
#
|
||||
Summary: GNU Binutils
|
||||
License: GFDL-1.3 and GPL-3.0+
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
Source: binutils-%{version}.tar.bz2
|
||||
Source1: pre_checkin.sh
|
||||
Source2: README.First-for.SuSE.packagers
|
||||
Source3: baselibs.conf
|
||||
Patch: binutils-2.29-branch.diff
|
||||
Patch: binutils-2.30-branch.diff
|
||||
Patch3: binutils-skip-rpaths.patch
|
||||
Patch4: s390-biarch.diff
|
||||
Patch5: x86-64-biarch.patch
|
||||
@ -90,14 +90,13 @@ Patch6: unit-at-a-time.patch
|
||||
Patch8: ld-relro.diff
|
||||
Patch9: testsuite.diff
|
||||
Patch10: enable-targets-gold.diff
|
||||
Patch11: use-hashtype-both-by-default.diff
|
||||
Patch12: s390-pic-dso.diff
|
||||
Patch14: binutils-build-as-needed.diff
|
||||
Patch18: gold-depend-on-opcodes.diff
|
||||
Patch22: binutils-bfd_h.patch
|
||||
Patch34: aarch64-common-pagesize.patch
|
||||
# upstream typo fix
|
||||
Patch35: s390x-8fe09d7.diff
|
||||
Patch35: riscv-wrap-relax.patch
|
||||
Patch36: binutils-pr22868.diff
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
Patch93: cross-avr-size.patch
|
||||
@ -112,7 +111,7 @@ to compile a program or kernel.
|
||||
|
||||
%package gold
|
||||
Summary: The gold linker
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
Requires: binutils = %{version}-%{release}
|
||||
PreReq: update-alternatives
|
||||
@ -129,7 +128,7 @@ a drop-in replacement for the older GNU linker.
|
||||
|
||||
%package devel
|
||||
Summary: GNU binutils (BFD development files)
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: binutils = %{version}-%{release}
|
||||
Requires: zlib-devel
|
||||
@ -162,17 +161,13 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch8
|
||||
%patch9
|
||||
%patch10
|
||||
%if "%{TARGET}" != "mips"
|
||||
# The MIPS ABI is incompatible with .gnu.hash, so don't
|
||||
# use it there
|
||||
%patch11
|
||||
%patch12
|
||||
%endif
|
||||
%patch14
|
||||
%patch18
|
||||
%patch22
|
||||
%patch34 -p1
|
||||
%patch35 -p1
|
||||
%patch36 -p1
|
||||
%if "%{TARGET}" == "avr"
|
||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
%patch90
|
||||
@ -250,6 +245,9 @@ cd build-dir
|
||||
--enable-compressed-debug-sections=gas \
|
||||
%endif
|
||||
--enable-new-dtags \
|
||||
%if "%{TARGET}" != "mips"
|
||||
--enable-default-hash-style=both \
|
||||
%endif
|
||||
--enable-shared
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
# force reconfiguring (???)
|
||||
@ -289,7 +287,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
|
||||
%define TARGET_OS %{TARGET}
|
||||
%else
|
||||
%if "%{TARGET}" == "epiphany" || "%{TARGET}" == "riscv32" || "%{TARGET}" == "riscv64" || "%{TARGET}" == "rx"
|
||||
%if "%{TARGET}" == "epiphany" || "%{TARGET}" == "riscv32" || "%{TARGET}" == "rx"
|
||||
%define TARGET_OS %{TARGET}-elf
|
||||
%else
|
||||
%if "%{TARGET}" == "arm"
|
||||
@ -314,6 +312,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
--with-sysroot=/usr/spu \
|
||||
%else
|
||||
--with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \
|
||||
%endif
|
||||
%if "%{TARGET}" != "mips"
|
||||
--enable-default-hash-style=both \
|
||||
%endif
|
||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
|
@ -1,3 +1,36 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 6 16:01:24 UTC 2018 - matz@suse.com
|
||||
|
||||
- Add binutils-pr22868.diff to fix testsuite fails in LLVM.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 26 11:03:07 UTC 2018 - schwab@suse.de
|
||||
|
||||
- Update to binutils 2.30
|
||||
* Add --debug-dump=links option to readelf and --dwarf=links option to objdump
|
||||
which displays the contents of any .gnu_debuglink or .gnu_debugaltlink
|
||||
sections.
|
||||
Add a --debug-dump=follow-links option to readelf and a --dwarf=follow-links
|
||||
option to objdump which causes indirect links into separate debug info files
|
||||
to be followed when dumping other DWARF sections.
|
||||
* Add support for loaction views in DWARF debug line information.
|
||||
* Add -z separate-code to generate separate code PT_LOAD segment.
|
||||
* Add "-z undefs" command line option as the inverse of the "-z defs" option.
|
||||
* Add -z globalaudit command line option to force audit libraries to be run
|
||||
for every dynamic object loaded by an executable - provided that the loader
|
||||
supports this functionality.
|
||||
* Tighten linker script grammar around file name specifiers to prevent the use
|
||||
of SORT_BY_ALIGNMENT and SORT_BY_INIT_PRIORITY on filenames. These would
|
||||
previously be accepted but had no effect.
|
||||
* The EXCLUDE_FILE directive can now be placed within any SORT_* directive
|
||||
within input section lists.
|
||||
- binutils-2.30-branch.diff: 2.30 branch @4cd0043413
|
||||
- riscv-wrap-relax.patch: Fix linker relaxation with --wrap
|
||||
- Remove use-hashtype-both-by-default.diff, use
|
||||
--enable-default-hash-style=both instead
|
||||
- Remove binutils-2.29-branch.diff, s390x-8fe09d7.diff
|
||||
- Use riscv64-suse-linux as target for cross-riscv64-binutils
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 26 13:40:13 UTC 2018 - dimstar@opensuse.org
|
||||
|
||||
|
@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
|
||||
%else
|
||||
BuildRequires: zlib-devel
|
||||
%endif
|
||||
Version: 2.29.1
|
||||
Version: 2.30
|
||||
Release: 0
|
||||
#
|
||||
# RUN_TESTS
|
||||
@ -76,13 +76,13 @@ Obsoletes: binutils-64bit
|
||||
%endif
|
||||
#
|
||||
Summary: GNU Binutils
|
||||
License: GFDL-1.3 and GPL-3.0+
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
Source: binutils-%{version}.tar.bz2
|
||||
Source1: pre_checkin.sh
|
||||
Source2: README.First-for.SuSE.packagers
|
||||
Source3: baselibs.conf
|
||||
Patch: binutils-2.29-branch.diff
|
||||
Patch: binutils-2.30-branch.diff
|
||||
Patch3: binutils-skip-rpaths.patch
|
||||
Patch4: s390-biarch.diff
|
||||
Patch5: x86-64-biarch.patch
|
||||
@ -90,14 +90,13 @@ Patch6: unit-at-a-time.patch
|
||||
Patch8: ld-relro.diff
|
||||
Patch9: testsuite.diff
|
||||
Patch10: enable-targets-gold.diff
|
||||
Patch11: use-hashtype-both-by-default.diff
|
||||
Patch12: s390-pic-dso.diff
|
||||
Patch14: binutils-build-as-needed.diff
|
||||
Patch18: gold-depend-on-opcodes.diff
|
||||
Patch22: binutils-bfd_h.patch
|
||||
Patch34: aarch64-common-pagesize.patch
|
||||
# upstream typo fix
|
||||
Patch35: s390x-8fe09d7.diff
|
||||
Patch35: riscv-wrap-relax.patch
|
||||
Patch36: binutils-pr22868.diff
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
Patch93: cross-avr-size.patch
|
||||
@ -112,7 +111,7 @@ to compile a program or kernel.
|
||||
|
||||
%package gold
|
||||
Summary: The gold linker
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
Requires: binutils = %{version}-%{release}
|
||||
PreReq: update-alternatives
|
||||
@ -129,7 +128,7 @@ a drop-in replacement for the older GNU linker.
|
||||
|
||||
%package devel
|
||||
Summary: GNU binutils (BFD development files)
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: binutils = %{version}-%{release}
|
||||
Requires: zlib-devel
|
||||
@ -162,17 +161,13 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch8
|
||||
%patch9
|
||||
%patch10
|
||||
%if "%{TARGET}" != "mips"
|
||||
# The MIPS ABI is incompatible with .gnu.hash, so don't
|
||||
# use it there
|
||||
%patch11
|
||||
%patch12
|
||||
%endif
|
||||
%patch14
|
||||
%patch18
|
||||
%patch22
|
||||
%patch34 -p1
|
||||
%patch35 -p1
|
||||
%patch36 -p1
|
||||
%if "%{TARGET}" == "avr"
|
||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
%patch90
|
||||
@ -250,6 +245,9 @@ cd build-dir
|
||||
--enable-compressed-debug-sections=gas \
|
||||
%endif
|
||||
--enable-new-dtags \
|
||||
%if "%{TARGET}" != "mips"
|
||||
--enable-default-hash-style=both \
|
||||
%endif
|
||||
--enable-shared
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
# force reconfiguring (???)
|
||||
@ -289,7 +287,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
|
||||
%define TARGET_OS %{TARGET}
|
||||
%else
|
||||
%if "%{TARGET}" == "epiphany" || "%{TARGET}" == "riscv32" || "%{TARGET}" == "riscv64" || "%{TARGET}" == "rx"
|
||||
%if "%{TARGET}" == "epiphany" || "%{TARGET}" == "riscv32" || "%{TARGET}" == "rx"
|
||||
%define TARGET_OS %{TARGET}-elf
|
||||
%else
|
||||
%if "%{TARGET}" == "arm"
|
||||
@ -314,6 +312,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
--with-sysroot=/usr/spu \
|
||||
%else
|
||||
--with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \
|
||||
%endif
|
||||
%if "%{TARGET}" != "mips"
|
||||
--enable-default-hash-style=both \
|
||||
%endif
|
||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
|
@ -1,3 +1,36 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 6 16:01:24 UTC 2018 - matz@suse.com
|
||||
|
||||
- Add binutils-pr22868.diff to fix testsuite fails in LLVM.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 26 11:03:07 UTC 2018 - schwab@suse.de
|
||||
|
||||
- Update to binutils 2.30
|
||||
* Add --debug-dump=links option to readelf and --dwarf=links option to objdump
|
||||
which displays the contents of any .gnu_debuglink or .gnu_debugaltlink
|
||||
sections.
|
||||
Add a --debug-dump=follow-links option to readelf and a --dwarf=follow-links
|
||||
option to objdump which causes indirect links into separate debug info files
|
||||
to be followed when dumping other DWARF sections.
|
||||
* Add support for loaction views in DWARF debug line information.
|
||||
* Add -z separate-code to generate separate code PT_LOAD segment.
|
||||
* Add "-z undefs" command line option as the inverse of the "-z defs" option.
|
||||
* Add -z globalaudit command line option to force audit libraries to be run
|
||||
for every dynamic object loaded by an executable - provided that the loader
|
||||
supports this functionality.
|
||||
* Tighten linker script grammar around file name specifiers to prevent the use
|
||||
of SORT_BY_ALIGNMENT and SORT_BY_INIT_PRIORITY on filenames. These would
|
||||
previously be accepted but had no effect.
|
||||
* The EXCLUDE_FILE directive can now be placed within any SORT_* directive
|
||||
within input section lists.
|
||||
- binutils-2.30-branch.diff: 2.30 branch @4cd0043413
|
||||
- riscv-wrap-relax.patch: Fix linker relaxation with --wrap
|
||||
- Remove use-hashtype-both-by-default.diff, use
|
||||
--enable-default-hash-style=both instead
|
||||
- Remove binutils-2.29-branch.diff, s390x-8fe09d7.diff
|
||||
- Use riscv64-suse-linux as target for cross-riscv64-binutils
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 26 13:40:13 UTC 2018 - dimstar@opensuse.org
|
||||
|
||||
|
@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
|
||||
%else
|
||||
BuildRequires: zlib-devel
|
||||
%endif
|
||||
Version: 2.29.1
|
||||
Version: 2.30
|
||||
Release: 0
|
||||
#
|
||||
# RUN_TESTS
|
||||
@ -76,13 +76,13 @@ Obsoletes: binutils-64bit
|
||||
%endif
|
||||
#
|
||||
Summary: GNU Binutils
|
||||
License: GFDL-1.3 and GPL-3.0+
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
Source: binutils-%{version}.tar.bz2
|
||||
Source1: pre_checkin.sh
|
||||
Source2: README.First-for.SuSE.packagers
|
||||
Source3: baselibs.conf
|
||||
Patch: binutils-2.29-branch.diff
|
||||
Patch: binutils-2.30-branch.diff
|
||||
Patch3: binutils-skip-rpaths.patch
|
||||
Patch4: s390-biarch.diff
|
||||
Patch5: x86-64-biarch.patch
|
||||
@ -90,14 +90,13 @@ Patch6: unit-at-a-time.patch
|
||||
Patch8: ld-relro.diff
|
||||
Patch9: testsuite.diff
|
||||
Patch10: enable-targets-gold.diff
|
||||
Patch11: use-hashtype-both-by-default.diff
|
||||
Patch12: s390-pic-dso.diff
|
||||
Patch14: binutils-build-as-needed.diff
|
||||
Patch18: gold-depend-on-opcodes.diff
|
||||
Patch22: binutils-bfd_h.patch
|
||||
Patch34: aarch64-common-pagesize.patch
|
||||
# upstream typo fix
|
||||
Patch35: s390x-8fe09d7.diff
|
||||
Patch35: riscv-wrap-relax.patch
|
||||
Patch36: binutils-pr22868.diff
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
Patch93: cross-avr-size.patch
|
||||
@ -112,7 +111,7 @@ to compile a program or kernel.
|
||||
|
||||
%package gold
|
||||
Summary: The gold linker
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
Requires: binutils = %{version}-%{release}
|
||||
PreReq: update-alternatives
|
||||
@ -129,7 +128,7 @@ a drop-in replacement for the older GNU linker.
|
||||
|
||||
%package devel
|
||||
Summary: GNU binutils (BFD development files)
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: binutils = %{version}-%{release}
|
||||
Requires: zlib-devel
|
||||
@ -162,17 +161,13 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch8
|
||||
%patch9
|
||||
%patch10
|
||||
%if "%{TARGET}" != "mips"
|
||||
# The MIPS ABI is incompatible with .gnu.hash, so don't
|
||||
# use it there
|
||||
%patch11
|
||||
%patch12
|
||||
%endif
|
||||
%patch14
|
||||
%patch18
|
||||
%patch22
|
||||
%patch34 -p1
|
||||
%patch35 -p1
|
||||
%patch36 -p1
|
||||
%if "%{TARGET}" == "avr"
|
||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
%patch90
|
||||
@ -250,6 +245,9 @@ cd build-dir
|
||||
--enable-compressed-debug-sections=gas \
|
||||
%endif
|
||||
--enable-new-dtags \
|
||||
%if "%{TARGET}" != "mips"
|
||||
--enable-default-hash-style=both \
|
||||
%endif
|
||||
--enable-shared
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
# force reconfiguring (???)
|
||||
@ -289,7 +287,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
|
||||
%define TARGET_OS %{TARGET}
|
||||
%else
|
||||
%if "%{TARGET}" == "epiphany" || "%{TARGET}" == "riscv32" || "%{TARGET}" == "riscv64" || "%{TARGET}" == "rx"
|
||||
%if "%{TARGET}" == "epiphany" || "%{TARGET}" == "riscv32" || "%{TARGET}" == "rx"
|
||||
%define TARGET_OS %{TARGET}-elf
|
||||
%else
|
||||
%if "%{TARGET}" == "arm"
|
||||
@ -314,6 +312,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
--with-sysroot=/usr/spu \
|
||||
%else
|
||||
--with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \
|
||||
%endif
|
||||
%if "%{TARGET}" != "mips"
|
||||
--enable-default-hash-style=both \
|
||||
%endif
|
||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
|
@ -1,3 +1,36 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 6 16:01:24 UTC 2018 - matz@suse.com
|
||||
|
||||
- Add binutils-pr22868.diff to fix testsuite fails in LLVM.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 26 11:03:07 UTC 2018 - schwab@suse.de
|
||||
|
||||
- Update to binutils 2.30
|
||||
* Add --debug-dump=links option to readelf and --dwarf=links option to objdump
|
||||
which displays the contents of any .gnu_debuglink or .gnu_debugaltlink
|
||||
sections.
|
||||
Add a --debug-dump=follow-links option to readelf and a --dwarf=follow-links
|
||||
option to objdump which causes indirect links into separate debug info files
|
||||
to be followed when dumping other DWARF sections.
|
||||
* Add support for loaction views in DWARF debug line information.
|
||||
* Add -z separate-code to generate separate code PT_LOAD segment.
|
||||
* Add "-z undefs" command line option as the inverse of the "-z defs" option.
|
||||
* Add -z globalaudit command line option to force audit libraries to be run
|
||||
for every dynamic object loaded by an executable - provided that the loader
|
||||
supports this functionality.
|
||||
* Tighten linker script grammar around file name specifiers to prevent the use
|
||||
of SORT_BY_ALIGNMENT and SORT_BY_INIT_PRIORITY on filenames. These would
|
||||
previously be accepted but had no effect.
|
||||
* The EXCLUDE_FILE directive can now be placed within any SORT_* directive
|
||||
within input section lists.
|
||||
- binutils-2.30-branch.diff: 2.30 branch @4cd0043413
|
||||
- riscv-wrap-relax.patch: Fix linker relaxation with --wrap
|
||||
- Remove use-hashtype-both-by-default.diff, use
|
||||
--enable-default-hash-style=both instead
|
||||
- Remove binutils-2.29-branch.diff, s390x-8fe09d7.diff
|
||||
- Use riscv64-suse-linux as target for cross-riscv64-binutils
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 26 13:40:13 UTC 2018 - dimstar@opensuse.org
|
||||
|
||||
|
@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
|
||||
%else
|
||||
BuildRequires: zlib-devel
|
||||
%endif
|
||||
Version: 2.29.1
|
||||
Version: 2.30
|
||||
Release: 0
|
||||
#
|
||||
# RUN_TESTS
|
||||
@ -76,13 +76,13 @@ Obsoletes: binutils-64bit
|
||||
%endif
|
||||
#
|
||||
Summary: GNU Binutils
|
||||
License: GFDL-1.3 and GPL-3.0+
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
Source: binutils-%{version}.tar.bz2
|
||||
Source1: pre_checkin.sh
|
||||
Source2: README.First-for.SuSE.packagers
|
||||
Source3: baselibs.conf
|
||||
Patch: binutils-2.29-branch.diff
|
||||
Patch: binutils-2.30-branch.diff
|
||||
Patch3: binutils-skip-rpaths.patch
|
||||
Patch4: s390-biarch.diff
|
||||
Patch5: x86-64-biarch.patch
|
||||
@ -90,14 +90,13 @@ Patch6: unit-at-a-time.patch
|
||||
Patch8: ld-relro.diff
|
||||
Patch9: testsuite.diff
|
||||
Patch10: enable-targets-gold.diff
|
||||
Patch11: use-hashtype-both-by-default.diff
|
||||
Patch12: s390-pic-dso.diff
|
||||
Patch14: binutils-build-as-needed.diff
|
||||
Patch18: gold-depend-on-opcodes.diff
|
||||
Patch22: binutils-bfd_h.patch
|
||||
Patch34: aarch64-common-pagesize.patch
|
||||
# upstream typo fix
|
||||
Patch35: s390x-8fe09d7.diff
|
||||
Patch35: riscv-wrap-relax.patch
|
||||
Patch36: binutils-pr22868.diff
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
Patch93: cross-avr-size.patch
|
||||
@ -112,7 +111,7 @@ to compile a program or kernel.
|
||||
|
||||
%package gold
|
||||
Summary: The gold linker
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
Requires: binutils = %{version}-%{release}
|
||||
PreReq: update-alternatives
|
||||
@ -129,7 +128,7 @@ a drop-in replacement for the older GNU linker.
|
||||
|
||||
%package devel
|
||||
Summary: GNU binutils (BFD development files)
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: binutils = %{version}-%{release}
|
||||
Requires: zlib-devel
|
||||
@ -162,17 +161,13 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch8
|
||||
%patch9
|
||||
%patch10
|
||||
%if "%{TARGET}" != "mips"
|
||||
# The MIPS ABI is incompatible with .gnu.hash, so don't
|
||||
# use it there
|
||||
%patch11
|
||||
%patch12
|
||||
%endif
|
||||
%patch14
|
||||
%patch18
|
||||
%patch22
|
||||
%patch34 -p1
|
||||
%patch35 -p1
|
||||
%patch36 -p1
|
||||
%if "%{TARGET}" == "avr"
|
||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
%patch90
|
||||
@ -250,6 +245,9 @@ cd build-dir
|
||||
--enable-compressed-debug-sections=gas \
|
||||
%endif
|
||||
--enable-new-dtags \
|
||||
%if "%{TARGET}" != "mips"
|
||||
--enable-default-hash-style=both \
|
||||
%endif
|
||||
--enable-shared
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
# force reconfiguring (???)
|
||||
@ -289,7 +287,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
|
||||
%define TARGET_OS %{TARGET}
|
||||
%else
|
||||
%if "%{TARGET}" == "epiphany" || "%{TARGET}" == "riscv32" || "%{TARGET}" == "riscv64" || "%{TARGET}" == "rx"
|
||||
%if "%{TARGET}" == "epiphany" || "%{TARGET}" == "riscv32" || "%{TARGET}" == "rx"
|
||||
%define TARGET_OS %{TARGET}-elf
|
||||
%else
|
||||
%if "%{TARGET}" == "arm"
|
||||
@ -314,6 +312,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
--with-sysroot=/usr/spu \
|
||||
%else
|
||||
--with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \
|
||||
%endif
|
||||
%if "%{TARGET}" != "mips"
|
||||
--enable-default-hash-style=both \
|
||||
%endif
|
||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
|
@ -1,3 +1,36 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 6 16:01:24 UTC 2018 - matz@suse.com
|
||||
|
||||
- Add binutils-pr22868.diff to fix testsuite fails in LLVM.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 26 11:03:07 UTC 2018 - schwab@suse.de
|
||||
|
||||
- Update to binutils 2.30
|
||||
* Add --debug-dump=links option to readelf and --dwarf=links option to objdump
|
||||
which displays the contents of any .gnu_debuglink or .gnu_debugaltlink
|
||||
sections.
|
||||
Add a --debug-dump=follow-links option to readelf and a --dwarf=follow-links
|
||||
option to objdump which causes indirect links into separate debug info files
|
||||
to be followed when dumping other DWARF sections.
|
||||
* Add support for loaction views in DWARF debug line information.
|
||||
* Add -z separate-code to generate separate code PT_LOAD segment.
|
||||
* Add "-z undefs" command line option as the inverse of the "-z defs" option.
|
||||
* Add -z globalaudit command line option to force audit libraries to be run
|
||||
for every dynamic object loaded by an executable - provided that the loader
|
||||
supports this functionality.
|
||||
* Tighten linker script grammar around file name specifiers to prevent the use
|
||||
of SORT_BY_ALIGNMENT and SORT_BY_INIT_PRIORITY on filenames. These would
|
||||
previously be accepted but had no effect.
|
||||
* The EXCLUDE_FILE directive can now be placed within any SORT_* directive
|
||||
within input section lists.
|
||||
- binutils-2.30-branch.diff: 2.30 branch @4cd0043413
|
||||
- riscv-wrap-relax.patch: Fix linker relaxation with --wrap
|
||||
- Remove use-hashtype-both-by-default.diff, use
|
||||
--enable-default-hash-style=both instead
|
||||
- Remove binutils-2.29-branch.diff, s390x-8fe09d7.diff
|
||||
- Use riscv64-suse-linux as target for cross-riscv64-binutils
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 26 13:40:13 UTC 2018 - dimstar@opensuse.org
|
||||
|
||||
|
@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
|
||||
%else
|
||||
BuildRequires: zlib-devel
|
||||
%endif
|
||||
Version: 2.29.1
|
||||
Version: 2.30
|
||||
Release: 0
|
||||
#
|
||||
# RUN_TESTS
|
||||
@ -76,13 +76,13 @@ Obsoletes: binutils-64bit
|
||||
%endif
|
||||
#
|
||||
Summary: GNU Binutils
|
||||
License: GFDL-1.3 and GPL-3.0+
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
Source: binutils-%{version}.tar.bz2
|
||||
Source1: pre_checkin.sh
|
||||
Source2: README.First-for.SuSE.packagers
|
||||
Source3: baselibs.conf
|
||||
Patch: binutils-2.29-branch.diff
|
||||
Patch: binutils-2.30-branch.diff
|
||||
Patch3: binutils-skip-rpaths.patch
|
||||
Patch4: s390-biarch.diff
|
||||
Patch5: x86-64-biarch.patch
|
||||
@ -90,14 +90,13 @@ Patch6: unit-at-a-time.patch
|
||||
Patch8: ld-relro.diff
|
||||
Patch9: testsuite.diff
|
||||
Patch10: enable-targets-gold.diff
|
||||
Patch11: use-hashtype-both-by-default.diff
|
||||
Patch12: s390-pic-dso.diff
|
||||
Patch14: binutils-build-as-needed.diff
|
||||
Patch18: gold-depend-on-opcodes.diff
|
||||
Patch22: binutils-bfd_h.patch
|
||||
Patch34: aarch64-common-pagesize.patch
|
||||
# upstream typo fix
|
||||
Patch35: s390x-8fe09d7.diff
|
||||
Patch35: riscv-wrap-relax.patch
|
||||
Patch36: binutils-pr22868.diff
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
Patch93: cross-avr-size.patch
|
||||
@ -112,7 +111,7 @@ to compile a program or kernel.
|
||||
|
||||
%package gold
|
||||
Summary: The gold linker
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
Requires: binutils = %{version}-%{release}
|
||||
PreReq: update-alternatives
|
||||
@ -129,7 +128,7 @@ a drop-in replacement for the older GNU linker.
|
||||
|
||||
%package devel
|
||||
Summary: GNU binutils (BFD development files)
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: binutils = %{version}-%{release}
|
||||
Requires: zlib-devel
|
||||
@ -162,17 +161,13 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch8
|
||||
%patch9
|
||||
%patch10
|
||||
%if "%{TARGET}" != "mips"
|
||||
# The MIPS ABI is incompatible with .gnu.hash, so don't
|
||||
# use it there
|
||||
%patch11
|
||||
%patch12
|
||||
%endif
|
||||
%patch14
|
||||
%patch18
|
||||
%patch22
|
||||
%patch34 -p1
|
||||
%patch35 -p1
|
||||
%patch36 -p1
|
||||
%if "%{TARGET}" == "avr"
|
||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
%patch90
|
||||
@ -250,6 +245,9 @@ cd build-dir
|
||||
--enable-compressed-debug-sections=gas \
|
||||
%endif
|
||||
--enable-new-dtags \
|
||||
%if "%{TARGET}" != "mips"
|
||||
--enable-default-hash-style=both \
|
||||
%endif
|
||||
--enable-shared
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
# force reconfiguring (???)
|
||||
@ -289,7 +287,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
|
||||
%define TARGET_OS %{TARGET}
|
||||
%else
|
||||
%if "%{TARGET}" == "epiphany" || "%{TARGET}" == "riscv32" || "%{TARGET}" == "riscv64" || "%{TARGET}" == "rx"
|
||||
%if "%{TARGET}" == "epiphany" || "%{TARGET}" == "riscv32" || "%{TARGET}" == "rx"
|
||||
%define TARGET_OS %{TARGET}-elf
|
||||
%else
|
||||
%if "%{TARGET}" == "arm"
|
||||
@ -314,6 +312,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
--with-sysroot=/usr/spu \
|
||||
%else
|
||||
--with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \
|
||||
%endif
|
||||
%if "%{TARGET}" != "mips"
|
||||
--enable-default-hash-style=both \
|
||||
%endif
|
||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
|
@ -1,3 +1,36 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 6 16:01:24 UTC 2018 - matz@suse.com
|
||||
|
||||
- Add binutils-pr22868.diff to fix testsuite fails in LLVM.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 26 11:03:07 UTC 2018 - schwab@suse.de
|
||||
|
||||
- Update to binutils 2.30
|
||||
* Add --debug-dump=links option to readelf and --dwarf=links option to objdump
|
||||
which displays the contents of any .gnu_debuglink or .gnu_debugaltlink
|
||||
sections.
|
||||
Add a --debug-dump=follow-links option to readelf and a --dwarf=follow-links
|
||||
option to objdump which causes indirect links into separate debug info files
|
||||
to be followed when dumping other DWARF sections.
|
||||
* Add support for loaction views in DWARF debug line information.
|
||||
* Add -z separate-code to generate separate code PT_LOAD segment.
|
||||
* Add "-z undefs" command line option as the inverse of the "-z defs" option.
|
||||
* Add -z globalaudit command line option to force audit libraries to be run
|
||||
for every dynamic object loaded by an executable - provided that the loader
|
||||
supports this functionality.
|
||||
* Tighten linker script grammar around file name specifiers to prevent the use
|
||||
of SORT_BY_ALIGNMENT and SORT_BY_INIT_PRIORITY on filenames. These would
|
||||
previously be accepted but had no effect.
|
||||
* The EXCLUDE_FILE directive can now be placed within any SORT_* directive
|
||||
within input section lists.
|
||||
- binutils-2.30-branch.diff: 2.30 branch @4cd0043413
|
||||
- riscv-wrap-relax.patch: Fix linker relaxation with --wrap
|
||||
- Remove use-hashtype-both-by-default.diff, use
|
||||
--enable-default-hash-style=both instead
|
||||
- Remove binutils-2.29-branch.diff, s390x-8fe09d7.diff
|
||||
- Use riscv64-suse-linux as target for cross-riscv64-binutils
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 26 13:40:13 UTC 2018 - dimstar@opensuse.org
|
||||
|
||||
|
@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
|
||||
%else
|
||||
BuildRequires: zlib-devel
|
||||
%endif
|
||||
Version: 2.29.1
|
||||
Version: 2.30
|
||||
Release: 0
|
||||
#
|
||||
# RUN_TESTS
|
||||
@ -76,13 +76,13 @@ Obsoletes: binutils-64bit
|
||||
%endif
|
||||
#
|
||||
Summary: GNU Binutils
|
||||
License: GFDL-1.3 and GPL-3.0+
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
Source: binutils-%{version}.tar.bz2
|
||||
Source1: pre_checkin.sh
|
||||
Source2: README.First-for.SuSE.packagers
|
||||
Source3: baselibs.conf
|
||||
Patch: binutils-2.29-branch.diff
|
||||
Patch: binutils-2.30-branch.diff
|
||||
Patch3: binutils-skip-rpaths.patch
|
||||
Patch4: s390-biarch.diff
|
||||
Patch5: x86-64-biarch.patch
|
||||
@ -90,14 +90,13 @@ Patch6: unit-at-a-time.patch
|
||||
Patch8: ld-relro.diff
|
||||
Patch9: testsuite.diff
|
||||
Patch10: enable-targets-gold.diff
|
||||
Patch11: use-hashtype-both-by-default.diff
|
||||
Patch12: s390-pic-dso.diff
|
||||
Patch14: binutils-build-as-needed.diff
|
||||
Patch18: gold-depend-on-opcodes.diff
|
||||
Patch22: binutils-bfd_h.patch
|
||||
Patch34: aarch64-common-pagesize.patch
|
||||
# upstream typo fix
|
||||
Patch35: s390x-8fe09d7.diff
|
||||
Patch35: riscv-wrap-relax.patch
|
||||
Patch36: binutils-pr22868.diff
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
Patch93: cross-avr-size.patch
|
||||
@ -112,7 +111,7 @@ to compile a program or kernel.
|
||||
|
||||
%package gold
|
||||
Summary: The gold linker
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
Requires: binutils = %{version}-%{release}
|
||||
PreReq: update-alternatives
|
||||
@ -129,7 +128,7 @@ a drop-in replacement for the older GNU linker.
|
||||
|
||||
%package devel
|
||||
Summary: GNU binutils (BFD development files)
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: binutils = %{version}-%{release}
|
||||
Requires: zlib-devel
|
||||
@ -162,17 +161,13 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch8
|
||||
%patch9
|
||||
%patch10
|
||||
%if "%{TARGET}" != "mips"
|
||||
# The MIPS ABI is incompatible with .gnu.hash, so don't
|
||||
# use it there
|
||||
%patch11
|
||||
%patch12
|
||||
%endif
|
||||
%patch14
|
||||
%patch18
|
||||
%patch22
|
||||
%patch34 -p1
|
||||
%patch35 -p1
|
||||
%patch36 -p1
|
||||
%if "%{TARGET}" == "avr"
|
||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
%patch90
|
||||
@ -250,6 +245,9 @@ cd build-dir
|
||||
--enable-compressed-debug-sections=gas \
|
||||
%endif
|
||||
--enable-new-dtags \
|
||||
%if "%{TARGET}" != "mips"
|
||||
--enable-default-hash-style=both \
|
||||
%endif
|
||||
--enable-shared
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
# force reconfiguring (???)
|
||||
@ -289,7 +287,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
|
||||
%define TARGET_OS %{TARGET}
|
||||
%else
|
||||
%if "%{TARGET}" == "epiphany" || "%{TARGET}" == "riscv32" || "%{TARGET}" == "riscv64" || "%{TARGET}" == "rx"
|
||||
%if "%{TARGET}" == "epiphany" || "%{TARGET}" == "riscv32" || "%{TARGET}" == "rx"
|
||||
%define TARGET_OS %{TARGET}-elf
|
||||
%else
|
||||
%if "%{TARGET}" == "arm"
|
||||
@ -314,6 +312,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
--with-sysroot=/usr/spu \
|
||||
%else
|
||||
--with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \
|
||||
%endif
|
||||
%if "%{TARGET}" != "mips"
|
||||
--enable-default-hash-style=both \
|
||||
%endif
|
||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
|
@ -1,3 +1,36 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 6 16:01:24 UTC 2018 - matz@suse.com
|
||||
|
||||
- Add binutils-pr22868.diff to fix testsuite fails in LLVM.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 26 11:03:07 UTC 2018 - schwab@suse.de
|
||||
|
||||
- Update to binutils 2.30
|
||||
* Add --debug-dump=links option to readelf and --dwarf=links option to objdump
|
||||
which displays the contents of any .gnu_debuglink or .gnu_debugaltlink
|
||||
sections.
|
||||
Add a --debug-dump=follow-links option to readelf and a --dwarf=follow-links
|
||||
option to objdump which causes indirect links into separate debug info files
|
||||
to be followed when dumping other DWARF sections.
|
||||
* Add support for loaction views in DWARF debug line information.
|
||||
* Add -z separate-code to generate separate code PT_LOAD segment.
|
||||
* Add "-z undefs" command line option as the inverse of the "-z defs" option.
|
||||
* Add -z globalaudit command line option to force audit libraries to be run
|
||||
for every dynamic object loaded by an executable - provided that the loader
|
||||
supports this functionality.
|
||||
* Tighten linker script grammar around file name specifiers to prevent the use
|
||||
of SORT_BY_ALIGNMENT and SORT_BY_INIT_PRIORITY on filenames. These would
|
||||
previously be accepted but had no effect.
|
||||
* The EXCLUDE_FILE directive can now be placed within any SORT_* directive
|
||||
within input section lists.
|
||||
- binutils-2.30-branch.diff: 2.30 branch @4cd0043413
|
||||
- riscv-wrap-relax.patch: Fix linker relaxation with --wrap
|
||||
- Remove use-hashtype-both-by-default.diff, use
|
||||
--enable-default-hash-style=both instead
|
||||
- Remove binutils-2.29-branch.diff, s390x-8fe09d7.diff
|
||||
- Use riscv64-suse-linux as target for cross-riscv64-binutils
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 26 13:40:13 UTC 2018 - dimstar@opensuse.org
|
||||
|
||||
|
@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
|
||||
%else
|
||||
BuildRequires: zlib-devel
|
||||
%endif
|
||||
Version: 2.29.1
|
||||
Version: 2.30
|
||||
Release: 0
|
||||
#
|
||||
# RUN_TESTS
|
||||
@ -76,13 +76,13 @@ Obsoletes: binutils-64bit
|
||||
%endif
|
||||
#
|
||||
Summary: GNU Binutils
|
||||
License: GFDL-1.3 and GPL-3.0+
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
Source: binutils-%{version}.tar.bz2
|
||||
Source1: pre_checkin.sh
|
||||
Source2: README.First-for.SuSE.packagers
|
||||
Source3: baselibs.conf
|
||||
Patch: binutils-2.29-branch.diff
|
||||
Patch: binutils-2.30-branch.diff
|
||||
Patch3: binutils-skip-rpaths.patch
|
||||
Patch4: s390-biarch.diff
|
||||
Patch5: x86-64-biarch.patch
|
||||
@ -90,14 +90,13 @@ Patch6: unit-at-a-time.patch
|
||||
Patch8: ld-relro.diff
|
||||
Patch9: testsuite.diff
|
||||
Patch10: enable-targets-gold.diff
|
||||
Patch11: use-hashtype-both-by-default.diff
|
||||
Patch12: s390-pic-dso.diff
|
||||
Patch14: binutils-build-as-needed.diff
|
||||
Patch18: gold-depend-on-opcodes.diff
|
||||
Patch22: binutils-bfd_h.patch
|
||||
Patch34: aarch64-common-pagesize.patch
|
||||
# upstream typo fix
|
||||
Patch35: s390x-8fe09d7.diff
|
||||
Patch35: riscv-wrap-relax.patch
|
||||
Patch36: binutils-pr22868.diff
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
Patch93: cross-avr-size.patch
|
||||
@ -112,7 +111,7 @@ to compile a program or kernel.
|
||||
|
||||
%package gold
|
||||
Summary: The gold linker
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
Requires: binutils = %{version}-%{release}
|
||||
PreReq: update-alternatives
|
||||
@ -129,7 +128,7 @@ a drop-in replacement for the older GNU linker.
|
||||
|
||||
%package devel
|
||||
Summary: GNU binutils (BFD development files)
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: binutils = %{version}-%{release}
|
||||
Requires: zlib-devel
|
||||
@ -162,17 +161,13 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch8
|
||||
%patch9
|
||||
%patch10
|
||||
%if "%{TARGET}" != "mips"
|
||||
# The MIPS ABI is incompatible with .gnu.hash, so don't
|
||||
# use it there
|
||||
%patch11
|
||||
%patch12
|
||||
%endif
|
||||
%patch14
|
||||
%patch18
|
||||
%patch22
|
||||
%patch34 -p1
|
||||
%patch35 -p1
|
||||
%patch36 -p1
|
||||
%if "%{TARGET}" == "avr"
|
||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
%patch90
|
||||
@ -250,6 +245,9 @@ cd build-dir
|
||||
--enable-compressed-debug-sections=gas \
|
||||
%endif
|
||||
--enable-new-dtags \
|
||||
%if "%{TARGET}" != "mips"
|
||||
--enable-default-hash-style=both \
|
||||
%endif
|
||||
--enable-shared
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
# force reconfiguring (???)
|
||||
@ -289,7 +287,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
|
||||
%define TARGET_OS %{TARGET}
|
||||
%else
|
||||
%if "%{TARGET}" == "epiphany" || "%{TARGET}" == "riscv32" || "%{TARGET}" == "riscv64" || "%{TARGET}" == "rx"
|
||||
%if "%{TARGET}" == "epiphany" || "%{TARGET}" == "riscv32" || "%{TARGET}" == "rx"
|
||||
%define TARGET_OS %{TARGET}-elf
|
||||
%else
|
||||
%if "%{TARGET}" == "arm"
|
||||
@ -314,6 +312,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
--with-sysroot=/usr/spu \
|
||||
%else
|
||||
--with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \
|
||||
%endif
|
||||
%if "%{TARGET}" != "mips"
|
||||
--enable-default-hash-style=both \
|
||||
%endif
|
||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
|
@ -1,3 +1,36 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 6 16:01:24 UTC 2018 - matz@suse.com
|
||||
|
||||
- Add binutils-pr22868.diff to fix testsuite fails in LLVM.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 26 11:03:07 UTC 2018 - schwab@suse.de
|
||||
|
||||
- Update to binutils 2.30
|
||||
* Add --debug-dump=links option to readelf and --dwarf=links option to objdump
|
||||
which displays the contents of any .gnu_debuglink or .gnu_debugaltlink
|
||||
sections.
|
||||
Add a --debug-dump=follow-links option to readelf and a --dwarf=follow-links
|
||||
option to objdump which causes indirect links into separate debug info files
|
||||
to be followed when dumping other DWARF sections.
|
||||
* Add support for loaction views in DWARF debug line information.
|
||||
* Add -z separate-code to generate separate code PT_LOAD segment.
|
||||
* Add "-z undefs" command line option as the inverse of the "-z defs" option.
|
||||
* Add -z globalaudit command line option to force audit libraries to be run
|
||||
for every dynamic object loaded by an executable - provided that the loader
|
||||
supports this functionality.
|
||||
* Tighten linker script grammar around file name specifiers to prevent the use
|
||||
of SORT_BY_ALIGNMENT and SORT_BY_INIT_PRIORITY on filenames. These would
|
||||
previously be accepted but had no effect.
|
||||
* The EXCLUDE_FILE directive can now be placed within any SORT_* directive
|
||||
within input section lists.
|
||||
- binutils-2.30-branch.diff: 2.30 branch @4cd0043413
|
||||
- riscv-wrap-relax.patch: Fix linker relaxation with --wrap
|
||||
- Remove use-hashtype-both-by-default.diff, use
|
||||
--enable-default-hash-style=both instead
|
||||
- Remove binutils-2.29-branch.diff, s390x-8fe09d7.diff
|
||||
- Use riscv64-suse-linux as target for cross-riscv64-binutils
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 26 13:40:13 UTC 2018 - dimstar@opensuse.org
|
||||
|
||||
|
@ -36,7 +36,7 @@ BuildRequires: zlib-devel-static
|
||||
%else
|
||||
BuildRequires: zlib-devel
|
||||
%endif
|
||||
Version: 2.29.1
|
||||
Version: 2.30
|
||||
Release: 0
|
||||
#
|
||||
# RUN_TESTS
|
||||
@ -76,13 +76,13 @@ Obsoletes: binutils-64bit
|
||||
%endif
|
||||
#
|
||||
Summary: GNU Binutils
|
||||
License: GFDL-1.3 and GPL-3.0+
|
||||
License: GFDL-1.3-only AND GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
Source: binutils-%{version}.tar.bz2
|
||||
Source1: pre_checkin.sh
|
||||
Source2: README.First-for.SuSE.packagers
|
||||
Source3: baselibs.conf
|
||||
Patch: binutils-2.29-branch.diff
|
||||
Patch: binutils-2.30-branch.diff
|
||||
Patch3: binutils-skip-rpaths.patch
|
||||
Patch4: s390-biarch.diff
|
||||
Patch5: x86-64-biarch.patch
|
||||
@ -90,14 +90,13 @@ Patch6: unit-at-a-time.patch
|
||||
Patch8: ld-relro.diff
|
||||
Patch9: testsuite.diff
|
||||
Patch10: enable-targets-gold.diff
|
||||
Patch11: use-hashtype-both-by-default.diff
|
||||
Patch12: s390-pic-dso.diff
|
||||
Patch14: binutils-build-as-needed.diff
|
||||
Patch18: gold-depend-on-opcodes.diff
|
||||
Patch22: binutils-bfd_h.patch
|
||||
Patch34: aarch64-common-pagesize.patch
|
||||
# upstream typo fix
|
||||
Patch35: s390x-8fe09d7.diff
|
||||
Patch35: riscv-wrap-relax.patch
|
||||
Patch36: binutils-pr22868.diff
|
||||
Patch90: cross-avr-nesc-as.patch
|
||||
Patch92: cross-avr-omit_section_dynsym.patch
|
||||
Patch93: cross-avr-size.patch
|
||||
@ -112,7 +111,7 @@ to compile a program or kernel.
|
||||
|
||||
%package gold
|
||||
Summary: The gold linker
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Tools/Building
|
||||
Requires: binutils = %{version}-%{release}
|
||||
PreReq: update-alternatives
|
||||
@ -129,7 +128,7 @@ a drop-in replacement for the older GNU linker.
|
||||
|
||||
%package devel
|
||||
Summary: GNU binutils (BFD development files)
|
||||
License: GPL-3.0+
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: binutils = %{version}-%{release}
|
||||
Requires: zlib-devel
|
||||
@ -162,17 +161,13 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
|
||||
%patch8
|
||||
%patch9
|
||||
%patch10
|
||||
%if "%{TARGET}" != "mips"
|
||||
# The MIPS ABI is incompatible with .gnu.hash, so don't
|
||||
# use it there
|
||||
%patch11
|
||||
%patch12
|
||||
%endif
|
||||
%patch14
|
||||
%patch18
|
||||
%patch22
|
||||
%patch34 -p1
|
||||
%patch35 -p1
|
||||
%patch36 -p1
|
||||
%if "%{TARGET}" == "avr"
|
||||
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
|
||||
%patch90
|
||||
@ -250,6 +245,9 @@ cd build-dir
|
||||
--enable-compressed-debug-sections=gas \
|
||||
%endif
|
||||
--enable-new-dtags \
|
||||
%if "%{TARGET}" != "mips"
|
||||
--enable-default-hash-style=both \
|
||||
%endif
|
||||
--enable-shared
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
# force reconfiguring (???)
|
||||
@ -289,7 +287,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
|
||||
%define TARGET_OS %{TARGET}
|
||||
%else
|
||||
%if "%{TARGET}" == "epiphany" || "%{TARGET}" == "riscv32" || "%{TARGET}" == "riscv64" || "%{TARGET}" == "rx"
|
||||
%if "%{TARGET}" == "epiphany" || "%{TARGET}" == "riscv32" || "%{TARGET}" == "rx"
|
||||
%define TARGET_OS %{TARGET}-elf
|
||||
%else
|
||||
%if "%{TARGET}" == "arm"
|
||||
@ -314,6 +312,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
|
||||
--with-sysroot=/usr/spu \
|
||||
%else
|
||||
--with-sysroot=%{_prefix}/%{TARGET_OS}/sys-root \
|
||||
%endif
|
||||
%if "%{TARGET}" != "mips"
|
||||
--enable-default-hash-style=both \
|
||||
%endif
|
||||
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
|
||||
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
|
||||
|
132
riscv-wrap-relax.patch
Normal file
132
riscv-wrap-relax.patch
Normal file
@ -0,0 +1,132 @@
|
||||
2018-02-02 Jim Wilson <jimw@sifive.com>
|
||||
|
||||
PR ld/22756
|
||||
* elfnn-riscv.c (riscv_relax_delete_bytes): New parameter link_info.
|
||||
If link_info->wrap_hash, check for a duplicate symbol and ignore.
|
||||
(_bfd_riscv_relax_call, bfd_riscv_relax_lui, _bfd_riscv_relax_tls_le):
|
||||
Pass new argument to riscv_relax_delete_bytes.
|
||||
(_bfd_riscv_relax_align, _bfd_riscv_relax_delete): Likewise. Remove
|
||||
ATTRIBUTE_UNUSED from link_info parameter.
|
||||
|
||||
Index: binutils-2.30/bfd/elfnn-riscv.c
|
||||
===================================================================
|
||||
--- binutils-2.30.orig/bfd/elfnn-riscv.c
|
||||
+++ binutils-2.30/bfd/elfnn-riscv.c
|
||||
@@ -2604,7 +2604,8 @@ fail:
|
||||
/* Delete some bytes from a section while relaxing. */
|
||||
|
||||
static bfd_boolean
|
||||
-riscv_relax_delete_bytes (bfd *abfd, asection *sec, bfd_vma addr, size_t count)
|
||||
+riscv_relax_delete_bytes (bfd *abfd, asection *sec, bfd_vma addr, size_t count,
|
||||
+ struct bfd_link_info *link_info)
|
||||
{
|
||||
unsigned int i, symcount;
|
||||
bfd_vma toaddr = sec->size;
|
||||
@@ -2654,6 +2655,31 @@ riscv_relax_delete_bytes (bfd *abfd, ase
|
||||
{
|
||||
struct elf_link_hash_entry *sym_hash = sym_hashes[i];
|
||||
|
||||
+ /* The '--wrap SYMBOL' option is causing a pain when the object file,
|
||||
+ containing the definition of __wrap_SYMBOL, includes a direct
|
||||
+ call to SYMBOL as well. Since both __wrap_SYMBOL and SYMBOL reference
|
||||
+ the same symbol (which is __wrap_SYMBOL), but still exist as two
|
||||
+ different symbols in 'sym_hashes', we don't want to adjust
|
||||
+ the global symbol __wrap_SYMBOL twice.
|
||||
+ This check is only relevant when symbols are being wrapped. */
|
||||
+ if (link_info->wrap_hash != NULL)
|
||||
+ {
|
||||
+ struct elf_link_hash_entry **cur_sym_hashes;
|
||||
+
|
||||
+ /* Loop only over the symbols which have already been checked. */
|
||||
+ for (cur_sym_hashes = sym_hashes; cur_sym_hashes < &sym_hashes[i];
|
||||
+ cur_sym_hashes++)
|
||||
+ {
|
||||
+ /* If the current symbol is identical to 'sym_hash', that means
|
||||
+ the symbol was already adjusted (or at least checked). */
|
||||
+ if (*cur_sym_hashes == sym_hash)
|
||||
+ break;
|
||||
+ }
|
||||
+ /* Don't adjust the symbol again. */
|
||||
+ if (cur_sym_hashes < &sym_hashes[i])
|
||||
+ continue;
|
||||
+ }
|
||||
+
|
||||
if ((sym_hash->root.type == bfd_link_hash_defined
|
||||
|| sym_hash->root.type == bfd_link_hash_defweak)
|
||||
&& sym_hash->root.u.def.section == sec)
|
||||
@@ -2886,7 +2912,8 @@ _bfd_riscv_relax_call (bfd *abfd, asecti
|
||||
|
||||
/* Delete unnecessary JALR. */
|
||||
*again = TRUE;
|
||||
- return riscv_relax_delete_bytes (abfd, sec, rel->r_offset + len, 8 - len);
|
||||
+ return riscv_relax_delete_bytes (abfd, sec, rel->r_offset + len, 8 - len,
|
||||
+ link_info);
|
||||
}
|
||||
|
||||
/* Traverse all output sections and return the max alignment. */
|
||||
@@ -2964,7 +2991,8 @@ _bfd_riscv_relax_lui (bfd *abfd,
|
||||
/* We can delete the unnecessary LUI and reloc. */
|
||||
rel->r_info = ELFNN_R_INFO (0, R_RISCV_NONE);
|
||||
*again = TRUE;
|
||||
- return riscv_relax_delete_bytes (abfd, sec, rel->r_offset, 4);
|
||||
+ return riscv_relax_delete_bytes (abfd, sec, rel->r_offset, 4,
|
||||
+ link_info);
|
||||
|
||||
default:
|
||||
abort ();
|
||||
@@ -2991,7 +3019,8 @@ _bfd_riscv_relax_lui (bfd *abfd,
|
||||
rel->r_info = ELFNN_R_INFO (ELFNN_R_SYM (rel->r_info), R_RISCV_RVC_LUI);
|
||||
|
||||
*again = TRUE;
|
||||
- return riscv_relax_delete_bytes (abfd, sec, rel->r_offset + 2, 2);
|
||||
+ return riscv_relax_delete_bytes (abfd, sec, rel->r_offset + 2, 2,
|
||||
+ link_info);
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
@@ -3031,7 +3060,7 @@ _bfd_riscv_relax_tls_le (bfd *abfd,
|
||||
/* We can delete the unnecessary instruction and reloc. */
|
||||
rel->r_info = ELFNN_R_INFO (0, R_RISCV_NONE);
|
||||
*again = TRUE;
|
||||
- return riscv_relax_delete_bytes (abfd, sec, rel->r_offset, 4);
|
||||
+ return riscv_relax_delete_bytes (abfd, sec, rel->r_offset, 4, link_info);
|
||||
|
||||
default:
|
||||
abort ();
|
||||
@@ -3043,7 +3072,7 @@ _bfd_riscv_relax_tls_le (bfd *abfd,
|
||||
static bfd_boolean
|
||||
_bfd_riscv_relax_align (bfd *abfd, asection *sec,
|
||||
asection *sym_sec,
|
||||
- struct bfd_link_info *link_info ATTRIBUTE_UNUSED,
|
||||
+ struct bfd_link_info *link_info,
|
||||
Elf_Internal_Rela *rel,
|
||||
bfd_vma symval,
|
||||
bfd_vma max_alignment ATTRIBUTE_UNUSED,
|
||||
@@ -3091,7 +3120,7 @@ _bfd_riscv_relax_align (bfd *abfd, asect
|
||||
|
||||
/* Delete the excess bytes. */
|
||||
return riscv_relax_delete_bytes (abfd, sec, rel->r_offset + nop_bytes,
|
||||
- rel->r_addend - nop_bytes);
|
||||
+ rel->r_addend - nop_bytes, link_info);
|
||||
}
|
||||
|
||||
/* Relax PC-relative references to GP-relative references. */
|
||||
@@ -3212,7 +3241,7 @@ static bfd_boolean
|
||||
_bfd_riscv_relax_delete (bfd *abfd,
|
||||
asection *sec,
|
||||
asection *sym_sec ATTRIBUTE_UNUSED,
|
||||
- struct bfd_link_info *link_info ATTRIBUTE_UNUSED,
|
||||
+ struct bfd_link_info *link_info,
|
||||
Elf_Internal_Rela *rel,
|
||||
bfd_vma symval ATTRIBUTE_UNUSED,
|
||||
bfd_vma max_alignment ATTRIBUTE_UNUSED,
|
||||
@@ -3220,7 +3249,8 @@ _bfd_riscv_relax_delete (bfd *abfd,
|
||||
bfd_boolean *again ATTRIBUTE_UNUSED,
|
||||
riscv_pcgp_relocs *pcgp_relocs ATTRIBUTE_UNUSED)
|
||||
{
|
||||
- if (!riscv_relax_delete_bytes(abfd, sec, rel->r_offset, rel->r_addend))
|
||||
+ if (!riscv_relax_delete_bytes(abfd, sec, rel->r_offset, rel->r_addend,
|
||||
+ link_info))
|
||||
return FALSE;
|
||||
rel->r_info = ELFNN_R_INFO(0, R_RISCV_NONE);
|
||||
return TRUE;
|
@ -1,38 +0,0 @@
|
||||
commit 8fe09d7421db51bc13c9228547d63e6315bd6bd0
|
||||
Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
|
||||
Date: Thu Sep 21 17:45:18 2017 +0200
|
||||
|
||||
S/390: Fix Elf note swap s390_gs_bc vs. s390_gs_cb
|
||||
|
||||
Fix two typos that resulted in swapping the BFD names for the core note
|
||||
register sections NT_S390_GS_CB and NT_S390_GS_BC.
|
||||
|
||||
bfd/ChangeLog:
|
||||
|
||||
* elf.c (elfcore_grok_note): For the cases NT_S390_GS_CB and
|
||||
NT_S390_GS_BC, correct the previously swapped invocations of
|
||||
elfcore_grok_s390_gs_bc and elfcore_grok_s390_gs_cb.
|
||||
|
||||
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
|
||||
index 4c8c12c..ebefab3 100644
|
||||
diff --git a/bfd/elf.c b/bfd/elf.c
|
||||
index 2aa2337..9b61f06 100644
|
||||
--- a/bfd/elf.c
|
||||
+++ b/bfd/elf.c
|
||||
@@ -9698,14 +9698,14 @@ elfcore_grok_note (bfd *abfd, Elf_Internal_Note *note)
|
||||
case NT_S390_GS_CB:
|
||||
if (note->namesz == 6
|
||||
&& strcmp (note->namedata, "LINUX") == 0)
|
||||
- return elfcore_grok_s390_gs_bc (abfd, note);
|
||||
+ return elfcore_grok_s390_gs_cb (abfd, note);
|
||||
else
|
||||
return TRUE;
|
||||
|
||||
case NT_S390_GS_BC:
|
||||
if (note->namesz == 6
|
||||
&& strcmp (note->namedata, "LINUX") == 0)
|
||||
- return elfcore_grok_s390_gs_cb (abfd, note);
|
||||
+ return elfcore_grok_s390_gs_bc (abfd, note);
|
||||
else
|
||||
return TRUE;
|
||||
|
@ -24,16 +24,3 @@ Index: ld/testsuite/ld-srec/srec.exp
|
||||
# Get the offset from an S-record line to the start of the data.
|
||||
|
||||
proc srec_off { l } {
|
||||
Index: ld/testsuite/ld-undefined/undefined.exp
|
||||
===================================================================
|
||||
--- ld/testsuite/ld-undefined/undefined.exp.orig
|
||||
+++ ld/testsuite/ld-undefined/undefined.exp
|
||||
@@ -134,7 +134,7 @@ setup_xfail "sh64-*-*"
|
||||
# the function. Therefore the line number in the error message is 8 instead
|
||||
# of 9. On 64 bit s/390 this works because of the new brasl instruction that
|
||||
# doesn't need a literal pool entry.
|
||||
-setup_xfail s390-*-*
|
||||
+#setup_xfail s390-*-*
|
||||
|
||||
# See comments above for Xtensa.
|
||||
setup_xfail xtensa*-*-linux*
|
||||
|
@ -1,43 +0,0 @@
|
||||
Index: ld/ldmain.c
|
||||
===================================================================
|
||||
--- ld/ldmain.c.orig 2014-10-14 17:52:24.000000000 +0200
|
||||
+++ ld/ldmain.c 2014-10-14 17:52:24.000000000 +0200
|
||||
@@ -280,6 +280,7 @@ main (int argc, char **argv)
|
||||
link_info.combreloc = TRUE;
|
||||
link_info.strip_discarded = TRUE;
|
||||
link_info.emit_hash = TRUE;
|
||||
+ link_info.emit_gnu_hash = TRUE;
|
||||
link_info.callbacks = &link_callbacks;
|
||||
link_info.input_bfds_tail = &link_info.input_bfds;
|
||||
/* SVR4 linkers seem to set DT_INIT and DT_FINI based on magic _init
|
||||
Index: ld/testsuite/config/default.exp
|
||||
===================================================================
|
||||
--- ld/testsuite/config/default.exp.orig 2014-10-14 17:52:24.000000000 +0200
|
||||
+++ ld/testsuite/config/default.exp 2014-10-14 17:52:24.000000000 +0200
|
||||
@@ -22,7 +22,7 @@
|
||||
#
|
||||
|
||||
if ![info exists ld] then {
|
||||
- set ld "[findfile $base_dir/ld-new $base_dir/ld-new [transform ld]] -znorelro"
|
||||
+ set ld "[findfile $base_dir/ld-new $base_dir/ld-new [transform ld]] -znorelro --hash-style=sysv"
|
||||
}
|
||||
|
||||
if ![info exists as] then {
|
||||
@@ -60,7 +60,7 @@ if {![file isdirectory tmpdir/ld]} then
|
||||
catch "exec ln -s ld tmpdir/ld/collect-ld" status
|
||||
catch "exec ln -s ../../../gas/as-new tmpdir/ld/as" status
|
||||
}
|
||||
-set gcc_B_opt "-B[pwd]/tmpdir/ld/ -Wl,-z,norelro"
|
||||
+set gcc_B_opt "-B[pwd]/tmpdir/ld/ -Wl,-z,norelro -Wl,--hash-style=sysv"
|
||||
|
||||
# load the linker path
|
||||
set ld_L_opt ""
|
||||
@@ -272,7 +272,7 @@ if ![info exists READELFFLAGS] then {
|
||||
}
|
||||
|
||||
if ![info exists LD] then {
|
||||
- set LD "[findfile $base_dir/ld-new ./ld-new [transform ld]] -znorelro"
|
||||
+ set LD "[findfile $base_dir/ld-new ./ld-new [transform ld]] -znorelro --hash-style=sysv"
|
||||
}
|
||||
|
||||
if ![info exists LDFLAGS] then {
|
Loading…
Reference in New Issue
Block a user