summaryrefslogtreecommitdiff
path: root/libc/string/avr32
diff options
context:
space:
mode:
authorHaavard Skinnemoen <haavard.skinnemoen@atmel.com>2008-03-13 20:12:08 +0000
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>2008-03-13 20:12:08 +0000
commit845a4221aff3a2d725dd96f2c9fb5c8b4b1f573e (patch)
tree4d6a13e5d112e7d6a3d710ce89bffca26e740274 /libc/string/avr32
parent3674a2c77df975bfa67905e70ce3ea94863d2152 (diff)
avr32: Use HIDDEN_JUMPTARGET() macro in bzero.S
Also, remove the hidden __memset symbol from memset.S
Diffstat (limited to 'libc/string/avr32')
-rw-r--r--libc/string/avr32/bzero.S2
-rw-r--r--libc/string/avr32/memset.S5
2 files changed, 1 insertions, 6 deletions
diff --git a/libc/string/avr32/bzero.S b/libc/string/avr32/bzero.S
index 7404ca3e4..928148dcb 100644
--- a/libc/string/avr32/bzero.S
+++ b/libc/string/avr32/bzero.S
@@ -17,7 +17,7 @@
bzero:
mov r10, r11
mov r11, 0
- rjmp __memset
+ rjmp HIDDEN_JUMPTARGET(memset)
.size bzero, . - bzero
diff --git a/libc/string/avr32/memset.S b/libc/string/avr32/memset.S
index ca5b53a1a..964bf4834 100644
--- a/libc/string/avr32/memset.S
+++ b/libc/string/avr32/memset.S
@@ -16,13 +16,8 @@
.global memset
.type memset, @function
- .global __memset
- .hidden __memset
- .type __memset, @function
-
.align 1
memset:
-__memset:
cp.w n, 32
mov r9, s
brge .Llarge_memset