diff options
author | jake <jake@FreeBSD.org> | 2001-02-25 06:29:04 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2001-02-25 06:29:04 +0000 |
commit | fbf342ab7736fe8774f28ecc90671b700e0c27e5 (patch) | |
tree | 1ef6a84d8a923362e29bf63c82811818a2a1e478 /sys/i386/linux/linux_sysvec.c | |
parent | 49093edcc3f19e56099601fc10d7872f4c346b54 (diff) | |
download | FreeBSD-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/linux/linux_sysvec.c')
-rw-r--r-- | sys/i386/linux/linux_sysvec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/linux/linux_sysvec.c b/sys/i386/linux/linux_sysvec.c index 0d0c6db..dc20e07 100644 --- a/sys/i386/linux/linux_sysvec.c +++ b/sys/i386/linux/linux_sysvec.c @@ -199,7 +199,7 @@ elf_linux_fixup(register_t **stack_base, struct image_params *imgp) } extern int _ucodesel, _udatasel; -extern unsigned long _linux_sznonrtsigcode; +extern unsigned long linux_sznonrtsigcode; static void linux_rt_sendsig(sig_t catcher, int sig, sigset_t *mask, u_long code) @@ -329,7 +329,7 @@ linux_rt_sendsig(sig_t catcher, int sig, sigset_t *mask, u_long code) */ regs->tf_esp = (int)fp; regs->tf_eip = PS_STRINGS - *(p->p_sysent->sv_szsigcode) + - _linux_sznonrtsigcode; + linux_sznonrtsigcode; regs->tf_eflags &= ~PSL_VM; regs->tf_cs = _ucodesel; regs->tf_ds = _udatasel; |