Commit Graph

776 Commits

Author SHA1 Message Date
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
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