Nick Clifton
a04d2461fb
Really add the patch to fix strip this time.
2020-10-07 14:42:08 +01:00
Nick Clifton
2c9d39bc55
Fix strip when merging multiple same-named sections.
...
Resolves : #1885607
2020-10-06 16:58:40 +01:00
Nick Clifton
7e6a1748ba
Rebase to GNU Binutils 2.35.1 release.
...
Retire: binutils-gas-dwarf-level-4.patch
Retire: binutils-aarch64-plt-sh_entsize.patch
Retire: binutils-ppc-rename-xvcvbf16sp-to-xvcvbf16spn.patch
Retire: binutils-dwarf-5-fixes.patch
2020-09-21 11:06:32 +01:00
Nick Clifton
ba80920a4c
Fix the PowerPC disassembler so that it ignores annobin symbols.
2020-09-11 11:37:10 +01:00
Nick Clifton
2e0c2015a5
Import fixes from GNU binutils mainline for handling DWARF-5 debug information.
2020-08-25 16:57:53 +01:00
Nick Clifton
d62f898ae7
Rename the PPC xvcvbf16sp instruction to xvcvbf16spn.
2020-08-24 15:12:48 +01:00
Jeff Law
7bb2daa612
Re-enable LTO
2020-07-31 18:39:00 -06:00
Jeff Law
e315473f6c
Disable LTO for bootstrapping purposes
2020-07-31 15:25:01 -06:00
Nick Clifton
b22933e83e
Fix building with LTO enabled.
2020-07-31 14:35:26 +01:00
Nick Clifton
93bf869662
Set the sh_entsize field of the AArch64's PLT section to 0. (PR 26312)
2020-07-31 08:13:17 +01:00
Richard W.M. Jones
6442193bff
Disable LTO again, it causes "ar" to segfault.
2020-07-30 22:31:29 +01:00
Nick Clifton
722dceebdb
Fix assembler to default to DWARF level 3
2020-07-30 14:05:32 +01:00
Nick Clifton
a8b0efde87
Default to DWARF level 4 in the assembler.
2020-07-30 09:29:21 +01:00
Fedora Release Engineering
74b3ce8462
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 13:08:28 +00:00
Jeff Law
0af851ae02
Disable LTO for now
2020-07-26 12:02:43 -06:00
Nick Clifton
15a78ff3d8
Rebase to GNU BInutils 2.35
...
Resolves : #1854613
2020-07-26 11:33:09 +01:00
Nick Clifton
385f20222d
Enable debuginfod support.
2020-07-24 19:56:24 +01:00
Jeff Law
426edf4a6e
- Fix more configure tests compromised by LTO.
2020-07-20 13:58:21 -06:00
Jeff Law
32bf168f75
- Fix configure test compromised by LTO. Add appropriate BuildRequires
...
and force rebuliding the configure files in the appropriate dirs
- Fix various warnings exposed by LTO.
2020-07-19 11:35:06 -06:00
Nick Clifton
d8ce39864a
Switch to using %autosetup
2020-07-07 10:56:06 +01:00
Nick Clifton
c548afa128
Add BPF support to the s390x target.
...
Resolves : #1825193
2020-06-16 20:38:14 +01:00
Nick Clifton
347bbd0dc5
Enhance the error message displayed by the BFD library when it fails to load a plugin.
...
Resolves : #1836618
2020-05-26 14:05:33 +01:00
Nick Clifton
72f99ab293
Rebase to tip of GNU Binutils 2.34 branch, brining in LTO fixes.
...
Retire: binutils-nm-lto-plugin.patch
2020-05-22 15:50:12 +01:00
Nick Clifton
e8f39243b8
Fix seg fault when loading plugins via symlinks.
...
Resolves : #1828587
2020-04-28 15:33:47 +01:00
Nick Clifton
07a3e80865
Add support for the BPF target.
...
Resolves : #1825193
2020-04-20 15:22:40 +01:00
Nick Clifton
beb7b8e936
Fix the plugin support architecture to allow proper symbol info handling. (PR 25355)
2020-02-16 11:34:52 +00:00
Nick Clifton
657e3d5a3e
Rebase to GNU Binutils 2.34. ( #1793098 )
...
Retire: binutils-improved-note-merging.patch
Retire: binutils-CVE-2019-17451.patch
Retire: binutils-CVE-2019-17450.patch
Retire: binutils-addr2line-fixes.patch
2020-02-02 14:55:39 +00:00
Fedora Release Engineering
bf57373ec8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-28 12:59:08 +00:00
Nick Clifton
dcf3d266fa
Enable 64-bit BFD and PEP support for riscv.
2020-01-23 12:27:30 +00:00
Nick Clifton
7111265a8a
Improve the accuracy of addr2line.
...
Resolves : #1760967
2020-01-02 17:26:12 +00:00
Nick Clifton
07a2a5840d
Re-enable strip merging build notes.
...
Resolves : #1777760
2019-12-02 15:58:13 +00:00
Nick Clifton
c2688f2fa0
Remove spurious code left in gold-mimatched-section-flags patch.
...
Resolves : #1775750
2019-11-25 12:34:11 +00:00
Nick Clifton
86b5dd655f
Fix a buffer overrun in the note merging code.
...
Resolves : #1774507
2019-11-21 08:10:18 +00:00
Nick Clifton
2ea649d73a
Fix a potential seg-fault in the BFD library when parsing pathalogical debug_info sections. ( #1771669 )
...
Fix a potential memory exhaustion in the BFD library when parsing corrupt DWARF debug information. (#1771678 )
2019-11-13 12:11:41 +00:00
Nick Clifton
18a3e8b612
Stop objcopy from creating null filled note sections when merging notes.
2019-11-06 22:04:18 +00:00
Nick Clifton
b0bbc38aef
Strip: Do not merge notes unless explicitly requested to do so.
2019-11-06 14:00:17 +00:00
Nick Clifton
1a47df5d0d
Objcopy: Do not generate a failure exit status if note merging fails.
...
Relates: #1767937
2019-11-05 12:30:47 +00:00
Nick Clifton
dd47049996
Fix the verification of the installed linker symlink.
...
Resolves : #1767000
2019-10-30 16:56:10 +00:00
Nick Clifton
11b5d51d94
Improve objdump's ability to merge GNU build attribute notes.
2019-10-28 12:30:39 +00:00
Nick Clifton
31bd4965ad
Rebase to GNU Binutils 2.33.1.
...
- Retire: binutils-CVE-2019-9073.patch
- Retire: binutils-CVE-2019-9074.patch
- Retire: binutils-CVE-2019-9075.patch
- Retire: binutils-CVE-2019-9077.patch
- Retire: binutils-disassembling-efi-files.patch
- Retire: binutils-CVE-2019-9071.patch
- Retire: binutils-gas-build-note-relocs.patch
- Retire: binutils-do-not-warn-about-debuginfo-files.patch
- Retire: binutils-do-not-merge-differing-SHF_EXCLUDE-groups.patch
- Retire: binutils-rh1736114.patch
- Retire: binutils-objcopy-gnu-build-version-notes.patch
- Retire: binutils-CVE-2019-14250.patch
- Retire: binutils-CVE-2019-14444.patch
- Retire: binutils-gcc-10-fixes.patch
- Retire: binutils-remove-old-formats.patch
- Retire: binutils-aarch64-gold-PLT-for-MOVW_ABS.patch
2019-10-14 13:24:26 +01:00
Nick Clifton
70ab9c2b90
Remove support for old file formats (ihex, tekhex, verilog) as they are a constant source of CVEs.
2019-10-04 10:59:30 +01:00
Nick Clifton
6f8976d0f9
Add an option to build using clang instead of gcc.
2019-09-25 16:35:16 +01:00
Nick Clifton
60374778c3
Fix building with gcc-10.
2019-09-24 10:01:17 +01:00
Nick Clifton
6a63423c37
Fix potential integer overflow in readelf.
...
Resolves: #1740470
2019-08-13 14:53:31 +01:00
Nick Clifton
79f83cf3ce
Fix potential integer overflow in GOLD.
...
Resolves : #1739491
2019-08-09 14:51:53 +01:00
Nick Clifton
1f0862a7b6
Stop GOLD from seg-faulting on a corrupt input with a fuzzed section offset.
...
Resolves : #1735605
2019-08-06 15:08:35 +01:00
Nick Clifton
9dc3a9d58c
Stop strip from complaining if the first build note is not a version note.
...
Resolves : #1736114
2019-08-05 17:02:57 +01:00
Florian Weimer
f3c54369c5
Fix ld -Map not to produce corrupt ELF notes ( #1736114 )
2019-08-02 18:44:25 +02:00
Fedora Release Engineering
9b3321d433
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-24 19:17:27 +00:00
Nick Clifton
bc6d877ace
Stops the linker from merging section groups with different SHF_EXCLUDE flags.
...
Resolves : #1730906
2019-07-22 14:19:11 +01:00
Nick Clifton
cbe88f3d8f
Stop the BFD library from complaining about sections found inside debuginfo files. (PR 24717)
2019-07-02 16:50:58 +01:00
Nick Clifton
6f32c52f03
Stop gas from triggering a seg-fault when creating relocs for build notes. (PR 24748)
2019-07-01 17:10:01 +01:00
Nick Clifton
c6c79eaa2c
Stop gold from aborting when it encounters input sections with the same name and different flags.
...
Relates: #1722715
2019-06-24 15:11:32 +01:00
Nick Clifton
6ba705ff04
Import fix for PR 23870 in order to help building Go binaries.
2019-05-21 12:15:54 +01:00
Nick Clifton
69aed915f7
Do not include ld.gold in the base binutils package.
...
Resolves : #1703714
2019-04-29 11:58:14 +01:00
Björn Esser
dc5ffb15b6
Remove hardcoded gzip suffix from GNU info pages
2019-04-24 14:56:29 +02:00
Nick Clifton
5c29c452de
Fix a stack exhaustion problem in libiberty's name demangling code.
2019-04-10 17:09:17 +01:00
Nick Clifton
3edfd25eae
Disable ld.gold on RISC-V and fix file installation issues.
2019-03-19 12:17:25 +00:00
Nick Clifton
c77184d403
Stop potential illegal memory access when disassembling an EFI binary.
...
Resolves : #1685727
2019-03-06 09:50:21 +00:00
Nick Clifton
4890018329
Fix requirements and use of the alternatives mechanism.
...
Resolves : #1683408
Resolves : #1683466
2019-02-27 13:03:19 +00:00
Nick Clifton
0c37d8745b
Move GOLD into a sub-package of BINUTILS.
2019-02-26 14:48:06 +00:00
Nick Clifton
b430795c93
Stop potential illegal memory access when parsing a corrupt MIPS binary.
...
Resolves : #1680676
2019-02-26 12:22:14 +00:00
Nick Clifton
43332bae43
Stop potential illegal memory access when parsing corrupt archives.
...
Resolves : #1680670
2019-02-26 11:34:26 +00:00
Nick Clifton
d003e8dd8a
Stop potential illegal memory access when parsing corrupt PE files.
...
Resolves : #1680682
2019-02-25 17:43:37 +00:00
Nick Clifton
20ffc82c3d
Improve objdump's handling of corrupt input files.
...
Resolves : #1680663
2019-02-25 16:58:49 +00:00
Nick Clifton
bbcde65656
Fix some bfd linker testsuite failures.
2019-02-20 13:06:40 +00:00
Nick Clifton
68e3eaebed
Rebase to GNU Binutils 2.32
2019-02-20 11:24:25 +00:00
Nick Clifton
2aa9183617
Ensure that decompressed sections have the correct alignment.
...
Related: #1678204
2019-02-18 15:01:45 +00:00
Nick Clifton
9e69a9f1b2
Rework the post uninstall stage to avoid mysterious error from ldconfig.
...
Resolves : #1673912
2019-02-14 17:09:02 +00:00
Fedora Release Engineering
673d465538
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-01-31 14:38:14 +00:00
Nick Clifton
0ae8348359
another Merge branch 'master' of ssh://pkgs.fedoraproject.org/rpms/binutils
2019-01-30 11:53:49 +00:00
Nick Clifton
8328d01902
Fix the assembler's check that the output file is not also one of the input files.
...
Resolves : #1660279
2019-01-30 11:53:06 +00:00
Igor Gnatenko
597aff75bf
Remove obsolete scriptlets
...
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-01-29 06:28:12 +01:00
Igor Gnatenko
bb1823f86e
Remove obsolete BuildRoot tag
...
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-01-29 05:34:30 +01:00
Igor Gnatenko
0598fac554
Remove obsolete scriptlets
...
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-01-27 15:25:23 +01:00
Nick Clifton
263729c7ef
Fix a memory leak reading minisymbols.
...
Resolves : #1661535
2019-01-03 14:53:35 +00:00
Nick Clifton
a2261d64e8
Ensure that GOLD is linked with pthread library. ( #1636479 )
2019-01-02 12:54:05 +00:00
Nick Clifton
fde96c9add
Stop gold from warning about discard version information unless explicitly requested.
...
Resolves : #1654153
2018-11-28 14:18:00 +00:00
Nick Clifton
b094c0da4a
Remove debugging fprintf statement accidentally left in patch.
...
Resolves : #1645828
2018-11-15 14:35:14 +00:00
Nick Clifton
4a979a7ca0
Allow OS specific sections in section groups. ( #1639485 )
2018-10-19 12:31:04 +01:00
Nick Clifton
b25b0811ad
Fix a potential buffer overrun when parsing a corrupt ELF file. ( #1632912 )
...
Add a .attach_to_group pseuo-op to assembler (for use by annobin). (#1630574 )
Stop the binutils from statically linking with libstdc++. (#1630550 )
Include gold testsuite results in test logs.
Disable readelf's reporting of gaps in build notes. (#1623556 )
2018-09-28 14:19:31 +01:00
Nick Clifton
ae9f9e49b7
Delay the evaluation of linker script constants until after the configuration options have been set.
...
Resolves : #1624751
2018-09-04 12:02:54 +01:00
Nick Clifton
f62ff52c89
Detect and report corrupt symbol version information.
...
Relates: #1599521
2018-08-28 13:05:02 +01:00
Nick Clifton
bddf5597fc
Remove the version information from a dynamic symbol that is being overridden.
...
Relates: #1614920
2018-08-14 11:06:53 +01:00
Nick Clifton
67b290a73f
Improve objcopy's --merge-notes option.
...
Relates: #1608390
2018-08-06 11:51:44 +01:00
Florian Weimer
964511b7be
Rebuild with fixed binutils
2018-07-31 10:28:28 +02:00
Nick Clifton
b97225ea48
Move the .gnu.build.attributes section to after the .comment section.
2018-07-30 11:42:41 +01:00
Nick Clifton
fa9010df1f
Move the .gnu.build.attributes section to after the other readonly sections.
2018-07-27 11:51:59 +01:00
Nick Clifton
a9675438c0
Fix typo in merge patch
2018-07-27 10:37:35 +01:00
Nick Clifton
2d0d6ec530
Merge .gnu.build.attribute sections together. [for GOLD]
...
Relates: #1608390
2018-07-26 22:11:14 +01:00
Nick Clifton
1bbe42b979
Merge .gnu.build.attribute sections together.
...
Realtes: #1608390
2018-07-26 14:01:23 +01:00
Nick Clifton
3aa289aea0
Correct changelog entries
2018-07-25 08:16:34 +01:00
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