aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2016-04-22 21:33:20 +0200
committerAndreas Schwab <schwab@linux-m68k.org>2016-04-30 18:50:39 +0200
commit4816d802ff96112f7115679985d935d3444f8541 (patch)
treefc6384ab2b3b118b0e83cf7cce37c21415e7ae5d
parentced8f8933673f4efda1d666d26a1a949602035ed (diff)
downloadglibc-4816d802ff96112f7115679985d935d3444f8541.tar
glibc-4816d802ff96112f7115679985d935d3444f8541.tar.gz
glibc-4816d802ff96112f7115679985d935d3444f8541.tar.bz2
glibc-4816d802ff96112f7115679985d935d3444f8541.zip
m68k: avoid local labels in symbol table
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/unix/sysv/linux/m68k/clone.S8
2 files changed, 8 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index ab05782176..943556faaa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2016-04-30 Andreas Schwab <schwab@linux-m68k.org>
+
+ * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
+
2016-04-29 Stephen Gallagher <sgallagh@redhat.com>
Carlos O'Donell <carlos@redhat.com>
diff --git a/sysdeps/unix/sysv/linux/m68k/clone.S b/sysdeps/unix/sysv/linux/m68k/clone.S
index aec12cb98b..3a828443dc 100644
--- a/sysdeps/unix/sysv/linux/m68k/clone.S
+++ b/sysdeps/unix/sysv/linux/m68k/clone.S
@@ -90,17 +90,17 @@ ENTRY (__clone)
tstl %d0
jmi SYSCALL_ERROR_LABEL
- jeq thread_start
+ jeq 1f
rts
-thread_start:
+1:
cfi_startproc
cfi_undefined (pc) /* Mark end of stack */
subl %fp, %fp /* terminate the stack frame */
/* Check and see if we need to reset the PID. */
andl #CLONE_VM, %d1
- jne donepid
+ jne 1f
movel #SYS_ify (getpid), %d0
trap #0
movel %a0, -(%sp)
@@ -110,7 +110,7 @@ thread_start:
movel %d0, PID_OFFSET(%a0)
movel %d0, TID_OFFSET(%a0)
movel (%sp)+, %a0
-donepid:
+1:
jsr (%a0)
movel %d0, %d1
movel #SYS_ify (exit), %d0