From fa1610cf54a3fe1633dee7bfc6331040741f7b10b035371b2d9631bbb15fbe80 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Tue, 15 Dec 2015 18:40:35 +0000 Subject: [PATCH 1/2] 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 --- dt-ppc-opt.patch | 37 +++++++++++++++++++++++++++++++++++++ elfutils.changes | 5 +++++ elfutils.spec | 2 ++ 3 files changed, 44 insertions(+) create mode 100644 dt-ppc-opt.patch diff --git a/dt-ppc-opt.patch b/dt-ppc-opt.patch new file mode 100644 index 0000000..a03321e --- /dev/null +++ b/dt-ppc-opt.patch @@ -0,0 +1,37 @@ +From b6dd3cc8abf8e72fae6c52e7e7518c181d490cc7 Mon Sep 17 00:00:00 2001 +From: Andreas Schwab +Date: Tue, 15 Dec 2015 15:58:36 +0100 +Subject: [PATCH] Add support for DT_PPC_OPT +Upstream: submitted + +Signed-off-by: Andreas Schwab +--- + 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 + diff --git a/elfutils.changes b/elfutils.changes index 103cf05..94fe9a8 100644 --- a/elfutils.changes +++ b/elfutils.changes @@ -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 diff --git a/elfutils.spec b/elfutils.spec index 7862954..fa76d0b 100644 --- a/elfutils.spec +++ b/elfutils.spec @@ -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 From 54596ab49d8235cfd645404a1a686dbf32deef4584e2152656fe8e97ad7bf7de Mon Sep 17 00:00:00 2001 From: Tony Jones Date: Mon, 29 Feb 2016 05:45:52 +0000 Subject: [PATCH 2/2] Accepting request 362117 from home:michel_mno:branches:Base:System - rename dt-ppc-opt.patch as elfutils-0.164-dt-ppc-opt.patch and add reference to upstream commit id OBS-URL: https://build.opensuse.org/request/show/362117 OBS-URL: https://build.opensuse.org/package/show/Base:System/elfutils?expand=0&rev=76 --- dt-ppc-opt.patch => elfutils-0.164-dt-ppc-opt.patch | 3 ++- elfutils.changes | 6 ++++++ elfutils.spec | 4 ++-- 3 files changed, 10 insertions(+), 3 deletions(-) rename dt-ppc-opt.patch => elfutils-0.164-dt-ppc-opt.patch (79%) diff --git a/dt-ppc-opt.patch b/elfutils-0.164-dt-ppc-opt.patch similarity index 79% rename from dt-ppc-opt.patch rename to elfutils-0.164-dt-ppc-opt.patch index a03321e..177a5af 100644 --- a/dt-ppc-opt.patch +++ b/elfutils-0.164-dt-ppc-opt.patch @@ -2,7 +2,8 @@ From b6dd3cc8abf8e72fae6c52e7e7518c181d490cc7 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Tue, 15 Dec 2015 15:58:36 +0100 Subject: [PATCH] Add support for DT_PPC_OPT -Upstream: submitted +Upstream: https://git.fedorahosted.org/cgit/elfutils.git/commit/?id=d1d4db68eb441ae67864be209a0679cbc86189c5 +References: https://lists.fedorahosted.org/archives/list/elfutils-devel@lists.fedorahosted.org/thread/IEYDIMGDVFYHGXO6VKHFJFIZEL5KXU63/ Signed-off-by: Andreas Schwab --- diff --git a/elfutils.changes b/elfutils.changes index 94fe9a8..27bdb2b 100644 --- a/elfutils.changes +++ b/elfutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Feb 27 07:36:03 UTC 2016 - normand@linux.vnet.ibm.com + +- rename dt-ppc-opt.patch as elfutils-0.164-dt-ppc-opt.patch + and add reference to upstream commit id + ------------------------------------------------------------------- Tue Dec 15 14:59:54 UTC 2015 - schwab@suse.de diff --git a/elfutils.spec b/elfutils.spec index fa76d0b..0013bd1 100644 --- a/elfutils.spec +++ b/elfutils.spec @@ -1,7 +1,7 @@ # # spec file for package elfutils # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -30,7 +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 +Patch2: elfutils-0.164-dt-ppc-opt.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf BuildRequires: automake