summaryrefslogtreecommitdiff
path: root/extra/scripts/initfini.awk
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/scripts/initfini.awk
parent4d952dfe7756644a4e7f92081906fd7d4194209c (diff)
Patch from Yoshinori Sato to update the h8300 architecture.
Diffstat (limited to 'extra/scripts/initfini.awk')
-rwxr-xr-xextra/scripts/initfini.awk2
1 files changed, 2 insertions, 0 deletions
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}