From: Andrew Haley Date: Tue, 2 Aug 2011 15:32:10 +0000 (+0000) Subject: Mark ARM __clone as .cantunwind. X-Git-Tag: glibc-2.15~52 X-Git-Url: https://repo.or.cz/w/glibc-ports.git/commitdiff_plain/3c6ac5cbe1b17f08bf66be4b1b1c6ffd01729af9 Mark ARM __clone as .cantunwind. --- diff --git a/ChangeLog.arm b/ChangeLog.arm index 8fd7c4ec..9a9cda25 100644 --- a/ChangeLog.arm +++ b/ChangeLog.arm @@ -1,3 +1,7 @@ +2011-08-02 Andrew Haley + + * sysdeps/unix/sysv/linux/arm/clone.S: Mark as .cantunwind. + 2011-06-30 Richard Sandiford * sysdeps/arm/elf/start.S (_start): Align the constant pool to 4 bytes. diff --git a/sysdeps/unix/sysv/linux/arm/clone.S b/sysdeps/unix/sysv/linux/arm/clone.S index 178b0f1e..f3d6741f 100644 --- a/sysdeps/unix/sysv/linux/arm/clone.S +++ b/sysdeps/unix/sysv/linux/arm/clone.S @@ -81,8 +81,11 @@ ENTRY(__clone) RETINSTR(, lr) cfi_startproc - cfi_undefined (lr) +PSEUDO_END (__clone) + 1: + .fnstart + .cantunwind #ifdef RESET_PID tst ip, #CLONE_THREAD bne 3f @@ -116,6 +119,6 @@ ENTRY(__clone) @ and we are done, passing the return value through r0 b PLTJMP(HIDDEN_JUMPTARGET(_exit)) -PSEUDO_END (__clone) + .fnend weak_alias (__clone, clone)