diff options
author | Wojtek Kosior <kwojtus@protonmail.com> | 2019-12-17 17:39:03 +0100 |
---|---|---|
committer | Wojtek Kosior <kwojtus@protonmail.com> | 2019-12-17 17:39:03 +0100 |
commit | 2d91eebbf1fc9335269207602b360ec485aaf7bb (patch) | |
tree | 90dde42016446ea8b89d634f4bcf2b1489396e0e /loader_stage2.ld | |
parent | b26d2337f46aace9f735794dfdec3fdf22f55606 (diff) | |
download | rpi-MMU-example-2d91eebbf1fc9335269207602b360ec485aaf7bb.tar.gz rpi-MMU-example-2d91eebbf1fc9335269207602b360ec485aaf7bb.zip |
don't embed stage2 of bootloader as binary blob - use smart section naming
Diffstat (limited to 'loader_stage2.ld')
-rw-r--r-- | loader_stage2.ld | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/loader_stage2.ld b/loader_stage2.ld deleted file mode 100644 index 8f215e9..0000000 --- a/loader_stage2.ld +++ /dev/null @@ -1,44 +0,0 @@ -ENTRY(_start) - -SECTIONS -{ - /* stage2 bootloader gets loaded at 0x4000 */ - . = 0x4000; - __start = .; - __text_start = .; - .text : - { - /* have entry point at the beginning */ - KEEP(*(.text.stage2main)) - *(.text) - } - . = ALIGN(4096); /* align to page size */ - __text_end = .; - - __rodata_start = .; - .rodata : - { - *(.rodata) - } - . = ALIGN(4096); /* align to page size */ - __rodata_end = .; - - __data_start = .; - .data : - { - *(.data) - } - . = ALIGN(4096); /* align to page size */ - __data_end = .; - - __bss_start = .; - .bss : - { - bss = .; - *(.bss) - } - . = ALIGN(4096); /* align to page size */ - __bss_end = .; - __bss_size = __bss_end - __bss_start; - __end = .; -} |