summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
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}