summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-11-21 06:43:23 +0000
committerEric Andersen <andersen@codepoet.org>2002-11-21 06:43:23 +0000
commitde2abcca5af59ebc11f66fb6fb491e16f50c8166 (patch)
tree891fd00f18abd99fb41d8453c8bc2af9ffdf176f /extra
parent4d952dfe7756644a4e7f92081906fd7d4194209c (diff)
Patch from Yoshinori Sato to update the h8300 architecture.
Diffstat (limited to 'extra')
-rw-r--r--extra/Configs/Config.h83001
-rwxr-xr-xextra/scripts/initfini.awk2
2 files changed, 2 insertions, 1 deletions
diff --git a/extra/Configs/Config.h8300 b/extra/Configs/Config.h8300
index 8620dfa4a..657128d17 100644
--- a/extra/Configs/Config.h8300
+++ b/extra/Configs/Config.h8300
@@ -13,7 +13,6 @@ config HAVE_ELF
config ARCH_CFLAGS
string
- default "-mh -mint32 -fsigned-char"
config ARCH_LDFLAGS
string
diff --git a/extra/scripts/initfini.awk b/extra/scripts/initfini.awk
index a04d5e5b0..a079d3442 100755
--- a/extra/scripts/initfini.awk
+++ b/extra/scripts/initfini.awk
@@ -35,6 +35,8 @@ BEGIN \
/_fini_SH_GLB/ && glb_idx>=2 {print glb_label[1] glb >> "crti.S"}
/SH_GLB_ENDS/ && glb_idx==0 {omitcrti -=1}
/SH_GLB/ || /_GLOBAL_OFFSET_TABLE_/{getline}
+# special rules for H8/300 (sorry quick hack)
+/.h8300h/ {end=0}
# rules for all targets
/HEADER_ENDS/{omitcrti=1;omitcrtn=1;getline}