2002-07-06 Bruno Haible <bruno@clisp.org>
authorroland <roland>
Mon, 26 Aug 2002 11:37:07 +0000 (11:37 +0000)
committerroland <roland>
Mon, 26 Aug 2002 11:37:07 +0000 (11:37 +0000)
* sysdeps/i386/sysdep.h (PSEUDO): Fix syntax error.
(L): Define right for ELF.
* sysdeps/unix/sysv/linux/i386/sysdep.h (L): Remove definition.
Now defined in sysdeps/i386/sysdep.h.

sysdeps/i386/sysdep.h

index 180c0a6..55f376d 100644 (file)
@@ -1,5 +1,5 @@
 /* Assembler macros for i386.
-   Copyright (C) 1991, 92, 93, 95, 96, 98 Free Software Foundation, Inc.
+   Copyright (C) 1991,92,93,95,96,98,2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -97,9 +97,9 @@
 #endif
 
 #define        PSEUDO(name, syscall_name, args)                                      \
-lose: SYSCALL_PIC_SETUP                                                              \
-  jmp JUMPTARGET(syscall_error)                                                      \
   .globl syscall_error;                                                              \
+lose: SYSCALL_PIC_SETUP                                                              \
+  jmp JUMPTARGET(syscall_error);                                             \
   ENTRY (name)                                                               \
   DO_CALL (syscall_name, args);                                                      \
   jb lose
@@ -122,7 +122,11 @@ lose: SYSCALL_PIC_SETUP                                                          \
 
 /* Local label name for asm code. */
 #ifndef L
+#ifdef HAVE_ELF
+#define L(name)                .L##name
+#else
 #define L(name)                name
 #endif
+#endif
 
 #endif /* __ASSEMBLER__ */