[uClibc-cvs] uClibc/ldso/ldso/sparc ld_syscalls.h,1.5,1.6
Erik Andersen
andersen at uclibc.org
Sun Feb 1 08:30:57 UTC 2004
Update of /var/cvs/uClibc/ldso/ldso/sparc
In directory nail:/tmp/cvs-serv3675/ldso/ldso/sparc
Modified Files:
ld_syscalls.h
Log Message:
Jakub Bogusz writes:
Hello,
the attached patch fixes ldso compilation on sparc-linux (at least with
sparc32 userland). It was made against uClibc 0.9.21, but it's still OK
with 0.9.26.
There were three problems:
- missing __NR_getpid definition
- conflicting prototypes in elfinterp.c
- syntax error (missing semicolon) in ldso.c
With this patch shared libraries and ldso can be built on sparc.
It contains also ldso.c syntax fix for m68k - there was the same
mistake two lines earlier; but I didn't test build on m68k.
Index: ld_syscalls.h
===================================================================
RCS file: /var/cvs/uClibc/ldso/ldso/sparc/ld_syscalls.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- ld_syscalls.h 19 Mar 2002 10:43:35 -0000 1.5
+++ ld_syscalls.h 1 Feb 2004 08:30:55 -0000 1.6
@@ -8,6 +8,7 @@
#define __NR_write 4
#define __NR_open 5
#define __NR_close 6
+#define __NR_getpid 20
#define __NR_getuid 24
#define __NR_getgid 47
#define __NR_geteuid 49
More information about the uClibc-cvs
mailing list