summaryrefslogtreecommitdiff
path: root/tools/debugedit.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2014-03-12 15:16:15 +0100
committerPanu Matilainen <pmatilai@redhat.com>2014-03-24 10:37:58 +0200
commitbc66cb3480d05aad562ad55c6ad63ff71b57cd9f (patch)
treef68100a583b204cd785d980297d8195d04acd5ee /tools/debugedit.c
parentf311fb65eea4791fa15a00412384b96fdccbbf1c (diff)
downloadrpm-bc66cb3480d05aad562ad55c6ad63ff71b57cd9f.tar.gz
Add support for m68k
Tested on m68k-suse-linux. Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
Diffstat (limited to 'tools/debugedit.c')
-rw-r--r--tools/debugedit.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/debugedit.c b/tools/debugedit.c
index 5833249ab..df7beccce 100644
--- a/tools/debugedit.c
+++ b/tools/debugedit.c
@@ -1166,6 +1166,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",