Commit Graph

680 Commits

Author SHA1 Message Date
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