avr32: Put memset in its own section
authorHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
Fri, 2 May 2008 13:24:22 +0000 (15:24 +0200)
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
Tue, 27 May 2008 13:27:30 +0000 (15:27 +0200)
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@atmel.com>
lib_avr32/memset.S

index dc3b09b..79e3c67 100644 (file)
@@ -27,7 +27,7 @@
         *
         * Returns b in r12
         */
-       .text
+       .section .text.memset, "ax", @progbits
 
        .global memset
        .type   memset, @function