diff --git a/binutils-aarch64-RELR.patch b/binutils-aarch64-RELR.patch index 8398e3e..c989d62 100644 --- a/binutils-aarch64-RELR.patch +++ b/binutils-aarch64-RELR.patch @@ -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); diff --git a/binutils.spec b/binutils.spec index 684cf2e..a7cf7cf 100644 --- a/binutils.spec +++ b/binutils.spec @@ -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 - 2.41-46 +- Import fix for AArch64 DT_RELR support (PR 31924). + * Mon Jul 01 2024 Nick Clifton - 2.41-45 - More fixes for Intel's APX (part 1) extensions. (RHEL-44713) - Total list of APX patches applied (so far):