瀏覽代碼

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;                                                               \