aboutsummaryrefslogtreecommitdiff
path: root/loader_stage2.ld
diff options
context:
space:
mode:
authorvetch <vetch97@gmail.com>2020-01-02 17:54:31 +0100
committervetch <vetch97@gmail.com>2020-01-02 17:54:31 +0100
commitab7b754bb32022336527c1a2d5d710b95a589d0e (patch)
tree19f508f06c72efcbdd2cfad46949ed6f1ae45a3c /loader_stage2.ld
parent5e1e6796109c892c4300c3da17c35e7874a40107 (diff)
parent6bf5a3b8c6e8a5d1cb3fb4880a5d9688ab094c62 (diff)
downloadrpi-MMU-example-ab7b754bb32022336527c1a2d5d710b95a589d0e.tar.gz
rpi-MMU-example-ab7b754bb32022336527c1a2d5d710b95a589d0e.zip
Merge branch 'bob' of https://repo.or.cz/RPi-MMU-example into alice
# Conflicts: # .gitignore # PL0_test.ld # demo_functionality.c # interrupt_vector.S # interrupts.c # kernel.c # memory.h
Diffstat (limited to 'loader_stage2.ld')
-rw-r--r--loader_stage2.ld44
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 = .;
-}