diff options
author | Wojtek Kosior <kwojtus@protonmail.com> | 2019-12-26 17:55:15 +0100 |
---|---|---|
committer | Wojtek Kosior <kwojtus@protonmail.com> | 2019-12-26 17:55:15 +0100 |
commit | 6a5684927d5a6d201b407ff30340307fe9813677 (patch) | |
tree | 1b1b3cf6fb889d00f6526728eacf904ff07311c2 | |
parent | 32ab77e291eca37677c416ca69fe3fd93e224464 (diff) | |
download | rpi-MMU-example-6a5684927d5a6d201b407ff30340307fe9813677.tar.gz rpi-MMU-example-6a5684927d5a6d201b407ff30340307fe9813677.zip |
fix linking of libkernel
-rw-r--r-- | linker.ld | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -22,7 +22,7 @@ SECTIONS .text : { KEEP(*(.text.boot)) - *(.text) + *(EXCLUDE_FILE (libkernel.o) .text) } . = ALIGN(4096); /* align to page size */ __text_end = .; @@ -30,7 +30,7 @@ SECTIONS __rodata_start = .; .rodata : { - *(.rodata) + *(EXCLUDE_FILE (libkernel.o) .rodata) } . = ALIGN(4096); /* align to page size */ __rodata_end = .; @@ -38,7 +38,7 @@ SECTIONS __data_start = .; .data : { - *(.data) + *(EXCLUDE_FILE (libkernel.o) .data) } . = ALIGN(4096); /* align to page size */ __data_end = .; @@ -47,7 +47,7 @@ SECTIONS .bss : { bss = .; - *(.bss) + *(EXCLUDE_FILE (libkernel.o) .bss) } . = ALIGN(4096); /* align to page size */ __bss_end = .; |