summaryrefslogtreecommitdiff
path: root/libc/sysdeps/s390/s390-64/sysdep.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/s390/s390-64/sysdep.h')
-rw-r--r--libc/sysdeps/s390/s390-64/sysdep.h18
1 files changed, 1 insertions, 17 deletions
diff --git a/libc/sysdeps/s390/s390-64/sysdep.h b/libc/sysdeps/s390/s390-64/sysdep.h
index 75fee7380..b1c9961f1 100644
--- a/libc/sysdeps/s390/s390-64/sysdep.h
+++ b/libc/sysdeps/s390/s390-64/sysdep.h
@@ -1,5 +1,5 @@
/* Assembler macros for 64 bit S/390.
- Copyright (C) 2001, 2003 Free Software Foundation, Inc.
+ Copyright (C) 2001, 2003, 2012 Free Software Foundation, Inc.
Contributed by Martin Schwidefsky (schwidefsky@de.ibm.com).
This file is part of the GNU C Library.
@@ -24,26 +24,12 @@
/* Syntactic details of assembler. */
-#ifdef HAVE_ELF
-
/* ELF uses byte-counts for .align, most others use log2 of count of bytes. */
#define ALIGNARG(log2) 1<<log2
/* For ELF we need the `.type' directive to make shared libs work right. */
#define ASM_TYPE_DIRECTIVE(name,typearg) .type name,typearg;
#define ASM_SIZE_DIRECTIVE(name) .size name,.-name;
-/* In ELF C symbols are asm symbols. */
-#undef NO_UNDERSCORES
-#define NO_UNDERSCORES
-
-#else
-
-#define ALIGNARG(log2) log2
-#define ASM_TYPE_DIRECTIVE(name,type) /* Nothing is specified. */
-#define ASM_SIZE_DIRECTIVE(name) /* Nothing is specified. */
-
-#endif
-
/* Define an entry point visible from C. */
#define ENTRY(name) \
@@ -74,13 +60,11 @@
#define CALL_MCOUNT /* Do nothing. */
#endif
-#ifdef NO_UNDERSCORES
/* Since C identifiers are not normally prefixed with an underscore
on this system, the asm identifier `syscall_error' intrudes on the
C name space. Make sure we use an innocuous name. */
#define syscall_error __syscall_error
#define mcount _mcount
-#endif
#define PSEUDO(name, syscall_name, args) \
lose: SYSCALL_PIC_SETUP \