summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-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",