[PATCH 4/5] MIPS: barebox.lds.S: put .text_entry contents after _stext and _text

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


Signed-off-by: Antony Pavlov <antonynpavlov at gmail.com>
---
 arch/mips/lib/barebox.lds.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/mips/lib/barebox.lds.S b/arch/mips/lib/barebox.lds.S
index cc214920e3..899f62b968 100644
--- a/arch/mips/lib/barebox.lds.S
+++ b/arch/mips/lib/barebox.lds.S
@@ -27,9 +27,9 @@ SECTIONS
 	. = ALIGN(4);
 	.text      :
 	{
-		*(.text_entry*)
 		_stext = .;
 		_text = .;
+		*(.text_entry*)
 		__bare_init_start = .;
 		*(.text_bare_init*)
 		__bare_init_end = .;
-- 
2.11.0




More information about the barebox mailing list