Commit Graph

723 Commits

Author SHA1 Message Date
Nick Clifton
6ae0a15bfc Stop readelf and objdump from unnecessarily following links. (#2086863) 2022-05-21 14:43:45 +01:00
Nick Clifton
6f4f398193 Add support for generating static PIE binaries for s390x. (#2088331) 2022-05-19 13:29:18 +01:00
Nick Clifton
10477980ae Add an option to objdump/readelf to disable accessing debuginfod servers.
Resolves: #2051741
2022-03-10 11:44:30 +00:00
Nick Clifton
6d28776abe Fix a potential illegal memory access parsing a corrupt ELF format file.
Resolves: #2052522
2022-02-10 10:50:50 +00:00
Nick Clifton
e38a1643f1 Fix a potential illegal memory access parsing a COFF format file. (#2033716) 2021-12-20 14:58:26 +00:00
Nick Clifton
3f8fde082b Add support for the EFI format to the AArch64 target.
Resolves: #2027515
2021-12-01 16:22:03 +00:00
Nick Clifton
620973c050 Add ability to warn about multibyte characters in the assembler. (#2018848) 2021-11-19 12:36:57 +00:00
Nick Clifton
1524ef5833 Add ability to show unicode characters to display tools. 2021-11-09 16:23:45 +00:00
Nick Clifton
fa66961fc8 Add upstream patch to use the directory name in .file 0, fixes ccache FTBFS
Resolves: #1996936
2021-11-08 15:29:03 +00:00
Nick Clifton
16cc417f02 Disable LTO on arm. (#1918924) 2021-09-16 17:15:18 +01:00
Nick Clifton
b55e9b8c78 Fix a few testsuite failures. Backport upstream patch to fix fd exhaustion 2021-08-20 12:18:10 +01:00
Nick Clifton
f4ad5792af Fix a local change to readelf which resulted in a success exit code for non-existant files.
Resolves: #1990817
2021-08-10 11:13:56 +01:00
Nick Clifton
ffc81ff11e Add new patch 2021-08-09 19:57:00 +01:00
Nick Clifton
01ca902e23 Ensure that dir[0] contains pwd in gas generated DWARF-5 directory tables. (#1966987) 2021-08-09 19:41:14 +01:00
Fedora Release Engineering
d5ffebd3b7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 18:37:30 +00:00
Nick Clifton
9eaca4038a Various fixes for testsuite failures. 2021-07-21 11:40:49 +01:00
Nick Clifton
6d1ff8eb0b Fix sources 2021-07-19 17:24:33 +01:00
Nick Clifton
90f5896dac Rebase to GNU Binutils 2.37.
- Retire: binutils-2.36-branch-updates.patch
- Retire: binutils-CVE-2021-20197.patch
- Retire: binutils-CVE-2021-3530.patch
- Retire: binutils-plugin-file-descriptors.patch
- Retire: binutils-ppc-weak-undefined-plt-relocs.patch
- Retire: binutils-ppc64le-note-merge.patch
- Retire: binutils-s390-arch14-insns.patch
2021-07-19 17:07:20 +01:00
Václav Kadlčík
acab70872f Remove RHEL's regression test for #1804696
After [1] the reproducer isn't valid any more. Fortunately there's
a better reproducer and it's included in the internal test suite
(pr25458) and we run the suite (see tests/Sanity/testsuite). To sum
it up, we can delete the #1804696 test.

[1] 52d0948022
2021-07-01 21:02:27 +02:00
Václav Kadlčík
24cc8051d1 More debuginfos needed in test Regression/bz1311352 2021-07-01 18:15:39 +02:00
Václav Kadlčík
58f355fcc3 Un-break test Sanity/dts-probe-binaries for glibc 2.34
Don't look for __libc_csu_init, it's not in binaries built with glibc
2.34. See [1].

[1] https://sourceware.org/git/?p=glibc.git;a=commit;h=035c012e32c11e84d64905efaf55e74f704d3668
2021-07-01 16:47:41 +02:00
Nick Clifton
fba59c4283 Enable the creation of .note.gnu.property sections by the GOLD linker for x86 binaries. (#1970961) 2021-06-21 18:02:11 +01:00
Nick Clifton
fb7c644d99 Set clang bconf default based on %%toolchain.
Diable LTO when using clang.
Disable check-rpath's test for standard runpaths.
Make the existing tests have the gating effect.
2021-06-03 15:01:45 +01:00
Václav Kadlčík
c82e600f3f Unbreak tests/Sanity/rebuild-coreutils
Work around #1960792 (a coreutils bug). While the systems running
Fedora CI are still affected, the fix is already in the update
repos. Using "dnf update coreutils" should be enough to make our
test pass.
2021-06-01 14:08:24 +00:00
Nick Clifton
3ebde0f76b Remove spurious spaces from binutils.spec 2021-05-27 13:06:57 +01:00
Nick Clifton
a4b106ec38 Increase number of file descriptors available to plugins. (#1918924)
Remove uses of RPATH.
2021-05-27 10:44:25 +01:00
Václav Kadlčík
284ad2a04b Import RHEL's regression test for #1804696
A tweak was needed for Rawhide (or anything after [1]): readelf
requires "-W" to display the "_environ" symbol without truncating.

[1] https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=0942c7ab94e554657c3e11ab85ae7f15373ee80d
2021-05-26 07:34:05 +02:00
Václav Kadlčík
8b9a64065d Import RHEL's test Sanity/rebuild-coreutils 2021-05-25 08:38:59 +02:00
Václav Kadlčík
518691547f Import RHEL's test Sanity/rebuild-wget 2021-05-25 08:38:34 +02:00
Václav Kadlčík
8d1431acf8 Import RHEL's test Sanity/rebuild-emacs 2021-05-25 08:37:46 +02:00
Václav Kadlčík
f5c84aa932 Merge branch 'rawhide' of https://src.fedoraproject.org/forks/vkadlcik/rpms/binutils into rawhide 2021-05-25 08:08:19 +02:00
Václav Kadlčík
473ccf2683 Import RHEL's test Sanity/testsuite
It's a wrapper for the upstream test suite.

There's one small addition (already inherited from RHEL) covering
but I'm keeping it here for convenience as it works with the upstream
test suite too. I've slightly modified it to make it work beyond
RHEL 8. The modification is based on the final upstream fix [1] and
the related discussion in thread [2].

[1] https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6bf4a34047452f882c5cc66bd85812ee1bb5a41c
[2] https://sourceware.org/pipermail/binutils/2018-August/104304.html
2021-05-21 17:02:51 +00:00
Václav Kadlčík
54c8d3242b Merge remote-tracking branch 'upstream/rawhide' into rawhide 2021-05-21 12:22:29 +02:00
Nick Clifton
2680508b04 Spec file tidy ups 2021-05-21 10:32:35 +01:00
Václav Kadlčík
0b3adba8ff Merge remote-tracking branch 'upstream/rawhide' into rawhide 2021-05-19 06:42:47 +02:00
Nick Clifton
fc998ec612 Generate PLT relocs for weak undefined PPC function symbols.
Resolves: #1960730
2021-05-18 12:50:19 +01:00
Václav Kadlčík
5069c58e30 Import RHEL's test Sanity/testsuite
It's a wrapper for the upstream test suite.

There's one small addition (already inherited from RHEL) covering
but I'm keeping it here for convenience as it works with the upstream
test suite too. I've slightly modified it to make it work beyond
RHEL 8. The modification is based on the final upstream fix [1] and
the related discussion in thread [2].

[1] https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6bf4a34047452f882c5cc66bd85812ee1bb5a41c
[2] https://sourceware.org/pipermail/binutils/2018-August/104304.html
2021-05-14 10:11:23 +02:00
Nick Clifton
616b9e8e44 Enable new dtags 2021-05-13 12:07:17 +01:00
Václav Kadlčík
64cf74e8a3 Fix RHEL's test Sanity/dts-probe-binaries
Here are the changes, promised in the import commit:
- Adapt to binutils 2.36.1:
  - ".dynstr" no longer in the symbol table, see
    https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=d1bcae833b32f1408485ce69f844dcd7ded093a8
  - only one '@' for undefined symbols in the symbol table, see
    https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=3f2e9699234ca31d083bc93ea6e03903f10baeaf
- Remove code specific to older RHELs
2021-05-12 05:41:19 +02:00
Václav Kadlčík
22348da57d Import RHEL's test Sanity/dts-probe-binaries
Unchanged yet, failing on Fedora Rawhide. I'll fix it in the
upcoming commit.
2021-05-12 05:39:34 +02:00
Václav Kadlčík
8e50243c45 Import RHEL's regression test for #241252 2021-05-11 15:30:04 +00:00
Václav Kadlčík
95e9eaea23 Import RHEL's regression test for #430856 2021-05-11 15:30:04 +00:00
Václav Kadlčík
3740b5fe3f Import RHEL's regression test for #435078 2021-05-11 15:30:04 +00:00
Václav Kadlčík
2c6bc398b0 Import RHEL's regression test for #480009 2021-05-11 15:30:04 +00:00
Václav Kadlčík
fe3f218ee7 Import RHEL's regression test for #495196 2021-05-11 15:30:04 +00:00
Václav Kadlčík
ba92017b68 Import RHEL's regression test for #509124 2021-05-11 15:30:04 +00:00
Václav Kadlčík
14a74d027d Import RHEL's regression test for #531269 2021-05-11 15:30:04 +00:00
Václav Kadlčík
1f73172fe0 Import RHEL's regression test for #533321 2021-05-11 15:30:04 +00:00
Václav Kadlčík
001cb68e0a Import RHEL's regression test for #578576 2021-05-11 15:30:04 +00:00
Václav Kadlčík
22c57fab15 Import RHEL's regression test for #587788 2021-05-11 15:30:04 +00:00