diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-14 00:58:03 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-14 00:58:03 +0000 |
commit | af0172162f7c653cad6a11ed1c1a5459bc154465 (patch) | |
tree | 70031dad1e7286d58762da7b9e3d3f93d043c278 /libc/sysdeps/linux/v850 | |
parent | c8609543a9a8bf6559c2931dbbef6b3c41b3fbf2 (diff) |
hidden_def/hidden_proto: convert all users (I hope) termios split, add some missing headers, other jump relocs removed
Diffstat (limited to 'libc/sysdeps/linux/v850')
-rw-r--r-- | libc/sysdeps/linux/v850/__longjmp.S | 2 | ||||
-rw-r--r-- | libc/sysdeps/linux/v850/mmap.c | 2 | ||||
-rw-r--r-- | libc/sysdeps/linux/v850/vfork.S | 8 |
3 files changed, 8 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/v850/__longjmp.S b/libc/sysdeps/linux/v850/__longjmp.S index f91086189..98d99bc1e 100644 --- a/libc/sysdeps/linux/v850/__longjmp.S +++ b/libc/sysdeps/linux/v850/__longjmp.S @@ -11,6 +11,7 @@ * Written by Miles Bader <miles@gnu.org> */ +#include <features.h> #define _SETJMP_H #define _ASM #include <bits/setjmp.h> @@ -40,3 +41,4 @@ C_END(__longjmp) .weak C_SYMBOL_NAME(__sigprocmask) C_SYMBOL_NAME(__sigprocmask) = C_SYMBOL_NAME(sigprocmask) +libc_hidden_def(__longjmp) diff --git a/libc/sysdeps/linux/v850/mmap.c b/libc/sysdeps/linux/v850/mmap.c index a9cb0bcab..f075ac77c 100644 --- a/libc/sysdeps/linux/v850/mmap.c +++ b/libc/sysdeps/linux/v850/mmap.c @@ -7,3 +7,5 @@ _syscall6 (__ptr_t, mmap, __ptr_t, addr, size_t, len, int, prot, int, flags, int, fd, __off_t, offset); +libc_hidden_proto(mmap) +libc_hidden_def(mmap) diff --git a/libc/sysdeps/linux/v850/vfork.S b/libc/sysdeps/linux/v850/vfork.S index e5058a49a..ace1bd16b 100644 --- a/libc/sysdeps/linux/v850/vfork.S +++ b/libc/sysdeps/linux/v850/vfork.S @@ -11,6 +11,7 @@ * Written by Miles Bader <miles@gnu.org> */ +#include <features.h> #define _ERRNO_H 1 #include <bits/errno.h> #define _SYSCALL_H @@ -25,7 +26,7 @@ .global C_SYMBOL_NAME(errno) -C_ENTRY (__vfork): +C_ENTRY (vfork): addi SYS_vfork, r0, r12 trap 0 addi -125, r0, r11 // minimum err value @@ -36,7 +37,6 @@ C_ENTRY (__vfork): subr r0, r10 st.w r10, 0[r11] jmp [lp] // error return -C_END(__vfork) +C_END(vfork) -.weak C_SYMBOL_NAME(vfork) -C_SYMBOL_NAME(vfork) = C_SYMBOL_NAME(__vfork) +libc_hidden_def(vfork) |