Accepting request 161012 from Base:System

- debugedit-aarch64.diff: handle aarch64 relocation (forwarded request 161007 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/161012
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpm?expand=0&rev=197
This commit is contained in:
Stephan Kulow 2013-03-26 11:05:28 +00:00 committed by Git OBS Bridge
commit 0444ed39f0
3 changed files with 22 additions and 1 deletions

15
debugedit-aarch64.diff Normal file
View File

@ -0,0 +1,15 @@
Index: tools/debugedit.c
===================================================================
--- tools/debugedit.c.orig
+++ tools/debugedit.c
@@ -1223,6 +1223,10 @@ edit_dwarf2 (DSO *dso)
if (rtype != R_ALPHA_REFLONG)
goto fail;
break;
+ case EM_AARCH64:
+ if (rtype != R_AARCH64_ABS32)
+ goto fail;
+ break;
default:
fail:
error (1, 0, "%s: Unhandled relocation %d in .debug_info section",

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Mar 25 13:38:45 UTC 2013 - schwab@suse.de
- debugedit-aarch64.diff: handle aarch64 relocation
-------------------------------------------------------------------
Fri Feb 15 15:29:25 UTC 2013 - dmueller@suse.com

View File

@ -134,6 +134,7 @@ Patch77: langnoc.diff
Patch78: headerchk2.diff
Patch79: helperenv.diff
Patch80: config-guess-sub-update.diff
Patch81: debugedit-aarch64.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
#
# avoid bootstrapping problem
@ -220,7 +221,7 @@ rm -f rpmdb/db.h
%patch -P 50 -P 51 -P 52 -P 53 -P 54 -P 55 -P 56 -P 57 -P 58 -P 59
%patch -P 60 -P 61 -P 62 -P 63 -P 64 -P 65 -P 66 -P 67 -P 68 -P 69
%patch -P 70 -P 71 -P 72 -P 73 -P 74 -P 75 -P 76 -P 77 -P 78 -P 79
%patch -P 80
%patch -P 80 -P 81
cp config.guess config.sub db/dist/
cp config.guess config.sub beecrypt/
#chmod 755 scripts/find-supplements{,.ksyms}