mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-24 17:51:17 +03:00
m68k: avoid local labels in symbol table
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user