Commit graph

756 commits

Author SHA1 Message Date
Nick Clifton
61fa7eb43b Linker: Do not associate allocated reloc sections with the .symtab section. (#2166419) 2023-03-30 16:07:03 +01:00
Miloš Prchlík
9a32411e0c 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 10:12:29 +01:00
yahmad
5e53841477 - Fic configuration of s390x binutils so that it does not include support for extraneous targets. (#2139143)
- Fix readelf's decoding of files with no sections.  (#2131609)
- Stop potential infinite loop in the binutils DWARF parser.  (#2122675)

NOTE: Getting back in sync. Previous commit was done by mistake.
(commit f3e2e5419d)
2022-11-17 16:06:53 +01:00
yahmad
f3e2e5419d - Stop a potential infinite loop in the binutils DWARF parser. (#2122675) 2022-09-07 16:25:20 +02:00
yahmad
f4b048a78b Improving the performance of bfd function lookup_func_by_offset 2022-09-07 11:51:30 +02:00
yahmad
d8e4b1f5a0 - Fixes warning when running strip on an object file (#2114597) 2022-08-10 20:21:06 +02:00
yahmad
1c29d08ae4 - Add the --package-metadata option to the linkers. (#2099999) 2022-08-08 17:19:27 +02:00
yahmad
c1349c74c4 - Restore the use of --enable-64-bit-bfd for the AArch64 and riscv64 targets.
- Check and enable 64-bit bfd on aarch64 and riscv64.
2022-08-04 10:29:09 +02:00
Nick Clifton
2571e2aaa2 Move update to correct patch file 2022-06-30 15:47:28 +01:00
Nick Clifton
c35887d498 Fix a problem honouring readelf's -wE and -wN command line options. 2022-06-30 15:33:18 +01:00
yahmad
6009a5bc1d Add back again deleted sources 2022-06-09 12:37:59 +02:00
yahmad
6007cbaca0 - Fix bug in binutils.spec file that was causing the wrong linker flags to be used.
- Change the ld man page so that it says that --enable-new-dtags is the default.  (#2090818)
2022-06-09 00:06:20 +02:00
Nick Clifton
db11ef8049 Stop readelf and objdump from unnecessarily following links. (#2086863) 2022-05-21 14:37:21 +01:00
Nick Clifton
1cb629116d Add patch as well 2022-05-20 09:12:25 +01:00
Nick Clifton
2777742ac4 Add support for generating static PIE binaries for s390x. (#2088331) 2022-05-20 09:12:13 +01:00
yahmad
5c24001c4c - Fix description of gold subpackage so that it does not include the Requires fields. (#2082919) 2022-05-19 16:21:35 +02:00
yahmad
d56d81b64e - Fix description of gold subpackage so that it does not include the Requires fields. (#2082919) 2022-05-19 16:04:27 +02:00
Nick Clifton
325f0aa6e2 Add an option to objdump/readelf to disable accessing debuginfod servers.
Resolves: #2051741
2022-03-10 11:29:11 +00:00
Nick Clifton
33b2864149 Fix a potential illegal memory access parsing a corrupt ELF format file.
Resolves: #2052522
2022-02-10 10:47:28 +00:00
Nick Clifton
c13a28efbc Borrow a patch from the GCC package to stop libtool from inserting needless runpaths into binaries. (#2030667) 2022-01-27 16:47:47 +00:00
Fedora Release Engineering
95c35f80af - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-19 22:21:08 +00:00
Nick Clifton
9a25c9f346 Fix a potential illegal memory access parsing a COFF format file. (#2033716) 2021-12-20 14:07:45 +00:00
Nick Clifton
14b1fc0e7b Backport upstream patch to allow readelf to recognize packaging metadata note. 2021-12-02 13:21:29 +00:00
Luca Boccassi
a2393deeee Backport upstream patch to allow readelf to recognize packaging metadata note
Will be useful to implement:

https://fedoraproject.org/wiki/Changes/Package_information_on_ELF_objects
Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
2021-12-01 17:42:19 +00:00
Nick Clifton
893b61d358 Add support for the EFI format to the AArch64 target.
Resolves: #2027515
2021-12-01 14:52:45 +00:00
Nick Clifton
94be2cd1fb Add ability to warn about multibyte characters in the assembler. (#2018848) 2021-11-19 12:14:31 +00:00
5bb4d15d3c Merge #31 Fix the setup in tests/Sanity/testsuite 2021-11-16 16:15:55 +00:00
Nick Clifton
5074d55c3d Add changelog entry for latest update 2021-11-16 11:01:54 +00:00
Václav Kadlčík
5dbfbba047 Fix the setup in tests/Sanity/testsuite
"koji download-build" is a wrong tool to download artifacts being
tested. They are freshly scratch-built and hosted in a local repo
called "test-artifacts" unknown to koji. Using "dnf download"
directly and limited to that specific repo is a correct way to
reach them.

I'm adding a fallback using the repo's local files just in case
"dnf" suffers some temporary hiccup.
2021-11-16 08:47:43 +00:00
Luca Boccassi
5f97030592 Add BuildRequires: bison, needed to regenerate ld files
Can be dropped after moving to 2.38

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
2021-11-15 23:19:30 +00:00
Luca Boccassi
df67e06692 Add upstream patch to allow creating read-only notes from linker scripts
Required to facilitate implementing:

https://fedoraproject.org/wiki/Changes/Package_information_on_ELF_objects

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
2021-11-15 22:28:42 +00:00
Nick Clifton
86336d536a Add ability to show unicode characters to display tools. 2021-11-09 14:19:07 +00:00
Nick Clifton
9e8ef94636 Add upstream patch to use the directory name in .file 0, fixes ccache FTBFS
Resolves: #1996936
2021-10-27 13:19:02 +01:00
Orion Poplawski
ca8ef33300 Add upstream patch to use the directory name in .file 0, fixes ccache FTBFS (bz#1996936) 2021-10-26 20:20:10 -06:00
Timm Bäder
47508dc848 Remove leftover .la files
The rpm included /usr/lib64/libctf-nobfd.la and /usr/lib64/libctf.la via
the libctf* wildcard in %files.
2021-10-26 12:22:18 +02:00
Nick Clifton
92a1236ab3 Fix linker seg-fault compiling efivar libraries.
Resolves: #2012247
2021-10-13 15:23:37 +01:00
Nick Clifton
752fe419ea Fix linker testsuite failures triggered by 2.27-13 patch.
Resolves: #2008203
2021-10-01 11:17:12 +01:00
Nick Clifton
e59cdcdfc5 Default to an entry address of 0 for shared libraries.
Resolves: #2004952
2021-09-17 12:23:04 +01:00
Tom Stellard
73c2d21c11 Disable LTO on arm. (#1918924) 2021-09-14 16:08:12 -07:00
Nick Clifton
75c516c6c2 Enable -separate-code for all architectures, not just x86/x86_64. 2021-09-13 14:46:30 +01:00
Nick Clifton
50232d48dc Allow configuring with autonconf 2.71.
Resolves: #1999437
2021-09-10 10:39:51 +01:00
Nick Clifton
dcb64b3d34 Fix a couple of test failures 2021-08-19 16:29:28 +01:00
Stephen Gallagher
252f93244d
Fix regression breaking Node.js builds
https://sourceware.org/bugzilla/show_bug.cgi?id=28138

https://github.com/nodejs/node/issues/39452

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2021-08-11 10:38:16 -04:00
Nick Clifton
a2d562c07d Ensure that the manual pages are generated. (#1989836) 2021-08-10 18:47:33 +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