glibc/glibc-arm-clone-unwind-fix.diff
Dirk Mueller ee7019f69d - update glibc-ports to 2.14.1:
* Align the constant pool in start.S to 4 bytes.
  * sysdeps/unix/sysv/linux/arm/eabi/internal_sendmmsg.S: New.
- Fix unwinding crash when using clone()

OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=124
2011-11-07 20:08:07 +00:00

24 lines
449 B
Diff

--- ports/sysdeps/unix/sysv/linux/arm/clone.S
+++ ports/sysdeps/unix/sysv/linux/arm/clone.S
@@ -81,8 +81,11 @@
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 @@
@ and we are done, passing the return value through r0
b PLTJMP(HIDDEN_JUMPTARGET(_exit))
-PSEUDO_END (__clone)
+ .fnend
weak_alias (__clone, clone)