[U-Boot-Users] [PATCH 11/18] avr32: Put memset in its own section
Haavard Skinnemoen
haavard.skinnemoen at atmel.com
Fri May 23 14:36:21 CEST 2008
All C code is compiled with -ffunction-sections -fdata-sections.
Assembly functions should get their own sections as well so that
everything looks consistent.
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen at atmel.com>
---
lib_avr32/memset.S | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib_avr32/memset.S b/lib_avr32/memset.S
index dc3b09b..79e3c67 100644
--- a/lib_avr32/memset.S
+++ b/lib_avr32/memset.S
@@ -27,7 +27,7 @@
*
* Returns b in r12
*/
- .text
+ .section .text.memset, "ax", @progbits
.global memset
.type memset, @function
--
1.5.5.1
More information about the U-Boot
mailing list