summaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/s390/s390-32/sysdep.h2
-rw-r--r--sysdeps/s390/s390-64/sysdep.h5
2 files changed, 3 insertions, 4 deletions
diff --git a/sysdeps/s390/s390-32/sysdep.h b/sysdeps/s390/s390-32/sysdep.h
index a9dac44307..941575b817 100644
--- a/sysdeps/s390/s390-32/sysdep.h
+++ b/sysdeps/s390/s390-32/sysdep.h
@@ -111,7 +111,7 @@ lose: SYSCALL_PIC_SETUP \
/* Local label name for asm code. */
#ifndef L
-#define L(name) name
+#define L(name) .L##name
#endif
#endif /* __ASSEMBLER__ */
diff --git a/sysdeps/s390/s390-64/sysdep.h b/sysdeps/s390/s390-64/sysdep.h
index b863d266b8..224762932b 100644
--- a/sysdeps/s390/s390-64/sysdep.h
+++ b/sysdeps/s390/s390-64/sysdep.h
@@ -66,7 +66,7 @@
#else
#define CALL_MCOUNT \
lgr 0,14 ; larl 1,0f ; brasl 14,_mcount ; lgr 14,0 ; \
- .data ; .align 4 ; 0: .long 0 ; .text ;
+ .data ; .align 4 ; 0: .long 0 ; .text ;
#endif
#else
#define CALL_MCOUNT /* Do nothing. */
@@ -104,8 +104,7 @@ lose: SYSCALL_PIC_SETUP \
/* Local label name for asm code. */
#ifndef L
-#define L(name) name
+#define L(name) .L##name
#endif
#endif /* __ASSEMBLER__ */
-