Commit Graph

804 Commits

Author SHA1 Message Date
Nick Clifton
13a8e71fad Add fixes for linker testsuite failures for the RISCV-64 target. 2023-08-24 12:26:02 +01:00
Adam Williamson
a74941f97f Bump spec for CI fixes again 2023-08-17 17:51:18 -07:00
Adam Williamson
53e1e785a0 Update the Sanity/testsuite test for new build location
6bfd06790b changed where the build
actually happens, so these cp commands fail and break the test.
This change is based on the version in
https://gitlab.com/redhat/centos-stream/rpms/binutils/-/blob/c9s/tests/Sanity/testsuite/runtest.sh
but reimplemented in line with the rest of this somewhat
different version of the test (I am not sure what the story is
with these different versions of the tests in Fedora vs. CentOS
Stream, I'm trying to find that out).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-08-17 17:50:22 -07:00
Adam Williamson
ccf531f53d Update a regression test for a changed error text
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-08-17 17:46:18 -07:00
Adam Williamson
fcb20d506b Bump release for the CI test fix 2023-08-17 11:50:22 -07:00
Adam Williamson
78d9a63f8b Use uname -m instead of uname -i
-i (and -p) just say "unknown", since Fedora 38:
https://bugzilla.redhat.com/show_bug.cgi?id=2203350
-m still seems to do the right thing.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2023-08-17 10:02:13 -07:00
Nick Clifton
ec1bac1bd2 Readd missing source file 2023-08-16 08:20:50 +01:00
Nick Clifton
0b1c8753b9 Rebase to GNU Binutils 2.41. 2023-08-16 08:05:23 +01:00
Fedora Release Engineering
b6cd5a80bd Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-19 14:37:54 +00:00
Nick Clifton
262733044e Spec File: migrated to SPDX license.
Resolves: #2222113
2023-07-19 09:53:58 +01:00
Nick Clifton
49f3d832d9 Spec File: Change License field to use SPDX notation. (#2222113) 2023-07-17 13:47:30 +01:00
Nick Clifton
93b20dcdbf Spec File: Add defines to enable rwx and execstack warnings. 2023-06-21 11:20:13 +01:00
Nick Clifton
41f66d24b8 Spec File: Remove debug files from default package.
Resolves: #2208360
2023-05-31 15:48:18 +01:00
Nick Clifton
b2ca1be519 GOLD: Stop an abort triggered by running dwp on a file with no dwo links.
Spec File: Use _prefix.
2023-05-02 15:24:48 +01:00
Nick Clifton
184c1812b1 Spec File: Fix typo. (#2186396)
BFD library: Fix illegal memory access when loading corrupt symbol version info.  (#2186579)
2023-04-17 17:20:54 +01:00
Nick Clifton
d0a86e89e0 Linker: Do not associate allocated reloc sections with the .symtab section.
Resolves: #2166419
2023-03-30 14:18:00 +01:00
Nick Clifton
9fe14c4dd6 Fix version requirement of gprofng package 2023-03-08 18:05:51 +00:00
Nick Clifton
fb35f3c111 Spec file: Rebuild libsframe.a with -fPIC enabled. (#2174841) 2023-03-08 10:11:37 +00:00
Nick Clifton
52ad8b6547 Extend libsframe.a inclusion into libbfd.so 2023-03-08 10:10:28 +00:00
Nick Clifton
f751bb5ce4 Spec file: Add libsframe.a to the (fake) libbfd.so. (#2174841) 2023-03-07 09:32:16 +00:00
Nick Clifton
6502fbec15 Add in renamed patch file 2023-02-16 13:02:56 +00:00
Nick Clifton
b094a17b03 Fix testsuite failures for RiscV64 target 2023-02-16 12:54:36 +00:00
Nick Clifton
66740f7362 Fix sources 2023-02-14 14:48:23 +00:00
Nick Clifton
d8e1d9b57a Rebase to 2.40.
Retire: binutils-package-metadata.patch
Retire: binutils-gas-dwarf-skip-empty-functions.patch
Retire: binutils-CVE-38128-dwarf-abbrev-parsing.patch
Retire: binutils-readelf-no-sections.patch
Retire: binutils-libiberty-configure-compile-warnings.patch
Retire: binutils-CVE-2022-4285.patch
2023-02-14 14:42:20 +00:00
Nick Clifton
6bfd06790b Spec File: Add (disabled by default) support for cross-builds of the binutils. 2023-01-31 11:59:03 +00:00
Fedora Release Engineering
3ac2843cab Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-18 22:53:34 +00:00
Nick Clifton
66f76524de Speed up objcopy's note merging algorithm. (#29993) 2023-01-18 11:27:31 +00:00
Miloš Prchlík
6765525905 tests: fix tmt plan setup, "how: beakerlib" is no longer supported
Tests set their "framework" key correctly to "beakerlib", the correct setting for plan is therefore "tmt". This was not needed until recently, the old form was deprecated but still supported by Testing Farm, but not anymore.
2022-12-14 09:39:06 +01:00
Nick Clifton
7ef644fbf6 Fix a potential dereference of a NULL pointer.
Resolves: #2152946
2022-12-13 16:06:33 +00:00
Nick Clifton
14fb249724 Fix compile time warnings of the configure test files in the libiberty directory. (#2144041) 2022-11-23 15:51:17 +00:00
Nick Clifton
78fe7f4703 Fix configuration of s390x binutils so that it does not include support for extraneous targets.
Resolves: #2139143
2022-11-02 15:27:50 +00:00
Nick Clifton
e27610f6a7 Fix readelf's decoding of files with no sections. (#2131609) 2022-10-03 14:38:13 +01:00
Nick Clifton
dd133b6b81 Stop a potential infinite loop in the binutils DWARF parser.
Resolves: #2122675
2022-08-31 15:50:50 +01:00
Nick Clifton
92265683bf Move gprofng binaries and man pages into the gprofng sub-package 2022-08-16 13:42:16 +01:00
Nick Clifton
4a4bd90398 Rebase to GNU Binutils 2.39.
- Retire: binutils-CVE-2019-1010204.patch
- Retire: binutils-use-long-long.patch
- Retire: binutils-section-type.patch
- Retire: binutils-gas-loc-view.patch
- Retire: binutils-do-not-use-debuginfod.patch
- Retire: binutils-indirect-symbols.patch
- Retire: binutils-s390x-static-PIE.patch
- Retire: binutils-link-following.patch
- Retire: binutils-x86-non-canonical-references.patch
- Retire: binutils-ppc64-DT_RELR-relocs.patch
- Retire: binutils-ppc-gas-machine-directive.patch
2022-08-12 15:22:59 +01:00
Luca Boccassi
44cef29673 Build with jansson when not bootstrapping. 2022-08-10 11:26:47 +01:00
Luca Boccassi
1fb1ae3dd6 Build with jansson when not bootstrapping
Enables automatic validation of --package-metadata
2022-08-04 22:39:25 +01:00
Nick Clifton
9ee9ffc894 Add the --package-metadata option to the linkers. (#2099999) 2022-08-04 13:47:53 +01:00
Nick Clifton
0859b9f54c fix typo 2022-07-28 12:06:36 +01:00
Nick Clifton
17f6d21f57 Fix linker testsuite failure 2022-07-28 10:35:16 +01:00
Nick Clifton
544bea2339 Tweak the PowerPC assembler's handling of the .machine directive.
Resolves: #2111082
2022-07-26 16:36:29 +01:00
Amit Shah
fa2df7c5e7 Check and enable 64-bit bfd on aarch64 and riscv64. 2022-07-26 09:39:35 +01:00
Nick Clifton
1b1ba83846 Restore the use of --enable-64-bit-bfd for the AArch64 and Riscv targets. 2022-07-25 16:56:47 +01:00
Fedora Release Engineering
fc45567d6a Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-20 22:00:00 +00:00
Nick Clifton
3b3292ed1e Move update to the correct patch file 2022-06-30 15:57:49 +01:00
Nick Clifton
fa5c6f55b2 Fix a problem honouring readelf's -wE and -wN command line options. 2022-06-30 15:28:09 +01:00
Nick Clifton
4c13eef881 Fix a problem with PowerPC's handling of DT_RELR relocs. (#2095622)
Move annobin data into a separate debuginfo file.
2022-06-13 13:08:30 +01:00
Nick Clifton
7fccd0d7e7 add in renamed rpath patch 2022-06-08 12:00:22 +01:00
Nick Clifton
2d6725c1a9 Fix typos which were preventing the linker tests from running 2022-06-08 11:59:39 +01:00
Nick Clifton
fae26da53a Fix use of LDFLAGS 2022-05-28 12:39:19 +01:00