瀏覽代碼

avr32: Put memset in its own section

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>
Haavard Skinnemoen 17 年之前
父節點
當前提交
0c16eed218
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib_avr32/memset.S

+ 1 - 1
lib_avr32/memset.S

@@ -27,7 +27,7 @@
 	 *
 	 *
 	 * Returns b in r12
 	 * Returns b in r12
 	 */
 	 */
-	.text
+	.section .text.memset, "ax", @progbits
 
 
 	.global	memset
 	.global	memset
 	.type	memset, @function
 	.type	memset, @function