This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Hi!
I've compiled libc with my patch on sparc64 only, so when doing it on
sparc32 I found two issues which prevented successful build:
2000-01-28 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use a different
guard define than linux/sparc/sysdep.h.
* sysdeps/unix/sysv/linux/sparc/sysdep.h: Fix INLINE_SYSCALL(x, 0).
--- libc/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h.jj Fri Jan 28 23:06:48 2000
+++ libc/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h Fri Jan 28 23:05:30 2000
@@ -17,8 +17,8 @@
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#ifndef _LINUX_SPARC_SYSDEP_H
-#define _LINUX_SPARC_SYSDEP_H 1
+#ifndef _LINUX_SPARC32_SYSDEP_H
+#define _LINUX_SPARC32_SYSDEP_H 1
#include <sysdeps/unix/sparc/sysdep.h>
--- libc/sysdeps/unix/sysv/linux/sparc/sysdep.h.jj Fri Jan 28 23:26:26 2000
+++ libc/sysdeps/unix/sysv/linux/sparc/sysdep.h Fri Jan 28 23:33:00 2000
@@ -23,7 +23,7 @@
#undef INLINE_SYSCALL
#define INLINE_SYSCALL(name, nr, args...) inline_syscall##nr(name, args)
-#define inline_syscall0(name) \
+#define inline_syscall0(name,dummy...) \
({ \
register long __o0 __asm__ ("o0"); \
register long __g1 __asm__ ("g1") = __NR_##name; \
Cheers,
Jakub
___________________________________________________________________
Jakub Jelinek | jakub@redhat.com | http://sunsite.mff.cuni.cz/~jj
Linux version 2.3.41 on a sparc64 machine (1343.49 BogoMips)
___________________________________________________________________
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |