From 3f3fb3b1387e81130e083091cc33698da1dff628 Mon Sep 17 00:00:00 2001 From: Mathieu Maret Date: Sun, 20 Mar 2022 21:46:11 +0100 Subject: [PATCH] Fix text boot section at bin start --- rpi3.ld | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/rpi3.ld b/rpi3.ld index 7e6f591..893688c 100644 --- a/rpi3.ld +++ b/rpi3.ld @@ -7,7 +7,9 @@ MEMORY SECTIONS { - .text : { *(.text .text.*) } + .text : { *(.text.boot) + *(.text) + } .rodata : { *(.rodata .rodata.*) } .data : { *(.data .data.*) } @@ -27,6 +29,6 @@ SECTIONS { *(.comment) *(.gnu) *(.note*) *(.eh_frame*) } -} -__bss_size = (__bss_end - __bss_start) >> 3; + __bss_size = (__bss_end - __bss_start) >> 3; +}