Commit Graph

619 Commits

Author SHA1 Message Date
Nick Clifton
82b0d56f5b Extend gold linker patch to cover subsections of .gnu.build.attributes. 2018-07-24 09:52:27 +01:00
Nick Clifton
889b6e2596 Improve partial relro support for the s/390. 2018-07-19 13:24:40 +01:00
Nick Clifton
b3e6223124 Rebase to GNU Binutils 2.31.1 release. 2018-07-19 10:27:52 +01:00
Fedora Release Engineering
762e415bc4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-12 21:06:21 +00:00
Nick Clifton
1164dc3bf8 Stop gold from complaining about annobin note relocs against symbols in sections which have been discarded.
Resolves: #1600431
2018-07-12 16:33:35 +01:00
Nick Clifton
57a0cd3028 Revert fix for PR 23161 which was placing unversioned section symbols (_edata, _end, __bss_start) into shared libraries.
Resolves: #1599521
2018-07-10 12:28:40 +01:00
Nick Clifton
3e6490cd61 Rebase to a snapshot of the soon-to-be-created 2.31 FSF release. 2018-07-09 11:44:13 +01:00
Nick Clifton
33b2466cb6 Fix the generation of relocations for assembler created notes. 2018-07-06 11:54:35 +01:00
Peter Robinson
9cd6949c58 Minor spec cleanups and fixes 2018-07-04 13:43:30 +01:00
Nick Clifton
ed4765883e When installing both ld.bfd and ld.gold, do not reset the current alternative if upgrading.
Resolves: #1592069
2018-06-18 11:05:41 +01:00
Nick Clifton
24eecafa20 Correct warning messages about incompatible PowerPC IEEE long double settings. 2018-06-12 17:52:29 +01:00
Nick Clifton
f82df77850 Fix handling of local versioned symbols by the x86 linker. (PR 23194)
Fix linker testsuite failures.
2018-06-01 15:56:45 +01:00
Nick Clifton
42246e47a2 Fix a seg-fault parsing PE format binaries.
Resolves: #1560829
2018-05-17 14:40:13 +01:00
Nick Clifton
e2612ee0fe Do not generate GNU build notes for linkonce sections.
Resolves: #1576362
2018-05-14 16:02:15 +01:00
Nick Clifton
1f337663ab Have the x86 linker resolve relocations against the _end, _edata and __bss_start symbols locally.
Resolves: #1576735
2018-05-14 12:41:40 +01:00
Nick Clifton
347768434c Fix a seg-fault running objcopy on a corrupt PE format file. (#1574702)
Fix a seg-fault running objcopy on a corrupt ELF format file.  (#1574705)
2018-05-10 10:46:37 +01:00
Nick Clifton
f53b235000 Fix a seg-fault parsing corrupt DWARF information. (#1573360)
Fix another seg-fault parsing corrupt DWARF information.  (#1573367)
Fix a seg-fault copying a corrupt ELF file.  (#1551788)
Fix a seg-fault parsing a large ELF files on a 32-bit host.  (#1539891)
Fix a seg-fault running nm on a corrupt ELF file.  (#15343247)
Fix a seg-fault running nm on a file containing corrupt DWARF information.  (#1551781)
Fix another seg-fault running nm on a file containing corrupt DWARF information.  (#1551763)
2018-05-01 15:15:23 +01:00
Nick Clifton
c973a8f557 Disable the automatic generation of annobin notes.
Relates: #1572485
2018-04-27 13:00:31 +01:00
Nick Clifton
bb781d5f31 Fix for PR 22887 - crashing objdump by passing it a corrupt AOUT binary. (#1553115)
Fix for PR 22905 - crashing objdump by passing it a corrupt DWARF file.  (#1553122)
Fix for PR 22741 - crashing objdump by passing it a corrupt COFF file.  (#1571918)
2018-04-27 10:05:56 +01:00
Nick Clifton
116d1c1cd2 Enhance the assembler to automatically generate annobin notes if none are present in the input. 2018-04-26 16:11:35 +01:00
Nick Clifton
26acb12d22 Fix the GOLD linker's processing of protected symbols created by the LLVM plugin.
Resolves: #1559234
2018-03-22 17:29:42 +00:00
Nick Clifton
c05cfd7b3e Do not discard debugobj files created by GCC v8 LTO wrapper.
Resolves: #1543912
2018-03-14 10:42:46 +00:00
Nick Clifton
92298b1c04 Treat relocs against s390x IFUNC symbols in note sections as relocs against the FUNC symbol instead.
- Combined previous patches into one which covers all ifunc supporting architectures.
- Retire binutils-s390-ifunc-relocs-in-notes.patch
- Retire binutils-x86_64-ifunc-relocs-in-notes.patch
2018-03-09 14:58:17 +00:00
Nick Clifton
9810446b4f Treat relocs against s390x IFUNC symbols in note sections as relocs against the FUNC symbol instead.
Resolves: #1553705
2018-03-09 12:10:54 +00:00
Nick Clifton
871bf81821 Treat relocs against IFUNC symbols in note sections as relocs against the FUNC symbol instead.
Relates: #1552056
2018-03-07 14:37:36 +00:00
Nick Clifton
d88807d21a Ignore duplicate symbols generated by GOLD.
Resolves: #1458003
2018-03-07 12:54:09 +00:00
Nick Clifton
6766a3d6b6 Speed up objdump.
Resolves: #1551540
2018-03-06 08:06:14 +00:00
Patrick Uiterwijk
5491f5f490 Backport PR 22764
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2018-02-22 13:14:55 +01:00
Nick Clifton
e0e1ae6f6a Sync with RHEL:
- Fix assignment of pages to segments. (PR 22758)
- Inject RPM_LD_FLAGS into the build.  (#1541027)
- Fix slowdown in readelf when examining files with lots of debug information.  (PR 22802)
- Remove support for PowerPC speculation barrier insertion.
- Rebase on 2.30
- Retire binutils-2.22.52.0.1-relro-on-by-default.patch
- Retire binutils-2.28-dynamic-section-warning.patch
- Retire binutils-2.29-skip-rp14918-test-for-arm.patch
- Retire binutils-2.29.1-gold-start-stop.patch
- Retire binutils-2.29.1-readelf-use-dynamic.patch
- Retire binutils-aarch64-pie.patch
- Retire binutils-coverity.patch
- Retire binutils-ppc64-stub-creation.patch
- Retire binutils-strip-delete-relocs.patch
- Retire binutils-support-v3-build-notes.patch
- Retire binutils-z-undefs.patch
2018-02-21 09:31:35 +00:00
Igor Gnatenko
d07dbfb9ed
Remove %clean section
None of currently supported distributions need that.
Last one was EL5 which is EOL for a while.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-14 07:02:45 +01:00
Nick Clifton
22dbfce62c Remove comment that explained how to disable annobin.
Relates: #1541027
2018-02-12 09:46:58 +00:00
Nick Clifton
4682c0ed87 Inject RPM_LD_FLAGS into the build.
Relates: #1541027
2018-02-08 16:10:11 +00:00
Fedora Release Engineering
fcd7889663 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 03:51:36 +00:00
Nick Clifton
ededaea4f3 Use make_build and make_install macros.
Resolves: #1541027
2018-02-01 16:35:33 +00:00
Nick Clifton
6093f83bd6 Spec file tidy ups. 2018-01-25 17:00:15 +00:00
Nick Clifton
b9d1fd7429 Reenable binary annotations. 2018-01-25 16:57:10 +00:00
Nick Clifton
a806b1ca0f Disable binary annotation as this appears to trigger a bug in the i686 compiler. 2018-01-25 16:10:30 +00:00
Nick Clifton
c61ce7af1e Fix creation of PowerPC64 function call stubs. Disable -z defs during build.
Resolves: #1523457
2018-01-25 15:02:45 +00:00
Nick Clifton
f323ec1bdb Fix bugs in AArch64 static PIE support.
Resolves: #1536645
2018-01-22 13:31:50 +00:00
Nick Clifton
a62fb5b34e Add "-z undefs" option to the linker. 2018-01-16 11:59:58 +00:00
Nick Clifton
635411c923 *Do* enable relro by default for the PowerPC64 architecture.
Resolves: #1523946
2018-01-11 17:56:15 +00:00
Nick Clifton
9f57db575f Update readelf and objcopy to support v3 build notes. 2018-01-03 17:21:34 +00:00
Nick Clifton
b8265c46f7 Have readelf display extra symbol information at the end of the line.
Resolves: #1479302
2017-12-12 16:42:48 +00:00
Nick Clifton
8260f49e83 Do not enable relro by default for the PowerPC64 architecture.
Relates: #1523946
2017-12-11 12:25:56 +00:00
Nick Clifton
b9846b82c5 Stop strip from crashing when deleteing relocs in a file with annobin notes.
Resolves: #1520805
2017-12-08 08:40:01 +00:00
Nick Clifton
7fe57ead2d oops - fix snafu in changelog entry. 2017-12-06 14:35:46 +00:00
Nick Clifton
4ebc059f8d Have readelf return an exit failure status when attempting to process an empty file.
Resolves: #1522732
2017-12-06 12:29:52 +00:00
Nick Clifton
76bffb9bda Disable PLT elision for x86/x86_64.
Relates: #1452111
Relates: #1333481
2017-11-28 17:18:35 +00:00
Nick Clifton
c4cfb3f0ac Have readelf suggest the use of --use-dynamic when there are dynamic relocs that could have been displayed.
Resolves: #1507694
2017-11-01 12:02:01 +00:00
Nick Clifton
6893f2da6c Fix the GOLD linker's generation of relocations for start and stop symbols.
Resolves: #1500898
2017-10-18 12:20:20 +01:00
Nick Clifton
38cc40a5fe Enable GOLD for PPC64 and s390x. (#1173780)
- Retire: binutils-2.20.51.0.10-sec-merge-emit.patch.
  (It has been redundant for a long time now...)
Relates: 1173780
2017-09-28 14:03:04 +01:00
Nick Clifton
2ed6d815cc Rebase on FSF binutils 2.29.1 release.
- Retire: binutils-2.29-ppc64-plt-localentry0-disable.patch
- Retire: binutils-2.29-non-elf-orphan-skip.patch
2017-09-26 11:51:07 +01:00
Nick Clifton
f9311f0bfc Extend fix for PR 21884.
Resolves: #1491023
2017-09-15 10:40:04 +01:00
Nick Clifton
6f94723798 Import fix for PR 21884 which stops a seg-fault in the linker when changing output format to binary during a final link.
Resolves: #1491023
2017-09-14 16:34:38 +01:00
Nick Clifton
1ba745a89f Annotate patches with reason and lifetime expectances.
- Retire: binutils-2.24-ldforcele.patch
- Retire: binutils-2.25-set-long-long.patch
- Retire: binutils-2.25.1-cleansweep.patch
- Retire: binutils-2.26-fix-compile-warnings.patch
- Retire: binutils-2.28-ignore-gold-duplicates.patch
2017-09-10 09:18:23 +01:00
Fedora Release Engineering
b4e0b0f1cb - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-02 18:14:31 +00:00
Nick Clifton
3edb85c58c Update ppc64 localentry0 patch with changes made by Alan Modra to the FSF binutils sources.
Resolves: #1475636
2017-07-31 11:32:14 +01:00
Florian Weimer
9dc570ee85 Rebuild with binutils fix for ppc64le (#1475636) 2017-07-30 21:25:21 +02:00
Nick Clifton
f93f25bdce Do not enable the PPC64 plt-localentry0 linker optimization by default.
Resolves: #1475636
2017-07-28 16:00:10 +01:00
Fedora Release Engineering
d451df677b - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 03:57:42 +00:00
Nick Clifton
283a7e8f17 - Rebase on FSF binutils 2.29.
- Retire: binutils-2.20.51.0.10-ppc64-pie.patch
- Retire: binutils-2.27-ld-buffer-overflow.patch
- Retire: binutils-2.28-libiberty-bugfixes.patch
- Retire: binutils-gnu-build-notes.patch
- Retire: binutils-2.28-gas-comp_dir.patch
- Retire: binutils-2.28-ppc-dynamic-relocs.patch
- Retire: binutils-2.28-dynamic-section-warning.patch
- Retire: binutils-2.28-aarch64-copy-relocs.patch
- Retire: binutils-2.28-DW_AT_export_symbols.patch
2017-07-24 16:48:39 +01:00
Nick Clifton
231fc46d8d Remove -flto compile time option accidentally added to CFLAGS. 2017-07-20 12:44:55 +01:00
Nick Clifton
1d0d142b8c Add support for displaying new DWARF5 tags.
Resolves: #1472966
2017-07-20 12:08:54 +01:00
Nick Clifton
f51532e55a Correct snafu in previous delta that broke building s390 binaries.
Resolves: #1472486
2017-07-19 15:44:56 +01:00
Nick Clifton
41e2613249 Fix s390 assembler so that it remove fake local symbols from its output.
Resolves: #1460254
2017-07-17 17:38:23 +01:00
Nick Clifton
44c0bed7f3 Update support for GNU Build Attribute notes to include version 2 notes. 2017-06-28 16:35:11 +01:00
Nick Clifton
3ce2e142bc Update patch to fix AArch64 copy reloc generation.
Relates: #1452170
2017-06-15 15:35:35 +01:00
Nick Clifton
803efc2501 Ignore duplicate indirect symbols generated by the GOLD linker.
Resolves: #1458003
2017-06-09 09:23:13 +01:00
Nick Clifton
54f319436b Eliminate the generation of incorrect dynamic copy relocations on AArch64.
Relates: #1452170
2017-06-08 09:34:56 +01:00
Fedora Release Engineering
da381ca746 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild 2017-05-15 20:22:26 +00:00
Nick Clifton
3b2ebb27b1 Import FSF binutils patch to fix running readelf on debug info binaries.
Update GNU BUILD NOTES patch.
Resolves: #1434050
2017-03-20 17:27:38 +00:00
Nick Clifton
40ca8bea3c Update GNU BUILD NOTES patch.
Import FSF binutils patch to fix an abort with PowerPC dynamic relocs.
2017-03-08 16:05:20 +00:00
Nick Clifton
416e014455 Backport patch to add support for putting name, comp_dir and producer strings into the .debug_str section.
Resolves: #1429389
2017-03-06 12:02:40 +00:00
Nick Clifton
cf648a4e0f Add support for GNU BUILD NOTEs. 2017-03-03 11:20:25 +00:00
Nick Clifton
49f1ebe3be Rebase on FSF binutils v2.28.
- Retire: binutils-2.23.52.0.1-addr2line-dynsymtab.patch
- Retire: binutils-2.27-local-dynsym-count.patch
- Retire: binutils-2.27-monotonic-section-offsets.patch
- Retire: binutils-2.27-arm-aarch64-default-relro.patch
- Retire: binutils-2.28-gold.patch
- Retire: binutils-2.27-objdump-improvements.patch
- Retire: binutils-2.27-dwarf-parse-speedup.patch
- Retire: binutils-2.27-objdump-improvements.2.patch
- Retire: binutils-2.27-arm-binary-objects.patch
- Retire: binutils-2.27-ppc-fp-attributes.patch
- Add patch to sync libiberty with FSF GCC mainline.
Relates: #1428310
2017-03-02 13:05:34 +00:00
Nick Clifton
4e01b3a7e5 Add support for PowerPC FP attributes.
Resolves: #1422461
2017-02-17 14:24:05 +00:00
Nick Clifton
975f892d89 Fix running the ARM port of the linker on BINARY objects.
Resolves: #1422577
2017-02-15 17:37:09 +00:00
Fedora Release Engineering
33f0f2b93c - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 06:53:01 +00:00
Stephen Gallagher
3aec439323 Install COPYING[*] files using the %license macro.
Resolves: #1418430
2017-02-02 10:37:45 +00:00
Nick Clifton
1cd2662020 Fix buffer overflows when printing translated messages.
Resolves: #1417411
2017-01-31 11:48:35 +00:00
Nick Clifton
4ae66ca2b6 Include the filename concerned in readelf error messages.
Relates: #1412348
2017-01-16 13:01:22 +00:00
Nick Clifton
b877ba7c27 Another speed up for objdump when displaying source code alognside disassembly.
Relates: #1397113
2017-01-09 14:13:52 +00:00
Nick Clifton
bac2d67474 Speed up objdump when displaying source code alognside disassembly.
Resolves: #1397113
2016-11-22 17:38:26 +00:00
Nick Clifton
fc94ffc4f9 Fix objdumps disassembly of dynamic executables.
Resolves: #1370275
2016-11-08 17:20:33 +00:00
Nick Clifton
2d9ddcdfa4 Fix GOLD for ARM and AARCH64 where it would generate bogus 'unresolved symbol' messages.
Resolves: #1386126
2016-11-04 16:12:46 +00:00
Nick Clifton
db47e74e80 Fix invocation of /sbin/ldconfig when reinstalling binutils in order to prevent warnings from rpm.
Resolves: #1379030
2016-09-26 11:48:56 +01:00
Nick Clifton
ab12bff2af Add i386pep emulation for all EFI capable CPU types.
Resolves: #1376870
2016-09-22 12:06:48 +01:00
Nick Clifton
da9be1579e Use --with-sysroot=/ for native targets. This prevents the default
sysroot of /usr/local/<target>/sys-root from being used, which breaks
 locating needed shared libaries, but still allows the --sysroot
 linker command line option to be effective.
Resolves: #1374889
Resolves: #1377803
Resolves: #1377949
2016-09-21 16:34:08 +01:00
Nick Clifton
5dc0384acf - Omit building GOLD when bootstrapping.
- Add a generic build requirement on gcc.
- Move bison and m4 build requirements to be conditional upon building GOLD.
- Add --with-sysroot=/ configure option when building native targets.
- Skip PR14918 linker test for ARM native targets.
Resolves: #1374889
2016-09-20 14:39:09 +01:00
Nick Clifton
3478af0f2c Add support for building the rpm with "--with bootstrap" enabled.
Retire: binutils-2.20.51.0.2-ia64-lib64.patch
2016-09-16 15:00:06 +01:00
Nick Clifton
d303a52d3e Properly disable the default generation of compressed debug sections.
Resolves: #1366182
2016-09-01 11:24:10 +01:00
Nick Clifton
a243f6a308 Put sections in a monotonically increasing order of file offset.
Allow ARM and AArch64 targets to have relro on by default.
Add missing test files to lto patch.
2016-08-19 12:24:06 +01:00
Nick Clifton
8d06b5d1c4 Fix computation of sh_info field in the header of .dynsym sections. 2016-08-15 09:31:02 +01:00
Nick Clifton
c1bb236faf Rebase on FSF binutils 2.27 release.
- Retire: binutils-2.26-formatting.patch
- Retire: binutils-2.26-Bsymbolic_PIE.patch
- Retire: binutils-rh1312151.patch
- Retire: binutils-2.26-fix-GOT-offset-calculation.patch
- Retire: binutils-2.26-common-definitions.patch
- Retire: binutils-2.26-x86-PIE-relocations.patch
2016-08-03 17:43:40 +01:00
Nick Clifton
a302c15623 Enable support for GCC's LTO.
Resolves: #1342618
2016-06-13 13:00:09 +01:00
Nick Clifton
438d506569 Retire the copy-osabi patch.
Resolves: #1252066
2016-06-02 08:52:49 +01:00
Nick Clifton
8f9df622c5 Fix another compile time warning, this time in tc-arm.c.
Resolves: #1333695
2016-05-09 17:46:07 +01:00
Nick Clifton
b3fd2f8ff9 Housekeeping: Delete retired patches. Renumber patches.
Increase version number past F24 because F24 update is blocked by a version number comparison.
2016-04-22 09:08:24 +01:00
Nick Clifton
2fa80847e2 Import patch to fix generation of x86 relocs in PIE mode. (PR 19827) 2016-03-18 10:18:50 +00:00
Nick Clifton
712d1262f6 Import patch to have common symbols in an executable override definitions in shared objects (PR 19579)
Resolves: #1312507
2016-03-14 17:36:56 +00:00
Nick Clifton
c7d41bf2ae Import patch to fix x86 GOT offset calculation in 2.26 sources (PR 19601)
Resolves: #1312489
2016-02-29 16:19:02 +00:00
Nick Clifton
0024239f34 Import patch to fix symbol versioning bug in 2.26 sources (PR 19698)
Resolves: #1312151
2016-02-26 13:38:28 +00:00
Nick Clifton
1963b8a307 Import H.J.Lu's kernel LTO patch.
Related: #1302071
2016-02-19 10:00:43 +00:00
poma
3445ae2cc2 Enable -Bsymbolic and -Bsymbolic-functions to PIE. Needed by Syslinux
Resolves: #1308296
2016-02-16 11:15:03 +00:00
Nick Clifton
6d4405bdd4 Retire: binutils-2.23.2-aarch64-em.patch
Resolves: #1305179
2016-02-10 17:43:16 +00:00
Nick Clifton
bf77df855c Fix more compile time warnings generated by badly indented sources. 2016-02-09 15:40:15 +00:00
Nick Clifton
b117b11140 Add fix for compile time warning building ARM assembler. 2016-02-04 12:51:17 +00:00
Nick Clifton
56fddbc07f Suppress the Reloc_Stub::Key::name() function in GOLD. 2016-02-04 12:12:15 +00:00
Nick Clifton
9c62962685 Fix compile time warning building x86_64 gold. 2016-02-04 11:41:01 +00:00
Nick Clifton
783dd1f082 Corrected fix for formatting problems. 2016-02-04 11:00:59 +00:00
Nick Clifton
18938e5300 Fix compile time warning about incorrect indentation. 2016-02-04 10:35:39 +00:00
Dennis Gilmore
5da6eb588f - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-03 17:02:36 +00:00
Nick Clifton
9b795a3bc5 Experimental removal of the (old) kernel-ld-r patch. 2016-01-27 16:08:03 +00:00
Nick Clifton
54f8fd9435 ooops - fix typo in previous delta 2016-01-26 12:47:52 +00:00
Nick Clifton
987c54f5b6 Fix kernel patch so that AVR targets will build. 2016-01-26 11:05:45 +00:00
Nick Clifton
c56cfc1db4 Fix kernel patch for PPC32 targets. 2016-01-25 12:47:06 +00:00
Nick Clifton
e37b508a86 Rebase on the new FSF 2.26 binutils release
Resolves: 1271387
2016-01-25 11:31:53 +00:00
Nick Clifton
58ff635f1e Prevent an infinite recursion when a plugin tries to claim a file in an unrecognised format.
Resolves: #1174065
2015-11-05 16:31:21 +00:00
Nick Clifton
b39776830b Enable little endian support when configuring for 64-bit PowerPC.
Resolves: #1275709
2015-10-28 11:46:46 +00:00
Nick Clifton
2143cbc355 Fix incorrectly generated binaries and DSOs on PPC platforms.
Resolves: #1247126
2015-09-24 13:00:18 +01:00
Nick Clifton
29776bac49 Fix handling of AArch64 local GOT relocs.
Resolves: #1262091
2015-09-11 18:59:36 +01:00
Nick Clifton
fe17c525e4 Do not enable deterministic archives by default
Resolves: #1195883
2015-09-10 09:51:57 +01:00
Rex Dieter
0e5924dcde Qt linked with gold crash on startup (#1193044) 2015-08-06 11:33:26 -05:00
Nick Clifton
bc7b34fba7 Fix the parsing of corrupt iHex files.
Resovles: #1250141
2015-08-04 17:22:33 +01:00
Nick Clifton
90a6397236 Retire: binutils-2.25-aarch64-fPIC-error.patch (no longer needed after rebase).
Resovles: #1249969
2015-08-04 16:06:33 +01:00
Nick Clifton
c9267a9a9b Rebase on FSF binutils 2.25.1 release.
Retire: binutils-2.25-x86_64-pie-relocs.patch
2015-07-23 09:34:04 +01:00
Nick Clifton
3c3e148fe3 For AArch64 issue an error message when attempting to resolve a
PC-relative dynamic reloc in a non-PIC object file.
Related: 1232499
2015-07-02 14:54:41 +01:00
Dennis Gilmore
16714c52b4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-17 01:49:48 +00:00
Nick Clifton
a225f076e9 Make the AArch64 GOLD port use 64K pages.
Resolves: BZ #1225156 and BZ #1215546
2015-06-10 20:20:02 +01:00
Nick Clifton
9b18d3fcd6 Require the coreutils so that touch is available.
Resolves: BZ #1215242
2015-04-27 13:01:49 +01:00
Nick Clifton
17d93b6c7f Enable building GOLD for the AArch64.
Resolves: BZ #1203057
2015-04-21 17:21:49 +01:00
Nick Clifton
60a8c57936 Remove the windmc manual page, so that it is not installed.
Resolves: BZ #1203606
2015-03-19 14:26:31 +00:00
Till Maas
a9c5952267 Rebuilt for Fedora 23 Change
https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
2015-02-21 22:24:00 +01:00
Nick Clifton
cb8d97c37e Fix scanning for object symbols in binutils-2.25-kernel-ld-r.patch
Resolves: BZ #1149660
2015-02-02 16:32:37 +00:00
Nick Clifton
09dade7667 Import the fix for PR ld/17827 from FSF mainline.
Resolves: BZ #1182511
2015-01-20 17:14:36 +00:00
Nick Clifton
5713793b39 Suppress building of GOLD for PPC, for now...
Resolves: BZ #1173780
2015-01-12 17:17:10 +00:00
Ralf Corsépius
3e82b7ae14 Reflect configure.info/standards.info having been dropped (RHBZ#1177359). 2014-12-27 11:05:46 +01:00
Nick Clifton
cb347a47c2 Rebase the source on the new 2.25 FSF binutils release. 2014-12-24 12:11:52 +00:00
Nick Clifton
ea1b2220db Fix problems with the ar program reported in FSF PR 17533.
Resolves: BZ #1162666, #1162655
2014-11-13 11:41:23 +00:00
Nick Clifton
f396ddc9f7 Fix buffer overrun in ihex parser.
Fix memory corruption in previous patch.
Consoldiate corrupt handling patches into just one patch.
Default strings command to using -a.
2014-10-31 12:17:36 +00:00
Nick Clifton
c6c4136c20 Fix memory corruption bug introduced by the previous patch. 2014-10-29 10:36:37 +00:00
Nick Clifton
8d9ecc8685 Import patches for PR/17510 and PR/17512 to fix reading corrupt ELF binaries.
Resolves: BZ #1157276, #1157277
2014-10-28 10:56:06 +00:00
Nick Clifton
b57b4a1e9b Import patch from mainline to fix seg-fault when reading corrupt group headers.
Resolves: BZ #1157276, #11527277
2014-10-27 13:01:52 +00:00
Nick Clifton
09883f6445 Import patch from mainline to fix seg-fault when reading corrupt srec fields.
Resolves: BZ #1156272
2014-10-24 15:57:33 +01:00
Kyle McMartin
d7c31854e8 backport fix from HEAD that fixes LTO + ifunc when using ld.bfd instead of gold
also increase ELF_COMMON_PAGESIZE to 64K on aarch64 a la ppc64
2014-08-26 10:45:37 -04:00
Kyle McMartin
422f7b7960 binutils-2.24-aarch64-fix-ie-relax.patch: fix GD to IE relaxation under register pressure
split some fixes out, so it's easier to see what's backported
2014-08-22 11:52:55 -04:00
Kyle McMartin
404956d0f6 bfd/elfnn-aarch64.c: use correct offsets in final_link_relocate
Resolves: BZ #1126199
2014-08-21 22:14:57 -04:00
Nick Clifton
eaa735511a Import patch from mainline to fix indirect symbol resolution.
Resolves: BZ #1123714
2014-08-21 10:20:37 +01:00
Nick Clifton
6878c21860 Enable deterministic archives by default.
Resolves: BZ #1124342
2014-08-19 12:37:54 +01:00
Peter Robinson
6e1cadc95c - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-15 22:39:09 +00:00
Nick Clifton
2bd8f32fb2 Correct elf_merge_st_other arguments for weak symbols.
Resolves: #1126436
2014-08-15 14:51:17 +01:00
Jeff Law
e356d3a444 * Tue Aug 12 2014 Jeff Law <law@redhat.com> - 2.24-17
- Enable gold for PPC.
2014-08-12 13:35:46 -06:00
Kyle McMartin
cd1fc1360a backport some testsuite fixes from upstream 2014-06-24 15:30:41 -04:00
Dennis Gilmore
adb0f8668a - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-06 22:01:52 -05:00
Nick Clifton
cb51b833f9 Fix detection of little endian PPC64 binaries.
Resolves: #1095885
2014-05-09 11:16:41 +01:00
Nick Clifton
b1b97a35f2 Fix detection of uncompressed .debug_str sections.
Resolves: #1082370
2014-04-28 16:48:25 +01:00
Nick Clifton
16b577d5e7 Fix compiling using gcc 4.9
Partially resolves: #1087374
2014-04-22 12:23:56 +01:00
Nick Clifton
316c3d4761 Use %{version} in Source string. 2014-03-27 09:51:59 +00:00
Nick Clifton
4dda3faefd Fix decoding of abbrevs using a DW_FORM_ref_addr attribute.
Resolved: #1056797
2014-01-28 12:19:34 +00:00
Nick Clifton
7c1c0bfb2b Import fixes on 2.24 branch that affect AArch64 IFUNC and PLT handling. 2013-12-17 11:40:44 +00:00
Nick Clifton
edae137564 Fix building opcodes library with -Werror=format-security.
Resolves #1037026
2013-12-05 13:32:17 +00:00
Jeff Law
981ff06766 * Wed Dec 04 2013 Jeff Law <law@redhat.com> - 2.24-7
- Update to official binutils 2.24 release.
2013-12-04 10:24:11 -07:00
Nick Clifton
229c6dbadb Update binutils 2.24 snapshot. 2013-11-21 16:17:44 +00:00
Nick Clifton
fcc0aa9887 - Update binutils 2.24 snapshot.
- Switch to using GIT instead of CVS to access the FSF repository.
- Retire binutils-2.24-nm-dynsym.patch
2013-11-12 08:45:24 +00:00
Nick Clifton
7ae446d791 - Update binutils 2.24 snapshot.
- Stop NM from halting if it encounters a file with no symbols when displaying dynamic symbols in multiple files.  (#1022845)
2013-10-25 11:02:10 +01:00
Nick Clifton
ad5d3f039a Update binutils 2.24 snapshot. 2013-10-18 10:28:05 +01:00
Nick Clifton
3b030601d6 Update binutils 2.24 snapshot: binutils-2.24-2013-10-11 2013-10-11 10:27:34 +01:00
Nick Clifton
b0ab35a6ae Adjust version number from 2.24.0 to 2.24 2013-10-04 16:55:00 +01:00
Nick Clifton
8c6f60c388 Use a local tarball rather than trying to download one. 2013-10-04 16:15:10 +01:00
Nick Clifton
c8364ddc0d Fix location of source file. 2013-10-04 14:10:45 +01:00
Nick Clifton
5b79e05f88 Rebase on binutils 2.24 snapshot.
Retire: binutils-2.23.52.0.1-64-bit-thin-archives.patch,
        binutils-2.23.52.0.1-as-doc-texinfo-fixes.patch,
        binutils-2.23.52.0.1-check-regular-ifunc-refs.patch,
        binutils-2.23.2-ld-texinfo-fixes.patch,
        binutils-2.23.2-bfd-texinfo-fixes.patch,
        binutils-2.23.2-dwz-alt-debuginfo.patch
        binutils-2.23.2-s390-gas-machinemode.patch
        binutils-2.23.2-xtensa.memset.patch
        binutils-2.23.2-s390-zEC12.patch
        binutils-2.23.2-arm-add-float-abi-to-e_flags.patch
        binutils-2.23.51.0.1-readelf-flush-stdout.patch
2013-10-04 12:27:00 +01:00
Nick Clifton
37642687c8 Make readelf flush stdout before emitting an error or warning message.
Resolves: #1005182
2013-09-09 15:41:28 +01:00
Kyle McMartin
d6a7761e06 Add the hard-float/soft-float ABI flag as appropriate for ET_DYN/ET_EXEC in EABI_VER5 2013-08-30 09:35:45 -04:00
Nick Clifton
f3ecc48453 Add support for the s/390 zEC12 architecture to gas.
Resolves: #996395
2013-08-14 11:51:31 +01:00
Nick Clifton
8627b7fec0 Fix typos in invocations of memset in elf32-xtensa.c 2013-08-12 11:56:59 +01:00
Karsten Hopp
858928c4f0 disable -Werror on ppc64p7 for #918189 2013-08-07 14:34:16 +02:00
Dennis Gilmore
0a13497c69 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-02 22:28:20 -05:00
Nick Clifton
cc4bf7386b Add support for the S/390 .machinemode pseudo-op to GAS.
Resolves: #986031
2013-07-19 13:46:30 +01:00
Nick Clifton
9aa667ddde Add a requirement for libstdc++-static when running the GOLD testsuite. 2013-07-05 11:11:18 +01:00
Nick Clifton
65af22ec81 Fix building of aarch64 targets after applying the patch for kernel ld -r modules.
Fix building when "--with debug" is specified.
2013-06-05 10:39:19 +01:00
Nick Clifton
9a844518ab Add support for the alternative debuging files generated by the DWZ program.
Resolves: #965255
2013-05-29 16:20:47 +01:00
Nick Clifton
cf89fe02ea Add fix for generating bfd documentation. 2013-05-17 09:18:15 +01:00
Nick Clifton
d43b72113c Import H.J.'s patch to add support for kernel ld -r modules. 2013-05-17 08:42:58 +01:00
Nick Clifton
a95226edfc Fix errors reported by version 5.0 of texinfo when parsing assembler documentation. 2013-04-26 08:26:27 +01:00
Nick Clifton
767651388e Fix errors reported by version 5.0 of texinfo when parsing linker documentation. 2013-04-25 17:04:12 +01:00
Nick Clifton
7a3406881d Switch over to basing sources on the official FSF binutils releases.
Retire binutils-2.23.52.0.1-revert-pr15149.patch.
Update binutils-2.22.52.0.1-relro-on-by-default.patch and binutils-2.23.52.0.1-as-doc-texinfo-fixes.patch.
2013-04-25 16:28:02 +01:00
Nick Clifton
d5ebb3e8df Import patch for FSF mainline PR 15371 to fix ifunc references in shared libraries.
Partially resolves: #927818
2013-04-17 16:16:27 +01:00
Nick Clifton
47e37c4a28 Enhance opncls.c:find_separate_debug_file() to look in Fedora specific locations.
Enhance dwarf2.c:find_line() to work with shared libraries.
Might resolve: #920542
2013-03-14 13:53:38 +00:00
Nick Clifton
79e98a9f2d Fix addr2line to use dynamic symbols if it failed to canonicalize ordinary symbols.
Might resolve: #920542
2013-03-13 17:19:21 +00:00
Nick Clifton
162c1fc381 Change requirement to explicitly depend upon /usr/bin/pod2man.
Another attempt at a fix for: #920545
2013-03-13 16:17:35 +00:00
Nick Clifton
e0a8842080 Require perl for pod2man for building man pages.
Might resolve: #920545
2013-03-13 12:13:23 +00:00
Nick Clifton
3f3148de6a Reverts patch for PR15149 - prevents report weak DT_NEEDED symbols.
May fix BZ918003
2013-03-08 12:21:56 +00:00
Nick Clifton
1063dbe9c2 Enable building of GOLD for the ARM.
Resolves: #908966
2013-03-06 16:07:24 +00:00
Nick Clifton
86dfbfd4c3 Fix errors reported by version 5.0 of texinfo. 2013-03-04 09:01:40 +00:00
Nick Clifton
f2a73fac2c Fix the creation of index tables in 64-bit thin archives.
Resolves #915411
2013-03-01 17:40:21 +00:00
Nick Clifton
99379f5eec Rebase on 2.23.51.0.1 release.
Resolves: #916516
2013-02-28 11:47:57 +00:00
Nick Clifton
92aafd15a0 Enable 64-bit BFD for aarch64.
Resolves: #908904
2013-02-08 15:37:18 +00:00
Nick Clifton
bd0afd4525 - Rebase on 2.23.51.0.9 release.
- Retire binutils-2.23.51.0.8-arm-whitespace.patch.
Resolves: #907089
2013-02-04 11:13:03 +00:00
Nick Clifton
00f0993c1e Allow more whitespace in ARM instructions.
Resolves: #892261
2013-01-21 11:04:08 +00:00
Nick Clifton
4c0c3e880e Add bc to BuildRequires when running the testsuite.
Resolves: #895321
2013-01-15 11:32:40 +00:00