summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>2008-02-20 14:27:12 +0000
committerHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>2008-02-20 14:27:12 +0000
commit1da9c2604f4879a1b35d9a5512cd808418d8488a (patch)
tree75d57130c5e27ea21bb14ce4c9a0a16145574e00
parentd8f106289ffc338f15568f373b209f0c47755a54 (diff)
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 <hcegtvedt@atmel.com>
-rw-r--r--libc/string/avr32/bcopy.S2
-rw-r--r--libc/string/avr32/memmove.S2
-rw-r--r--libc/sysdeps/linux/avr32/bsd-_setjmp.S2
-rw-r--r--libc/sysdeps/linux/avr32/bsd-setjmp.S2
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