From 1da9c2604f4879a1b35d9a5512cd808418d8488a Mon Sep 17 00:00:00 2001 From: Hans-Christian Egtvedt Date: Wed, 20 Feb 2008 14:27:12 +0000 Subject: Use HIDDEN_JUMPTARGET define instead of __GI_ directly in AVR32 files This patch uses the HIDDEN_JUMPTARGET instead of the __GI_ prefix in AVR32 assembler files. This is done to follow the code style in uClibc. Signed-off-by: Hans-Christian Egtvedt --- libc/string/avr32/bcopy.S | 2 +- libc/string/avr32/memmove.S | 2 +- libc/sysdeps/linux/avr32/bsd-_setjmp.S | 2 +- libc/sysdeps/linux/avr32/bsd-setjmp.S | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libc/string/avr32/bcopy.S b/libc/string/avr32/bcopy.S index 193919084..e1d173165 100644 --- a/libc/string/avr32/bcopy.S +++ b/libc/string/avr32/bcopy.S @@ -19,7 +19,7 @@ bcopy: eor r11, r12 eor r12, r11 eor r11, r12 - rjmp __GI_memmove + rjmp HIDDEN_JUMPTARGET(memmove) .size bcopy, . - bcopy diff --git a/libc/string/avr32/memmove.S b/libc/string/avr32/memmove.S index 659cdd199..8ca4da54d 100644 --- a/libc/string/avr32/memmove.S +++ b/libc/string/avr32/memmove.S @@ -15,7 +15,7 @@ .type memmove, @function memmove: cp.w src, dst - brge __GI_memcpy + brge HIDDEN_JUMPTARGET(memcpy) add dst, len add src, len diff --git a/libc/sysdeps/linux/avr32/bsd-_setjmp.S b/libc/sysdeps/linux/avr32/bsd-_setjmp.S index e8ac4c6a1..867edd9c2 100644 --- a/libc/sysdeps/linux/avr32/bsd-_setjmp.S +++ b/libc/sysdeps/linux/avr32/bsd-_setjmp.S @@ -12,5 +12,5 @@ .align 1 _setjmp: mov r11, 0 - bral __GI___sigsetjmp + bral HIDDEN_JUMPTARGET(__sigsetjmp) .size _setjmp, . - _setjmp diff --git a/libc/sysdeps/linux/avr32/bsd-setjmp.S b/libc/sysdeps/linux/avr32/bsd-setjmp.S index 5394446ae..b9f483bda 100644 --- a/libc/sysdeps/linux/avr32/bsd-setjmp.S +++ b/libc/sysdeps/linux/avr32/bsd-setjmp.S @@ -12,5 +12,5 @@ .align 1 setjmp: mov r11, 1 - bral __GI___sigsetjmp + bral HIDDEN_JUMPTARGET(__sigsetjmp) .size setjmp, . - setjmp -- cgit v1.2.3