]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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 dc3b09b42f95cf0b3dde2eaac8c55fc2f5532846..79e3c675a92333ef35f0ac51340cd13af6d3ba76 100644 (file)
@@ -27,7 +27,7 @@
         *
         * Returns b in r12
         */
-       .text
+       .section .text.memset, "ax", @progbits
 
        .global memset
        .type   memset, @function