bare_init is only meaningful when we initially only have parts of the barebox binary available. This is not the case on nios2, so remove the unnecessary __bare_init attributes. Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- arch/nios2/cpu/barebox.lds.S | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/nios2/cpu/barebox.lds.S b/arch/nios2/cpu/barebox.lds.S index 8d82aa59e7..426f072f74 100644 --- a/arch/nios2/cpu/barebox.lds.S +++ b/arch/nios2/cpu/barebox.lds.S @@ -40,9 +40,7 @@ SECTIONS _stext = .; __text = .; _text = .; - __bare_init_start = .; *(.text_entry) - __bare_init_end = .; *(.text) } BAREBOX_BARE_INIT_SIZE -- 2.25.0 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox