summaryrefslogtreecommitdiff
path: root/translate/grt/config
diff options
context:
space:
mode:
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"