Import fix for AArch64 DT_RELR support (PR 31924).

Resolves: RHEL-31846
This commit is contained in:
Nick Clifton 2024-07-03 12:02:05 +01:00
parent b44dd57ea1
commit 04939418b6
2 changed files with 15 additions and 1 deletions

View File

@ -3435,3 +3435,14 @@ Only in binutils-2.41/ld/testsuite/ld-aarch64: relr-discard.s
+.p2align 1
+discard_DYNAMIC:
+.xword _DYNAMIC
--- binutils.orig/bfd/elfnn-aarch64.c 2024-07-03 11:30:06.253468451 +0100
+++ binutils-2.41/bfd/elfnn-aarch64.c 2024-07-03 11:32:46.511868389 +0100
@@ -5993,8 +5993,6 @@ elfNN_aarch64_final_link_relocate (reloc
{
/* Don't emit a relative relocation that is packed, only
apply the addend. */
- if (globals->no_apply_dynamic_relocs)
- return bfd_reloc_ok;
return _bfd_final_link_relocate (howto, input_bfd, input_section,
contents, rel->r_offset, value,
signed_addend);

View File

@ -2,7 +2,7 @@
Summary: A GNU collection of binary utilities
Name: binutils%{?_with_debug:-debug}
Version: 2.41
Release: 45%{?dist}
Release: 46%{?dist}
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
@ -1384,6 +1384,9 @@ exit 0
#----------------------------------------------------------------------------
%changelog
* Wed Jul 03 2024 Nick Clifton <nickc@redhat.com> - 2.41-46
- Import fix for AArch64 DT_RELR support (PR 31924).
* Mon Jul 01 2024 Nick Clifton <nickc@redhat.com> - 2.41-45
- More fixes for Intel's APX (part 1) extensions. (RHEL-44713)
- Total list of APX patches applied (so far):