OSDN Git Service

Jakub Bogusz writes:
authorEric Andersen <andersen@codepoet.org>
Sun, 1 Feb 2004 08:30:55 +0000 (08:30 -0000)
committerEric Andersen <andersen@codepoet.org>
Sun, 1 Feb 2004 08:30:55 +0000 (08:30 -0000)
commit50abd263214639ca29ef03e2cd5f5eb235e850bf
treedd420c57600bad25a70e25d9651f5ab0c29e289b
parent911d37c56aad3cae3c29edca4092d735a2bb03b1
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.
ldso/ldso/ldso.c
ldso/ldso/sparc/dl-syscalls.h
ldso/ldso/sparc/ld_syscalls.h