Commit Graph

498 Commits

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