2002-09-29 Roland McGrath <roland@redhat.com>
authorroland <roland>
Sun, 29 Sep 2002 10:38:26 +0000 (10:38 +0000)
committerroland <roland>
Sun, 29 Sep 2002 10:38:26 +0000 (10:38 +0000)
* sysdeps/x86_64/sysdep.h [HAVE_ELF] (L): Define with .L##name form.
* sysdeps/unix/sysv/linux/x86_64/sysdep.h (L): Don't define it here.

sysdeps/unix/sysv/linux/x86_64/sysdep.h
sysdeps/x86_64/sysdep.h

index eda905f..70aa826 100644 (file)
 # define __NR_pwrite __NR_pwrite64
 #endif
 
-/* ELF-like local names start with `.L'.  */
-#undef L
-#define L(name)        .L##name
-
 #ifdef __ASSEMBLER__
 
 /* Linux uses a negative return value to indicate syscall errors,
index a9c0d25..1aa60fe 100644 (file)
@@ -94,7 +94,12 @@ lose:                                                                              \
 
 /* Local label name for asm code. */
 #ifndef L
-#define L(name)                name
+# ifdef HAVE_ELF
+/* ELF-like local names start with `.L'.  */
+#  define L(name)      .L##name
+# else
+#  define L(name)      name
+# endif
 #endif
 
 #endif /* __ASSEMBLER__ */