Commit Graph

541 Commits

Author SHA1 Message Date
5ec8a8d210
Merge remote-tracking branch 'up/master' into master-riscv64
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2019-12-22 08:24:31 +02:00
Nick Clifton
07a2a5840d Re-enable strip merging build notes.
Resolves: #1777760
2019-12-02 15:58:13 +00:00
9a3cd85fa5
Merge remote-tracking branch 'up/master' into master-riscv64
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2019-12-02 15:13:50 +02: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
e09271c726
Bump release (riscv specific changes)
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2019-11-09 14:57:49 +02:00
211d54ccb1 Merge remote-tracking branch 'up/master' into master-riscv64 2019-11-09 14:56:57 +02: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
dfb26de405
Remove obsolete patches (merged upstream)
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2019-11-05 13:56:44 +02:00
048b54dccd
Merge remote-tracking branch 'up/master' into master-riscv64
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2019-11-05 13:55:44 +02: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
f615db3f46
Merge remote-tracking branch 'up/master' into master-riscv64
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2019-06-20 09:57:08 +03:00
Nick Clifton
6ba705ff04 Import fix for PR 23870 in order to help building Go binaries. 2019-05-21 12:15:54 +01:00
30e3b0b62f
Merge remote-tracking branch 'up/master' into master-riscv64
Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
2019-05-04 21:45:21 +03: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
578905cf58
Enable 64-bit targets on RISC-V (--enable-64-bit-bfd)
Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
2019-04-13 10:21:48 +02:00
ccbd31cb6c
Backport fix for object files without ELF header flags set on RISC-V
This caused compilation errors for glib package.

Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
2019-04-13 10:18:08 +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