summaryrefslogtreecommitdiffstats
path: root/sys/i386/svr4
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2001-02-25 06:29:04 +0000
committerjake <jake@FreeBSD.org>2001-02-25 06:29:04 +0000
commitfbf342ab7736fe8774f28ecc90671b700e0c27e5 (patch)
tree1ef6a84d8a923362e29bf63c82811818a2a1e478 /sys/i386/svr4
parent49093edcc3f19e56099601fc10d7872f4c346b54 (diff)
downloadFreeBSD-src-fbf342ab7736fe8774f28ecc90671b700e0c27e5.zip
FreeBSD-src-fbf342ab7736fe8774f28ecc90671b700e0c27e5.tar.gz
Remove the leading underscore from all symbols defined in x86 asm
and used in C or vice versa. The elf compiler uses the same names for both. Remove asnames.h with great prejudice; it has served its purpose. Note that this does not affect the ability to generate an aout kernel due to gcc's -mno-underscores option. moral support from: peter, jhb
Diffstat (limited to 'sys/i386/svr4')
-rw-r--r--sys/i386/svr4/svr4_locore.s8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/i386/svr4/svr4_locore.s b/sys/i386/svr4/svr4_locore.s
index 572db55..9f8b4aa 100644
--- a/sys/i386/svr4/svr4_locore.s
+++ b/sys/i386/svr4/svr4_locore.s
@@ -17,7 +17,7 @@ NON_GPROF_ENTRY(svr4_sigcode)
movl SVR4_UC_GS(%eax),%gs
1: pushl %eax # pointer to ucontext
pushl $1 # set context
- movl $_svr4_sys_context,%eax
+ movl $svr4_sys_context,%eax
int $0x80 # enter kernel with args on stack
0: jmp 0b
@@ -25,9 +25,9 @@ NON_GPROF_ENTRY(svr4_sigcode)
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