glibc/glibc-arm-clone-unwind-fix.diff
Stephan Kulow a1ca78772e Accepting request 90503 from Base:System
- 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/request/show/90503
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glibc?expand=0&rev=91
2011-11-08 08:24:14 +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)