forked from pool/elfutils
Accepting request 349042 from home:Andreas_Schwab:Factory
- dt-ppc-opt.patch: add support for DT_PPC_OPT OBS-URL: https://build.opensuse.org/request/show/349042 OBS-URL: https://build.opensuse.org/package/show/Base:System/elfutils?expand=0&rev=75
This commit is contained in:
parent
a8451209c2
commit
fa1610cf54
37
dt-ppc-opt.patch
Normal file
37
dt-ppc-opt.patch
Normal file
@ -0,0 +1,37 @@
|
||||
From b6dd3cc8abf8e72fae6c52e7e7518c181d490cc7 Mon Sep 17 00:00:00 2001
|
||||
From: Andreas Schwab <schwab@suse.de>
|
||||
Date: Tue, 15 Dec 2015 15:58:36 +0100
|
||||
Subject: [PATCH] Add support for DT_PPC_OPT
|
||||
Upstream: submitted
|
||||
|
||||
Signed-off-by: Andreas Schwab <schwab@suse.de>
|
||||
---
|
||||
backends/ppc_symbol.c | 5 ++++-
|
||||
1 file changed, 4 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/backends/ppc_symbol.c b/backends/ppc_symbol.c
|
||||
index 37d4918..1273c1d 100644
|
||||
--- a/backends/ppc_symbol.c
|
||||
+++ b/backends/ppc_symbol.c
|
||||
@@ -65,6 +65,8 @@ ppc_dynamic_tag_name (int64_t tag, char *buf __attribute__ ((unused)),
|
||||
{
|
||||
case DT_PPC_GOT:
|
||||
return "PPC_GOT";
|
||||
+ case DT_PPC_OPT:
|
||||
+ return "PPC_OPT";
|
||||
default:
|
||||
break;
|
||||
}
|
||||
@@ -75,7 +77,8 @@ ppc_dynamic_tag_name (int64_t tag, char *buf __attribute__ ((unused)),
|
||||
bool
|
||||
ppc_dynamic_tag_check (int64_t tag)
|
||||
{
|
||||
- return tag == DT_PPC_GOT;
|
||||
+ return (tag == DT_PPC_GOT
|
||||
+ || tag == DT_PPC_OPT);
|
||||
}
|
||||
|
||||
|
||||
--
|
||||
2.6.4
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 15 14:59:54 UTC 2015 - schwab@suse.de
|
||||
|
||||
- dt-ppc-opt.patch: add support for DT_PPC_OPT
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 20 10:15:34 UTC 2015 - idonmez@suse.com
|
||||
|
||||
|
@ -30,6 +30,7 @@ Source1: README-BEFORE-ADDING-PATCHES
|
||||
Source2: baselibs.conf
|
||||
Source3: %{name}.changes
|
||||
Patch1: elfutils-0.137-dwarf-header-check-fix.diff
|
||||
Patch2: dt-ppc-opt.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
@ -138,6 +139,7 @@ to develop applications that require these.
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
|
||||
%build
|
||||
# Change DATE/TIME macros to use last change time of elfutils.changes
|
||||
|
Loading…
Reference in New Issue
Block a user