From: Andreas Schwab Date: Fri, 22 Apr 2016 19:33:20 +0000 (+0200) Subject: m68k: avoid local labels in symbol table X-Git-Tag: glibc-2.24~300 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4816d802ff96112f7115679985d935d3444f8541;p=thirdparty%2Fglibc.git m68k: avoid local labels in symbol table --- diff --git a/ChangeLog b/ChangeLog index ab05782176f..943556faaa4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2016-04-30 Andreas Schwab + + * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels. + 2016-04-29 Stephen Gallagher Carlos O'Donell diff --git a/sysdeps/unix/sysv/linux/m68k/clone.S b/sysdeps/unix/sysv/linux/m68k/clone.S index aec12cb98ba..3a828443dca 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