Accepting request 205223 from Base:System

- debugedit-m68k.patch: Add support for m68k (forwarded request 205222 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/205223
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpm?expand=0&rev=217
This commit is contained in:
Tomáš Chvátal 2013-10-30 14:51:43 +00:00 committed by Git OBS Bridge
commit 77e1f07feb
3 changed files with 22 additions and 0 deletions

15
debugedit-m68k.patch Normal file
View File

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

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Oct 30 10:19:00 UTC 2013 - schwab@suse.de
- debugedit-m68k.patch: Add support for m68k
-------------------------------------------------------------------
Wed Oct 9 09:49:47 UTC 2013 - schwab@suse.de

View File

@ -144,6 +144,7 @@ Patch89: application_provides.diff
Patch90: appdata_provides.diff
Patch6464: auto-config-update-aarch64.diff
Patch68000: m68k.patch
Patch68001: debugedit-m68k.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
#
# avoid bootstrapping problem
@ -235,6 +236,7 @@ rm -f rpmdb/db.h
%patch6464
%endif
%patch68000
%patch68001
cp config.guess config.sub db/dist/
cp config.guess config.sub beecrypt/
#chmod 755 scripts/find-supplements{,.ksyms}