MIPS: start*.S and barebox.lds.S fixups
PATCH 5/5 MIPS: start.S: put entry code into the ".text_entry" section
In reply to Antony PavlovThe ".text_bare_init" section is not intended to be used for storing entry code.
--- arch/mips/boot/start.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/mips/boot/start.S +1 -1
@@ -20,7 +20,7 @@ #include <asm/pbl_macros.h> .set noreorder - .section ".text_bare_init" + .section ".text_entry" .align 4 EXPORT(_start)
Signature · 7 lines
2.11.0 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
PATCH 1/5 MIPS: start*.S: drop redundant .text
In reply to Antony Pavlov.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.
--- arch/mips/boot/start-pbl.S | 1 - arch/mips/boot/start.S | 1 - 2 files changed, 2 deletions(-)
arch/mips/boot/start-pbl.S +0 -1
@@ -25,7 +25,6 @@ #include <board/board_pbl_start.h> .set noreorder - .text .section ".text_head_entry" .align 4
arch/mips/boot/start.S +0 -1
@@ -20,7 +20,6 @@ #include <asm/pbl_macros.h> .set noreorder - .text .section ".text_bare_init" .align 4
Signature · 7 lines
2.11.0 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
PATCH 2/5 MIPS: barebox.lds.S: drop unneeded '_start = .'
In reply to Antony Pavlov--- arch/mips/lib/barebox.lds.S | 1 - 1 file changed, 1 deletion(-)
arch/mips/lib/barebox.lds.S +0 -1
@@ -27,7 +27,6 @@ SECTIONS . = ALIGN(4); .text : { - _start = .; *(.text_entry*) _stext = .; _text = .;
Signature · 7 lines
2.11.0 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
PATCH 4/5 MIPS: barebox.lds.S: put .text_entry contents after _stext and _text
In reply to Antony Pavlov--- arch/mips/lib/barebox.lds.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/mips/lib/barebox.lds.S +1 -1
@@ -27,9 +27,9 @@ SECTIONS . = ALIGN(4); .text : { - *(.text_entry*) _stext = .; _text = .; + *(.text_entry*) __bare_init_start = .; *(.text_bare_init*) __bare_init_end = .;
Signature · 7 lines
2.11.0 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
cover MIPS: start*.S and barebox.lds.S fixups
Antony Pavlov (5):
MIPS: start*.S: drop redundant .text
MIPS: barebox.lds.S: drop unneeded '_start = .'
MIPS: barebox.lds.S: remove unused got
MIPS: barebox.lds.S: put .text_entry contents after _stext and _text
MIPS: start.S: put entry code into the ".text_entry" section
arch/mips/boot/start-pbl.S | 1 - arch/mips/boot/start.S | 3 +-- arch/mips/lib/barebox.lds.S | 6 +----- 3 files changed, 2 insertions(+), 8 deletions(-)
Signature · 7 lines
2.11.0 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
PATCH 3/5 MIPS: barebox.lds.S: remove unused got
--- arch/mips/lib/barebox.lds.S | 3 --- 1 file changed, 3 deletions(-)
arch/mips/lib/barebox.lds.S +0 -3
@@ -50,9 +50,6 @@ SECTIONS .barebox_imd : { BAREBOX_IMD } - . = ALIGN(4); - .got : { *(.got*) } - . = .; __barebox_cmd_start = .; .barebox_cmd : { BAREBOX_CMDS }
Signature · 7 lines
2.11.0 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Sascha Hauer
AppliedQuoted 6 lines · Antony Pavlov
Antony Pavlov (5):
MIPS: start*.S: drop redundant .text
MIPS:barebox.lds.S: drop unneeded '_start= .'
MIPS:barebox.lds.S: remove unused got
MIPS:barebox.lds.S: put .text_entry contents after_stextand_text
MIPS:start.S: put entry code into the ".text_entry" section
Applied, thanks
Sascha
Quoted 15 lines
arch/mips/boot/start-pbl.S | 1 - arch/mips/boot/start.S | 3 +-- arch/mips/lib/barebox.lds.S | 6 +----- 3 files changed, 2 insertions(+), 8 deletions(-)Signature · 7 lines
2.11.0 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox