aboutsummaryrefslogtreecommitdiff
path: root/linker.ld
diff options
context:
space:
mode:
authorWojtek Kosior <kwojtus@protonmail.com>2019-12-28 14:01:14 +0100
committerWojtek Kosior <kwojtus@protonmail.com>2019-12-28 14:01:14 +0100
commit826d5b3ba04a8b830c8a92a6f69ca4e223257c5b (patch)
tree6702ee0e8e70d9098e3f3cfe56ee857ed01bb3e8 /linker.ld
parent5b5ed23b44ae9eb845ebbac284e0b27822e45ed1 (diff)
downloadrpi-MMU-example-826d5b3ba04a8b830c8a92a6f69ca4e223257c5b.tar.gz
rpi-MMU-example-826d5b3ba04a8b830c8a92a6f69ca4e223257c5b.zip
place PL_0_test.img in ramfs instead of embedding it directly
Diffstat (limited to 'linker.ld')
-rw-r--r--linker.ld4
1 files changed, 3 insertions, 1 deletions
diff --git a/linker.ld b/linker.ld
index e0e72b2..7b585dc 100644
--- a/linker.ld
+++ b/linker.ld
@@ -23,7 +23,9 @@ SECTIONS
{
__kernel_start = .;
KEEP(boot.o)
- *(EXCLUDE_FILE (libkernel.o interrupt_vector.o interrupts.o) *)
+ *(EXCLUDE_FILE (ramfs_embeddable.o libkernel.o interrupt_vector.o interrupts.o) *)
+ . = ALIGN(4);
+ ramfs_embeddable.o
__kernel_end = .;
}
__kernel_size = __kernel_end - __kernel_start;