Michael Schröder
32ab554598
- debugedit-aarch64.diff: handle aarch64 relocation OBS-URL: https://build.opensuse.org/request/show/161007 OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=252
16 lines
431 B
Diff
16 lines
431 B
Diff
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",
|