summaryrefslogtreecommitdiff
path: root/translate/grt/config
diff options
context:
space:
mode:
authorgingold2006-10-05 00:23:04 +0000
committergingold2006-10-05 00:23:04 +0000
commitdad8fb6d64a2b12a7b929f1c63b7dfd6b177b3ea (patch)
treebd019af73d62d78d90c68755f35b6986567c004f /translate/grt/config
parent7a57404e5337453db969bf8f51cad9fa7f4c1913 (diff)
downloadghdl-dad8fb6d64a2b12a7b929f1c63b7dfd6b177b3ea.tar.gz
ghdl-dad8fb6d64a2b12a7b929f1c63b7dfd6b177b3ea.tar.bz2
ghdl-dad8fb6d64a2b12a7b929f1c63b7dfd6b177b3ea.zip
add one more underscore to chkstk, use program path for install path (windows)
Diffstat (limited to 'translate/grt/config')
-rw-r--r--translate/grt/config/chkstk.S12
1 files changed, 6 insertions, 6 deletions
diff --git a/translate/grt/config/chkstk.S b/translate/grt/config/chkstk.S
index 1f29245..79abfb2 100644
--- a/translate/grt/config/chkstk.S
+++ b/translate/grt/config/chkstk.S
@@ -5,16 +5,16 @@
/* Function called to loop on the process. */
.align 4
- .type _chkstk,@function
- .global _chkstk
-_chkstk:
+ .type __chkstk,@function
+ .global __chkstk
+__chkstk:
testl %eax,%eax
- je _chkstk_zero
+ je 0f
subl $4,%eax /* 4 bytes already used by call. */
subl %eax,%esp
jmp *(%esp,%eax)
-_chkstk_zero:
+0:
ret
- .size _chkstk, . - _chkstk
+ .size __chkstk, . - __chkstk
.ident "Written by T.Gingold"