From e420adc6816ef429b9e50f18760763f5e948b59b Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 30 Sep 2015 15:44:22 +0100 Subject: [PATCH] Ensure that the patch applies for native AArch64 builds. Resolves: #1262091 --- binutils-2.25-aarch64-pr18668.patch | 2 +- binutils.spec | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/binutils-2.25-aarch64-pr18668.patch b/binutils-2.25-aarch64-pr18668.patch index 96438b9..e3d8792 100644 --- a/binutils-2.25-aarch64-pr18668.patch +++ b/binutils-2.25-aarch64-pr18668.patch @@ -67,4 +67,4 @@ + *unresolved_reloc_p = FALSE; break; - case BFD_RELOC_AARCH64_16: + case BFD_RELOC_AARCH64_16_PCREL: diff --git a/binutils.spec b/binutils.spec index 5ce5174..1fc66c7 100644 --- a/binutils.spec +++ b/binutils.spec @@ -19,7 +19,7 @@ Summary: A GNU collection of binary utilities Name: %{?cross}binutils%{?_with_debug:-debug} Version: 2.25 -Release: 14%{?dist} +Release: 15%{?dist} License: GPLv3+ Group: Development/Tools URL: http://sources.redhat.com/binutils @@ -185,9 +185,7 @@ using libelf instead of BFD. %patch14 -p1 -b .ldforcele~ %endif %patch15 -p1 -b .x86_64-pie~ -%ifarch aarch64 %patch16 -p1 -b .aarch64-fpic~ -%endif %patch17 -p1 -b .dynamic_list~ %patch18 -p1 @@ -503,6 +501,9 @@ exit 0 %endif # %{isnative} %changelog +* Wed Sep 30 2015 Nick Clifton 2.25-15 +- Ensure that the patch applies for native AArch64 builds. (#1262091) + * Mon Sep 14 2015 Nick Clifton 2.25-14 - Fix handling of AArch64 local GOT relocs. (#1262091)