summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2004-05-24 18:42:12 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-05-24 18:42:12 -0700
commit04e9b59f87797bea9a62e384817532ac21fd4e4f (patch)
treeb6cb72e4955c83c312b870e50cc96c926944034f /scripts
parent4557746401a0c7e4903e55ca3ed3d6a3314acc04 (diff)
[PATCH] H8/300 module fix
From: Yoshinori Sato <ysato@users.sourceforge.jp> - fix relocation - define SYMBOL_PREFIX
Diffstat (limited to 'scripts')
-rw-r--r--scripts/mk_elfconfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mk_elfconfig.c b/scripts/mk_elfconfig.c
index a397648231af..de2aabf89fb3 100644
--- a/scripts/mk_elfconfig.c
+++ b/scripts/mk_elfconfig.c
@@ -55,7 +55,7 @@ main(int argc, char **argv)
else
abort();
- if (strcmp(argv[1], "v850") == 0)
+ if ((strcmp(argv[1], "v850") == 0) || (strcmp(argv[1], "h8300") == 0))
printf("#define MODULE_SYMBOL_PREFIX \"_\"\n");
else
printf("#define MODULE_SYMBOL_PREFIX \"\"\n");