From ee0047e5442e4a8a9a63ed8ddea80267f1f3b9b1 Mon Sep 17 00:00:00 2001 From: jasone Date: Tue, 4 Jan 2000 00:02:21 +0000 Subject: Unbreak profiling. bde says this is not the cleanest way to fix the problem, but that it works. Submitted by: bde --- lib/libc/amd64/gen/setjmp.S | 4 ++-- lib/libc/amd64/gen/sigsetjmp.S | 4 ++-- lib/libc/i386/gen/setjmp.S | 4 ++-- lib/libc/i386/gen/sigsetjmp.S | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) (limited to 'lib') diff --git a/lib/libc/amd64/gen/setjmp.S b/lib/libc/amd64/gen/setjmp.S index 32a246e..d1c08b9 100644 --- a/lib/libc/amd64/gen/setjmp.S +++ b/lib/libc/amd64/gen/setjmp.S @@ -54,7 +54,7 @@ #include "DEFS.h" #include "SYS.h" -ENTRY(__setjmp) +.globl CNAME(__setjmp); CNAME(__setjmp): ENTRY(setjmp) movl 4(%esp),%ecx PIC_PROLOGUE @@ -81,7 +81,7 @@ ENTRY(setjmp) xorl %eax,%eax ret -ENTRY(__longjmp) +.globl CNAME(__longjmp); CNAME(__longjmp): ENTRY(longjmp) movl 4(%esp),%edx PIC_PROLOGUE diff --git a/lib/libc/amd64/gen/sigsetjmp.S b/lib/libc/amd64/gen/sigsetjmp.S index 68ad093..7338e1c 100644 --- a/lib/libc/amd64/gen/sigsetjmp.S +++ b/lib/libc/amd64/gen/sigsetjmp.S @@ -59,7 +59,7 @@ * use sigreturn() if sigreturn() works. */ -ENTRY(__sigsetjmp) +.globl CNAME(__sigsetjmp); CNAME(__sigsetjmp): ENTRY(sigsetjmp) movl 8(%esp),%eax movl 4(%esp),%ecx @@ -90,7 +90,7 @@ ENTRY(sigsetjmp) xorl %eax,%eax ret -ENTRY(__siglongjmp) +.globl CNAME(__siglongjmp); CNAME(__siglongjmp): ENTRY(siglongjmp) movl 4(%esp),%edx cmpl $0,44(%edx) diff --git a/lib/libc/i386/gen/setjmp.S b/lib/libc/i386/gen/setjmp.S index 32a246e..d1c08b9 100644 --- a/lib/libc/i386/gen/setjmp.S +++ b/lib/libc/i386/gen/setjmp.S @@ -54,7 +54,7 @@ #include "DEFS.h" #include "SYS.h" -ENTRY(__setjmp) +.globl CNAME(__setjmp); CNAME(__setjmp): ENTRY(setjmp) movl 4(%esp),%ecx PIC_PROLOGUE @@ -81,7 +81,7 @@ ENTRY(setjmp) xorl %eax,%eax ret -ENTRY(__longjmp) +.globl CNAME(__longjmp); CNAME(__longjmp): ENTRY(longjmp) movl 4(%esp),%edx PIC_PROLOGUE diff --git a/lib/libc/i386/gen/sigsetjmp.S b/lib/libc/i386/gen/sigsetjmp.S index 68ad093..7338e1c 100644 --- a/lib/libc/i386/gen/sigsetjmp.S +++ b/lib/libc/i386/gen/sigsetjmp.S @@ -59,7 +59,7 @@ * use sigreturn() if sigreturn() works. */ -ENTRY(__sigsetjmp) +.globl CNAME(__sigsetjmp); CNAME(__sigsetjmp): ENTRY(sigsetjmp) movl 8(%esp),%eax movl 4(%esp),%ecx @@ -90,7 +90,7 @@ ENTRY(sigsetjmp) xorl %eax,%eax ret -ENTRY(__siglongjmp) +.globl CNAME(__siglongjmp); CNAME(__siglongjmp): ENTRY(siglongjmp) movl 4(%esp),%edx cmpl $0,44(%edx) -- cgit v1.1