[PATCH 1/5] MIPS: start*.S: drop redundant .text

Antony Pavlov antonynpavlov at gmail.com
Fri May 5 04:34:31 PDT 2017


`.text' is equivalent to the `.section .text' directive.
The `.text' directive just before `.section ".text_bare_init"'
or just before `.section ".text_head_entry"' is redundant
so drop it.

Signed-off-by: Antony Pavlov <antonynpavlov at gmail.com>
---
 arch/mips/boot/start-pbl.S | 1 -
 arch/mips/boot/start.S     | 1 -
 2 files changed, 2 deletions(-)

diff --git a/arch/mips/boot/start-pbl.S b/arch/mips/boot/start-pbl.S
index b6d127a039..d6e8231a73 100644
--- a/arch/mips/boot/start-pbl.S
+++ b/arch/mips/boot/start-pbl.S
@@ -25,7 +25,6 @@
 #include <board/board_pbl_start.h>
 
 	.set noreorder
-	.text
 	.section ".text_head_entry"
 	.align 4
 
diff --git a/arch/mips/boot/start.S b/arch/mips/boot/start.S
index 1ddce9533e..0828ee4927 100644
--- a/arch/mips/boot/start.S
+++ b/arch/mips/boot/start.S
@@ -20,7 +20,6 @@
 #include <asm/pbl_macros.h>
 
 	.set noreorder
-	.text
 	.section ".text_bare_init"
 	.align 4
 
-- 
2.11.0




More information about the barebox mailing list