Add bison to BuildRequires for RISC-V
Disable LTO for RISC-V Disable testsuite for RISC-V Add basic support for RISC-V 64-bit EFI objects (backported from 2.44)
This commit is contained in:
commit
2fc4318085
12
binutils-aarch64-small-plt0.patch
Normal file
12
binutils-aarch64-small-plt0.patch
Normal file
@ -0,0 +1,12 @@
|
||||
--- binutils-2.41.orig/bfd/elfnn-aarch64.c 2025-02-07 11:44:36.953219415 +0000
|
||||
+++ binutils-2.41/bfd/elfnn-aarch64.c 2025-02-07 11:44:46.021239972 +0000
|
||||
@@ -10264,7 +10264,8 @@ elfNN_aarch64_init_small_plt0_entry (bfd
|
||||
/* PR 26312: Explicitly set the sh_entsize to 0 so that
|
||||
consumers do not think that the section contains fixed
|
||||
sized objects. */
|
||||
- elf_section_data (htab->root.splt->output_section)->this_hdr.sh_entsize = 0;
|
||||
+ if (elf_section_data (htab->root.splt->output_section) != NULL)
|
||||
+ elf_section_data (htab->root.splt->output_section)->this_hdr.sh_entsize = 0;
|
||||
|
||||
plt_got_2nd_ent = (htab->root.sgotplt->output_section->vma
|
||||
+ htab->root.sgotplt->output_offset
|
@ -2,7 +2,7 @@
|
||||
Summary: A GNU collection of binary utilities
|
||||
Name: binutils%{?_with_debug:-debug}
|
||||
Version: 2.41
|
||||
Release: 52%{?dist}.alma.1
|
||||
Release: 53%{?dist}.alma.1
|
||||
License: GPL-3.0-or-later AND (GPL-3.0-or-later WITH Bison-exception-2.2) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND BSD-3-Clause AND GFDL-1.3-or-later AND GPL-2.0-or-later AND LGPL-2.1-or-later AND LGPL-2.0-or-later
|
||||
URL: https://sourceware.org/binutils
|
||||
|
||||
@ -374,6 +374,10 @@ Patch57: binutils-s390-arch15-part-15.patch
|
||||
# Lifetime: Fixed in 2.42
|
||||
Patch58: binutils-Intel-APX-part-1-extra-relocs.patch
|
||||
|
||||
# Purpose: Fixes an illegal memory access by the AArch64 linker when constructing the small PLT
|
||||
# Lifetime: Fixed in 2.45
|
||||
Patch59: binutils-aarch64-small-plt0.patch
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
|
||||
# Purpose: Workaround for an unresolved bug in ppc gcc
|
||||
@ -385,10 +389,11 @@ Patch98: bin.ppc64.gcc.patch
|
||||
# Lifetime: TEMPORARY
|
||||
Patch99: binutils-suppress-ld-align-tests.patch
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
|
||||
# AlmaLinux Patch
|
||||
Patch100: 0001-Add-basic-support-for-RISC-V-64-bit-EFI-objects.patch
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
|
||||
Provides: bundled(libiberty)
|
||||
|
||||
%if %{with debug}
|
||||
@ -1424,12 +1429,15 @@ exit 0
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
%changelog
|
||||
* Mon Mar 03 2025 Andrew Lukoshko <alukoshko@almalinux.org> - 2.41-52.alma.1
|
||||
* Tue Mar 25 2025 Andrew Lukoshko <alukoshko@almalinux.org> - 2.41-53.alma.1
|
||||
- Add bison to BuildRequires for RISC-V
|
||||
- Disable LTO for RISC-V
|
||||
- Disable testsuite for RISC-V
|
||||
- Add basic support for RISC-V 64-bit EFI objects (backported from 2.44)
|
||||
|
||||
* Fri Feb 07 2025 Nick Clifton <nickc@redhat.com> - 2.41-53
|
||||
- Fix seg-fault in AArch64 linker when building u-boot. (RHEL-78233)
|
||||
|
||||
* Mon Jan 20 2025 Nick Clifton <nickc@redhat.com> - 2.41-52
|
||||
- Add support for more Intel APX relocs. (RHEL-74437)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user