Problem with i386/i686/sysdep.h (includes patch)
Andreas Jaeger
aj@suse.de
Fri May 19 09:55:00 GMT 2000
Compiling without linuxthreads on i686 I got:
/builds/glibc/test-disable-linuxthreads/libc.so.6: undefined reference to `__syscall_error'
I've removed the syscall_error declaration from sysdep.h. Why was it
needed at all? Did I miss anything or is this the right fix? At
least I can run make;make check now.
Andreas
2000-05-19 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/i386/i686/sysdep.h
(SYSCALL_ERROR_HANDLER): Remove unneeded syscall_error which
breaks compilation without linuxthreads.
============================================================
Index: sysdeps/unix/sysv/linux/i386/i686/sysdep.h
--- sysdeps/unix/sysv/linux/i386/i686/sysdep.h 1998/08/23 18:22:44 1.3
+++ sysdeps/unix/sysv/linux/i386/i686/sysdep.h 2000/05/19 16:32:28
@@ -49,7 +49,6 @@
not modify the stack! */
# else
# define SYSCALL_ERROR_HANDLER \
- .type syscall_error,@function; \
1:movl (%esp),%ecx; \
ret; \
0:call 1b; \
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
More information about the Libc-hacker
mailing list