diff --git a/01_wait_forever/kernel b/01_wait_forever/kernel index d96e0122..259d4610 100755 Binary files a/01_wait_forever/kernel and b/01_wait_forever/kernel differ diff --git a/01_wait_forever/src/bsp/rpi3/link.ld b/01_wait_forever/src/bsp/rpi3/link.ld index d116d3e2..69795259 100644 --- a/01_wait_forever/src/bsp/rpi3/link.ld +++ b/01_wait_forever/src/bsp/rpi3/link.ld @@ -10,8 +10,8 @@ SECTIONS .text : { - *(.text) + *(.text._start) *(.text*) } - /DISCARD/ : { *(.comment) } + /DISCARD/ : { *(.comment*) } } diff --git a/01_wait_forever/src/bsp/rpi3/start.S b/01_wait_forever/src/bsp/rpi3/start.S index 3d93381e..23fa4a54 100644 --- a/01_wait_forever/src/bsp/rpi3/start.S +++ b/01_wait_forever/src/bsp/rpi3/start.S @@ -2,6 +2,8 @@ // // Copyright (c) 2018-2019 Andre Richter +.section ".text._start" + .global _start _start: diff --git a/02_runtime_init/src/bsp/rpi3/link.ld b/02_runtime_init/src/bsp/rpi3/link.ld index 13d99a65..235a0a0c 100644 --- a/02_runtime_init/src/bsp/rpi3/link.ld +++ b/02_runtime_init/src/bsp/rpi3/link.ld @@ -10,26 +10,26 @@ SECTIONS .text : { - *(.text) + *(.text._start) *(.text*) } .rodata : { - *(.rodata) + *(.rodata*) } .data : { - *(.data) + *(.data*) } /* Align to 8 byte boundary */ .bss ALIGN(8): { __bss_start = .; - *(.bss); + *(.bss*); __bss_end = .; } - /DISCARD/ : { *(.comment) } + /DISCARD/ : { *(.comment*) } } diff --git a/02_runtime_init/src/bsp/rpi3/start.S b/02_runtime_init/src/bsp/rpi3/start.S index 2bd9340d..41395e3b 100644 --- a/02_runtime_init/src/bsp/rpi3/start.S +++ b/02_runtime_init/src/bsp/rpi3/start.S @@ -2,6 +2,8 @@ // // Copyright (c) 2018-2019 Andre Richter +.section ".text._start" + .global _start _start: diff --git a/03_hacky_hello_world/kernel b/03_hacky_hello_world/kernel index 7bdc5507..feb2f283 100755 Binary files a/03_hacky_hello_world/kernel and b/03_hacky_hello_world/kernel differ diff --git a/03_hacky_hello_world/kernel8.img b/03_hacky_hello_world/kernel8.img index 3bce99b4..2bcbe9c6 100755 Binary files a/03_hacky_hello_world/kernel8.img and b/03_hacky_hello_world/kernel8.img differ diff --git a/03_hacky_hello_world/src/bsp/rpi3/link.ld b/03_hacky_hello_world/src/bsp/rpi3/link.ld index 13d99a65..235a0a0c 100644 --- a/03_hacky_hello_world/src/bsp/rpi3/link.ld +++ b/03_hacky_hello_world/src/bsp/rpi3/link.ld @@ -10,26 +10,26 @@ SECTIONS .text : { - *(.text) + *(.text._start) *(.text*) } .rodata : { - *(.rodata) + *(.rodata*) } .data : { - *(.data) + *(.data*) } /* Align to 8 byte boundary */ .bss ALIGN(8): { __bss_start = .; - *(.bss); + *(.bss*); __bss_end = .; } - /DISCARD/ : { *(.comment) } + /DISCARD/ : { *(.comment*) } } diff --git a/03_hacky_hello_world/src/bsp/rpi3/start.S b/03_hacky_hello_world/src/bsp/rpi3/start.S index 2bd9340d..41395e3b 100644 --- a/03_hacky_hello_world/src/bsp/rpi3/start.S +++ b/03_hacky_hello_world/src/bsp/rpi3/start.S @@ -2,6 +2,8 @@ // // Copyright (c) 2018-2019 Andre Richter +.section ".text._start" + .global _start _start: