Commit Graph

624 Commits

Author SHA1 Message Date
Nick Clifton
94c52a6c76 Add support for DWARF-5 sections to the bfd linker's scripts.
Resolves: #1922707
2021-02-01 11:03:26 +00:00
Nick Clifton
1c9437f634 Fix a vulnerability in the smart_rename function.
Resolves: #1913744
2021-01-29 14:55:39 +00:00
Nick Clifton
da81b23637 Fix failures is gas and ld testsuites. 2021-01-28 10:27:32 +00:00
Fedora Release Engineering
90ca16a5d6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 01:09:07 +00:00
Nick Clifton
88880dcb05 Update the BFD library to handle DWARF-5 line number ranges. 2021-01-25 11:53:12 +00:00
Václav Kadlčík
1171dfa950 Disk space tuning in CI test code 2021-01-22 12:54:58 +01:00
Václav Kadlčík
7294ce61bc Make some CI test code optional
The only present test case rebuilt, installed and booted the kernel.
Now let's make the install and boot steps optional, just on explicit
request. Skipping these steps will be the default behaviour, at least
for now.

You can override the default by setting variable "JUST_BUILD" in the
environment the test runs in. The variable defaults to "yes" which
means the test will just build the kernel. If you use JUST_BUILD=no
(or JUST_BUILD=false or JUST_BUILD=0) then the test will not only
build but install and boot the kernel, too.

Note that the acceptable values of JUST_BUILD are case insensitive.
2021-01-22 12:22:21 +01:00
Václav Kadlčík
4db8f84f7e Improve CI test code - remove bloat
* Remove code related to RHEL versions and not interesting in Fedora.
* Remove or simplify some architecture-specific code because Fedora CI
  aims at x86_64 only.
* Remove some older and commented out experiments.
2021-01-22 12:15:53 +01:00
Václav Kadlčík
c29a5d4751 Introduce CI with one test imported form RHEL
Sanity/rebuild-kernel-and-reboot is imported from RHEL's
tests/binutils/Sanity/rebuild-kernel-and-reboot (as of commit c5bc77c).
It needs some adaptations first before running in Fedora.
2021-01-22 12:13:50 +01:00
Nick Clifton
433c9b01d4 Update the GOLD linker to handle x86 .note.gnu.property sections.
Resolves: #1916925
2021-01-21 19:23:49 +00:00
Nick Clifton
d5e63f6505 Add a fix to gas to automatically enable DWARF-5 style file name tables. 2021-01-18 16:28:08 +00:00
Nick Clifton
0960a4713d Add an option (currently disabled) to build a linker which generates new dtags. 2021-01-15 13:11:49 +00:00
Nick Clifton
c3a1a4ef17 Ensure that bfd.h is the same for i686- and x86_64 versions of the devel rpm.
Resolves: #1915317
2021-01-12 16:34:38 +00:00
Nick Clifton
eeeb57f8ed Fix bug running readelf on an empty file. (#1903448) 2021-01-08 17:48:06 +00:00
Nick Clifton
e056abea7e Fix bug running readelf on a file that cannot be read.
Resolves: #1913589
2021-01-07 14:20:35 +00:00
Nick Clifton
5aee897b5c Fix linking with multiple same-name sections. (PR 27100) 2021-01-04 16:31:41 +00:00
Nick Clifton
4b3b7c0eda Fix linking mixed SHF_LINK_ORDER and non-SHF_LINK_ORDER sections. (#1907945) 2021-01-04 14:24:14 +00:00
Tom Stellard
1c6ed47920 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2020-12-17 22:56:04 +00:00
Florian Weimer
05722a7935 NVR bump for toolchain rebuild 2020-11-26 13:58:42 +01:00
Nick Clifton
0781ec435c Import latest fixes on 2.35 branch 2020-11-25 15:49:04 +00:00
Nick Clifton
b69788edf8 Tweaks for building cross binutils rpms. 2020-11-25 15:00:22 +00:00
Nick Clifton
c9f1c0ef4c rename spec.cross to spec.binutils.cross 2020-11-18 14:10:35 +00:00
Nick Clifton
2040d52e17 Add spec.cross file which can be used to create a meta cross binutils rpm 2020-11-12 14:58:34 +00:00
Nick Clifton
540feda45b Tweaks to improve cross building 2020-11-10 14:31:42 +00:00
Nick Clifton
7c556a22c9 Add support for DW_FORM_ref8 when parsing DWARF types. 2020-11-10 12:01:43 +00:00
Nick Clifton
9138ef7327 Fix dwarf type handling - again! 2020-11-03 20:03:31 +00:00
Nick Clifton
a4573e9c3e Another correction for plugin as-needed patch. (#1889763) 2020-11-03 13:16:50 +00:00
Nick Clifton
611c7aa70b Another fix for the plugin as-needed problem. 2020-10-30 14:41:16 +00:00
Nick Clifton
63965bc14d Correction for plugin as-needed patch.
Resolves: #1889763
2020-10-29 16:58:38 +00:00
Nick Clifton
b5f49511e0 This time without the debugging 2020-10-29 08:07:17 +00:00
Nick Clifton
a1dc8e2d32 Correction for plugin as-needed patch.
Resolves: #1889763
2020-10-28 21:18:47 +00:00
Nick Clifton
45e67f9ccb Really fix erroneous decoding of LEB128 values.
Resolves: #1891171
2020-10-27 16:59:21 +00:00
Nick Clifton
9051ca66fa Fix erroneous decoding of LEB128 values.
Resolves: #188716
2020-10-21 15:08:45 +01:00
Nick Clifton
842839bbb1 Make readelf and objdump recursively follow debug links. (PR 26595) 2020-10-15 15:11:10 +01:00
Nick Clifton
13a86b8b66 Allow plugin syms to mark as-needed shared libs needed 2020-10-09 13:23:57 +01:00
Nick Clifton
2592e35890 Fix various problems with Power10 support. 2020-10-08 17:08:25 +01:00
Nick Clifton
a04d2461fb Really add the patch to fix strip this time. 2020-10-07 14:42:08 +01:00
Nick Clifton
2c9d39bc55 Fix strip when merging multiple same-named sections.
Resolves: #1885607
2020-10-06 16:58:40 +01:00
Nick Clifton
7e6a1748ba Rebase to GNU Binutils 2.35.1 release.
Retire: binutils-gas-dwarf-level-4.patch
Retire: binutils-aarch64-plt-sh_entsize.patch
Retire: binutils-ppc-rename-xvcvbf16sp-to-xvcvbf16spn.patch
Retire: binutils-dwarf-5-fixes.patch
2020-09-21 11:06:32 +01:00
Nick Clifton
7691c28cb0 Add missing patches. 2020-09-11 11:37:55 +01:00
Nick Clifton
ba80920a4c Fix the PowerPC disassembler so that it ignores annobin symbols. 2020-09-11 11:37:10 +01:00
Nick Clifton
2e0c2015a5 Import fixes from GNU binutils mainline for handling DWARF-5 debug information. 2020-08-25 16:57:53 +01:00
Nick Clifton
d62f898ae7 Rename the PPC xvcvbf16sp instruction to xvcvbf16spn. 2020-08-24 15:12:48 +01:00
Jeff Law
7bb2daa612 Re-enable LTO 2020-07-31 18:39:00 -06:00
Jeff Law
e315473f6c Disable LTO for bootstrapping purposes 2020-07-31 15:25:01 -06:00
Nick Clifton
b22933e83e Fix building with LTO enabled. 2020-07-31 14:35:26 +01:00
Nick Clifton
93bf869662 Set the sh_entsize field of the AArch64's PLT section to 0. (PR 26312) 2020-07-31 08:13:17 +01:00
Richard W.M. Jones
6442193bff Disable LTO again, it causes "ar" to segfault. 2020-07-30 22:31:29 +01:00
Nick Clifton
722dceebdb Fix assembler to default to DWARF level 3 2020-07-30 14:05:32 +01:00
Nick Clifton
a8b0efde87 Default to DWARF level 4 in the assembler. 2020-07-30 09:29:21 +01:00