Commit Graph

823 Commits

Author SHA1 Message Date
Nick Clifton
62f9165a13 Fix SPDX annotation 2024-01-04 15:31:11 +00:00
Nick Clifton
8f1ba5b061 Have the gold linker ignore the --error-execstack and --error-rwx-segments options. 2024-01-04 10:56:42 +00:00
Nick Clifton
05f5ab6f6f Use builtin zlib library (system version has conflicts) 2024-01-03 17:40:13 +00:00
Nick Clifton
3b7f3a5c52 Fix handling of Risc-V SUB_LEB128 relocation. (PR31179) 2024-01-03 16:45:04 +00:00
Nick Clifton
4196d43202 Fix (more) testsuite failures for the RiscV target. 2023-12-13 14:08:58 +00:00
Nick Clifton
e6b3d1627a Add support for Intel's AVX10.1 ISA. 2023-12-07 14:03:42 +00:00
Nick Clifton
28255cde1d Fix zlib requirements 2023-12-07 09:49:54 +00:00
Nick Clifton
1d05c1f190 Disable errors for executable stacks (enabled too early by previous delta). 2023-11-28 10:22:39 +00:00
Nick Clifton
00415f44d2 Enable errors for executable stacks. 2023-11-21 10:17:22 +00:00
Nick Clifton
8cbdd69541 Make the GOLD linker ignore the "-z pack-relative-relocs" option.
Resolves: #2248936
2023-11-10 13:55:33 +00:00
Nick Clifton
b14c746ff8 Remove extraneous deltas from execstack patch 2023-11-10 10:23:10 +00:00
Nick Clifton
1fe93dadad Fix the bfd linker's generation of call stubs for large AArch64 binaries with BTI enabled.
Resolves: #2241902
2023-11-07 12:17:50 +00:00
Nick Clifton
c3cd6c8351 Fix merging strings when linking really big programs. 2023-11-07 10:53:32 +00:00
Nick Clifton
de97bb3603 Allow for x86_64 build environments that use a base ISA of x86-64-v3.
Resolves: #2247296
2023-11-01 17:08:29 +00:00
Nick Clifton
329cf6426e Accept and ignore R_BPF_64_NODYLD32 relocations. (#2245296) 2023-10-30 12:08:11 +00:00
Nick Clifton
e8094f532e Add ability to turn execstack warnings into errors.
Enable warnings for rsx segments.
2023-10-19 14:07:53 +01:00
Nick Clifton
c2d4243912 Fix a potential NULL pointer derefence when parsing corrupt ELF symbol version information. (#2243769) 2023-10-13 12:44:52 +01:00
Nick Clifton
d294fe2ca4 Enable warnings about executable stacks by default. 2023-10-12 12:37:17 +01:00
Nick Clifton
88b4953e8b Fix the GOLD linker's handling of 32-bit PowerPC binaries. (#2234396) 2023-08-25 14:41:23 +01:00
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