Commit Graph

591 Commits

Author SHA1 Message Date
Nick Clifton
4e164f3ceb Fix an illegal memory access when parsing a corrupt ELF file.
Resolves: #1950481
2021-04-19 11:24:45 +01:00
Nick Clifton
56d95751ec Fix excessive memory consumption parsing corrupt DWARF information.
Resolves: #1947969
2021-04-09 17:40:36 +01:00
Nick Clifton
419f9fff4a Fix an illegal memory access when using readelf to examine a corrupt file.
Resolves: #1943534
2021-03-26 13:40:49 +00:00
Nick Clifton
b6ef461052 Update the GOLD linker to handle x86 .note.gnu.property sections.
Resolves: #1916925
2021-01-18 15:48:42 +00:00
Nick Clifton
a3451687e1 Fix strip when merging multiple same-named sections.
Resolves: #1885607
2021-01-14 16:57:05 +00:00
Nick Clifton
e4e1fcf172 Fix bug running readelf on an empty file. (#1903448)
Fix bug running readelf on a file that cannot be read.  (#1913589)
2021-01-08 17:47:26 +00:00
Nick Clifton
9030781630 Add DWARF5 fixes from 2_35-branch. 2020-11-27 16:32:09 +00:00
Nick Clifton
850ad561ca Add missing patch 2020-10-30 10:51:58 +00:00
Nick Clifton
5ab4346626 Correction for plugin as-needed patch.
Related: #1889763
2020-10-30 10:50:20 +00:00
Nick Clifton
5305d155cb Allow plugin syms to mark as-needed shared libs needed. 2020-10-09 13:25:26 +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
Nick Clifton
3eb4862ad3 Remove unneeded patches 2020-07-27 15:21:06 +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
5cfc5a91d2 Add gcc 10 build fixes 2020-07-24 19:57:15 +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
d1aeab2109 readd sed script 2020-04-20 16:05:49 +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