summaryrefslogtreecommitdiff
path: root/bootrom/common/bram.ld
diff options
context:
space:
mode:
Diffstat (limited to 'bootrom/common/bram.ld')
-rw-r--r--bootrom/common/bram.ld40
1 files changed, 0 insertions, 40 deletions
diff --git a/bootrom/common/bram.ld b/bootrom/common/bram.ld
deleted file mode 100644
index 45df67f..0000000
--- a/bootrom/common/bram.ld
+++ /dev/null
@@ -1,40 +0,0 @@
-OUTPUT_ARCH("riscv")
-ENTRY(_start)
-
-MEMORY
-{
- rom (rx) : ORIGIN = 0x00001000, LENGTH = 4K
- ram (rwx) : ORIGIN = 0x80000000, LENGTH = 256M
-}
-
-SECTIONS
-{
- PROVIDE(_rom = ORIGIN(rom));
- PROVIDE(_rom_end = _rom + LENGTH(rom));
- PROVIDE(_ram = ORIGIN(ram));
- PROVIDE(_ram_end = _ram + LENGTH(ram));
-
- .text : {
- PROVIDE(_ftext = .);
- *(.text.init)
- *(.text .text.* .gnu.linkonce.t.*)
- PROVIDE(_etext = .);
- } > rom
-
- .rodata : {
- *(.rodata .rodata.* .gnu.linkonce.r.*)
- } > rom
-
- .bss : ALIGN(8) {
- PROVIDE(_fbss = .);
- *(.bss .bss.* .gnu.linkonce.b.*)
- *(.sbss .sbss.* .gnu.linkonce.sb.*)
- . = ALIGN(8);
- PROVIDE(_ebss = .);
- } > ram
-
- . += 0x1000;
- PROVIDE(_sp = NEXT(0x1000));
-
- PROVIDE(_end = .);
-}