diff options
author | peter <peter@FreeBSD.org> | 2008-11-15 22:23:07 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2008-11-15 22:23:07 +0000 |
commit | 10f89ced4ef2534523df6e11129687d9887841d7 (patch) | |
tree | 700e337fe29b8c2a45cd39e0089b1c99455fc0e9 /lib | |
parent | b73772de6881c90475d12618c802c6186f615bd0 (diff) | |
download | FreeBSD-src-10f89ced4ef2534523df6e11129687d9887841d7.zip FreeBSD-src-10f89ced4ef2534523df6e11129687d9887841d7.tar.gz |
On i386, the primary function that SYSCALL() generates is with the
__sys_ prefix. Make END() match. This didn't cause a compile error, but
the function size is attached to the .weak symbol, not the real one.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/i386/sys/pipe.S | 2 | ||||
-rw-r--r-- | lib/libc/i386/sys/reboot.S | 2 | ||||
-rw-r--r-- | lib/libc/i386/sys/setlogin.S | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/i386/sys/pipe.S b/lib/libc/i386/sys/pipe.S index 406fc56..0ce3a8c 100644 --- a/lib/libc/i386/sys/pipe.S +++ b/lib/libc/i386/sys/pipe.S @@ -44,4 +44,4 @@ SYSCALL(pipe) movl %edx,4(%ecx) movl $0,%eax ret -END(pipe) +END(__sys_pipe) diff --git a/lib/libc/i386/sys/reboot.S b/lib/libc/i386/sys/reboot.S index 5fe227c..d5caccf 100644 --- a/lib/libc/i386/sys/reboot.S +++ b/lib/libc/i386/sys/reboot.S @@ -40,4 +40,4 @@ __FBSDID("$FreeBSD$"); SYSCALL(reboot) iret -END(reboot) +END(__sys_reboot) diff --git a/lib/libc/i386/sys/setlogin.S b/lib/libc/i386/sys/setlogin.S index 9662a83..2a814bd 100644 --- a/lib/libc/i386/sys/setlogin.S +++ b/lib/libc/i386/sys/setlogin.S @@ -52,4 +52,4 @@ SYSCALL(setlogin) movl $0,CNAME(_logname_valid) #endif ret /* setlogin(name) */ -END(setlogin) +END(__sys_setlogin) |