From 0c16eed2189a190bd5655b33c029f809a9b31128 Mon Sep 17 00:00:00 2001
From: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Date: Fri, 2 May 2008 15:24:22 +0200
Subject: [PATCH] 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>
---
 lib_avr32/memset.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib_avr32/memset.S b/lib_avr32/memset.S
index dc3b09b42f9..79e3c675a92 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
-- 
GitLab