Commit Graph

756 Commits

Author SHA1 Message Date
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
Nick Clifton
15c0289a28 Change the ld man page so that it says that --enable-new-dtags is the default.
Resolves: #2090818
2022-05-27 11:34:21 +01:00
Nick Clifton
97c0e8e507 x86 linker: Disallow invalid relocations against protected symbols. (#2089358) 2022-05-24 12:35:34 +01:00
Nick Clifton
2749aba2e5 Stop readelf and objdump from unnecessarily following links. (#2086863) 2022-05-21 13:11:18 +01:00
Nick Clifton
107db84d77 Fix bug preventing ld testsuite from running 2022-05-19 14:13:15 +01:00
Nick Clifton
b223b873be Add support for generating static PIE binaries for s390x. (#2088331) 2022-05-19 12:21:43 +01:00
Nick Clifton
f02d283cbb Fix description of gold subpackage so that it does not include the Requires fields. (#2082919) 2022-05-12 10:58:15 +01:00
Nick Clifton
9c952780c9 remove unused patches 2022-05-06 13:53:51 +01:00
Nick Clifton
c0d31e974b Fix linker testsuite failures 2022-04-05 11:26:53 +01:00
Nick Clifton
467b87538d Fix a bug handling indirect symbols. (PR 28879) (#2068343) 2022-03-30 12:25:35 +01:00
Nick Clifton
6bd3a0b7c2 fix loc view patch 2022-03-10 13:31:23 +00:00
Nick Clifton
4a7c8e040b Add an option to objdump/readelf to disable accessing debuginfod servers.
Resolves: #2051741
2022-03-10 09:42:01 +00:00
Nick Clifton
c074b4afae Simplify the assembler's evaluation of chained .loc view expressions.
Resolves: #2059646
2022-03-09 13:56:31 +00:00
Nick Clifton
d685480361 Do not export any windows tools (if they were built).
Resolves: #2057636
2022-02-28 13:11:07 +00:00
Nick Clifton
b04b2360b7 Add support for specifying a section type in linker scripts.
Resolves: #2052801
2022-02-16 18:04:53 +00:00
Václav Kadlčík
10575a5d52 Fix RHBZ#1311352 test for newer Fedora versions
The test used nscd which has been obsoleted by Fedora [1].  Fortunately
that package was just an example, any package using the same debuginfo
layout will do. Let's use coreutils instead.

[1] https://fedoraproject.org/wiki/Changes/RemoveNSCD
2022-02-16 13:37:38 +01:00
Nick Clifton
ea9a413173 fix sources 2022-02-10 12:03:25 +00:00
Nick Clifton
24c5f0f956 Rebase on GNU Binutils 2.38. 2022-02-10 11:51:11 +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
Martin Cermak
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