From 440a1183989361b94df2b3f592adda50b8c4011a Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Fri, 8 Jan 2010 17:24:29 +0000 Subject: [PATCH] Use SYMBOL() instead of FUNCTION() to define the function end symbol. The following function might otherwise not be shown correctly in ELF tools. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34952 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/kernel/arch/x86/arch_interrupts.S | 2 +- src/system/kernel/arch/x86/arch_x86.S | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/system/kernel/arch/x86/arch_interrupts.S b/src/system/kernel/arch/x86/arch_interrupts.S index 99547ce7f1..c1144ef04c 100644 --- a/src/system/kernel/arch/x86/arch_interrupts.S +++ b/src/system/kernel/arch/x86/arch_interrupts.S @@ -613,7 +613,7 @@ FUNCTION(i386_return_from_signal): int $99 ret FUNCTION_END(i386_return_from_signal) -FUNCTION(i386_end_return_from_signal): +SYMBOL(i386_end_return_from_signal): /*! void i386_restore_frame_from_syscall(struct iframe iframe); diff --git a/src/system/kernel/arch/x86/arch_x86.S b/src/system/kernel/arch/x86/arch_x86.S index a20257c03c..6a1262945d 100644 --- a/src/system/kernel/arch/x86/arch_x86.S +++ b/src/system/kernel/arch/x86/arch_x86.S @@ -157,7 +157,7 @@ FUNCTION(x86_userspace_thread_exit): int $99 .align 4 FUNCTION_END(x86_userspace_thread_exit) -FUNCTION(x86_end_userspace_thread_exit): +SYMBOL(x86_end_userspace_thread_exit): /* void x86_enter_userspace(addr_t entry, addr_t stackTop); */