summaryrefslogtreecommitdiffstats
path: root/sys/i386/svr4
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1999-02-06 08:41:06 +0000
committerbde <bde@FreeBSD.org>1999-02-06 08:41:06 +0000
commitc95ad30d4da55eaaa6eca1a2396c9fa3b91990dd (patch)
tree2b074c6cccfef21365978e01eef94ae511f1a1ac /sys/i386/svr4
parent42bebed095711d57d4fa0080fa5838eabcd30dd7 (diff)
downloadFreeBSD-src-c95ad30d4da55eaaa6eca1a2396c9fa3b91990dd.zip
FreeBSD-src-c95ad30d4da55eaaa6eca1a2396c9fa3b91990dd.tar.gz
Added underscores to some names in svr4_locore.s so that it compiles
with -aout. Added translation back to elf names in asnames.h as usual. The elf names were inconsistent in the aout case even internally because a macro adds an underscore to just one of them. Removed commented out code for a previous life of `svr4_esigcode'. Didn't add an underscore to `svr4_esigcode' since it is correct for aout although wrong for elf, like most internal names in assembler files. These names should be in a different namespace so that gprof can ignore them. Fixed some disorder in asnames.h.
Diffstat (limited to 'sys/i386/svr4')
-rw-r--r--sys/i386/svr4/svr4_locore.s10
1 files changed, 4 insertions, 6 deletions
diff --git a/sys/i386/svr4/svr4_locore.s b/sys/i386/svr4/svr4_locore.s
index f5a9e15..7903e73 100644
--- a/sys/i386/svr4/svr4_locore.s
+++ b/sys/i386/svr4/svr4_locore.s
@@ -26,21 +26,19 @@ NON_GPROF_ENTRY(svr4_sigcode)
/* must be FreeBSD, right? */
1: pushl %eax # fake return address
pushl $1 # pointer to ucontext
- movl $svr4_sys_context,%eax
+ movl $_svr4_sys_context,%eax
#endif
int $0x80 # enter kernel with args on stack
movl $exit,%eax
int $0x80 # exit if sigreturn fails
-/* .globl _svr4_esigcode*/
-
.align 2 /* long word align */
svr4_esigcode:
.data
- .globl svr4_szsigcode
-svr4_szsigcode:
- .long svr4_esigcode - svr4_sigcode
+ .globl _svr4_szsigcode
+_svr4_szsigcode:
+ .long svr4_esigcode - _svr4_sigcode
.text
OpenPOWER on IntegriCloud