From 3c6f0ae16723e0ce96fcb9b5f93d7135bdeb4ee1 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 21 Jun 2001 19:50:54 +0000 Subject: Patch from Shane Nay, who noticed that these were not properly labeling functions as such, thereby hosing the shared lib loader. --- libc/sysdeps/linux/arm/longjmp.S | 1 + libc/sysdeps/linux/arm/setjmp.S | 6 ++++-- libc/sysdeps/linux/arm/vfork.S | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) (limited to 'libc/sysdeps/linux') diff --git a/libc/sysdeps/linux/arm/longjmp.S b/libc/sysdeps/linux/arm/longjmp.S index 6c1f5234b..c21758524 100644 --- a/libc/sysdeps/linux/arm/longjmp.S +++ b/libc/sysdeps/linux/arm/longjmp.S @@ -24,6 +24,7 @@ /* __longjmp(jmpbuf, val) */ .globl longjmp; +.type longjmp,#function .align 4; \ longjmp: mov ip, r0 diff --git a/libc/sysdeps/linux/arm/setjmp.S b/libc/sysdeps/linux/arm/setjmp.S index 57516f2f0..8e290c0f8 100644 --- a/libc/sysdeps/linux/arm/setjmp.S +++ b/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} diff --git a/libc/sysdeps/linux/arm/vfork.S b/libc/sysdeps/linux/arm/vfork.S index 99dc2ab7c..085946ae1 100644 --- a/libc/sysdeps/linux/arm/vfork.S +++ b/libc/sysdeps/linux/arm/vfork.S @@ -30,7 +30,7 @@ .text .global vfork; -.type vfork,%function +.type vfork,#function .align 4; \ -- cgit v1.2.3