summaryrefslogtreecommitdiffstats
path: root/cfe/cfe/arch/mips/common/src/cfe_rom_uncached.lds
diff options
context:
space:
mode:
Diffstat (limited to 'cfe/cfe/arch/mips/common/src/cfe_rom_uncached.lds')
-rw-r--r--cfe/cfe/arch/mips/common/src/cfe_rom_uncached.lds39
1 files changed, 39 insertions, 0 deletions
diff --git a/cfe/cfe/arch/mips/common/src/cfe_rom_uncached.lds b/cfe/cfe/arch/mips/common/src/cfe_rom_uncached.lds
new file mode 100644
index 0000000..a0362ba
--- /dev/null
+++ b/cfe/cfe/arch/mips/common/src/cfe_rom_uncached.lds
@@ -0,0 +1,39 @@
+OUTPUT_ARCH(mips)
+ENTRY(vec_reset)
+SECTIONS
+{
+ . = 0xBFC00000;
+ .text : {
+ _ftext = . ;
+ *(.init)
+ eprol = .;
+ *(.text)
+ *(.fini)
+ *(.rodata)
+ _etext = .;
+ }
+
+ .data 0xA1F00000 :
+ AT ( ((ADDR(.text)|0xB0000000) + SIZEOF ( .text ) + 15) & 0xFFFFFFF0)
+ {
+ _fdata = ALIGN(16) ;
+ *(.data)
+ CONSTRUCTORS
+ . = ALIGN(16);
+ _gp = . + 0x8000;
+ *(.sdata)
+ }
+ . = ALIGN(16);
+ _edata = .;
+ _fbss = .;
+ .sbss : {
+ *(.sbss)
+ *(.scommon)
+ }
+ .bss : {
+ *(.bss)
+ *(COMMON)
+ }
+ . = ALIGN(16);
+ _end = .;
+}