فهرست منبع

Patch from Shane Nay, who noticed that these were not properly labeling
functions as such, thereby hosing the shared lib loader.

Eric Andersen 23 سال پیش
والد
کامیت
3c6f0ae167
3فایلهای تغییر یافته به همراه6 افزوده شده و 3 حذف شده
  1. 1 0
      libc/sysdeps/linux/arm/longjmp.S
  2. 4 2
      libc/sysdeps/linux/arm/setjmp.S
  3. 1 1
      libc/sysdeps/linux/arm/vfork.S

+ 1 - 0
libc/sysdeps/linux/arm/longjmp.S

@@ -24,6 +24,7 @@
 /* __longjmp(jmpbuf, val) */
 
 .globl longjmp;
+.type longjmp,#function
 .align 4;                                                               \
 longjmp:
 	mov	ip, r0

+ 4 - 2
libc/sysdeps/linux/arm/setjmp.S

@@ -23,13 +23,15 @@
 
 	/* Binary compatibility entry point.  */
 .globl setjmp;
-.align 4;                                                               \
+.type setjmp,#function
+.align 4;
 setjmp:
 	mov	r1, #0
 
 
 .globl __sigsetjmp;
-.align 4;                                                               \
+.type __sigsetjmp,#function
+.align 4;
 __sigsetjmp:
 	/* Save registers */
 	stmia	r0, {v1-v6, sl, fp, sp, lr}

+ 1 - 1
libc/sysdeps/linux/arm/vfork.S

@@ -30,7 +30,7 @@
 
 .text
 .global vfork;
-.type vfork,%function
+.type vfork,#function
 .align 4;                                                               \