summaryrefslogtreecommitdiffstats
path: root/cfe/cfe/applets/cfe_applet.lds
diff options
context:
space:
mode:
Diffstat (limited to 'cfe/cfe/applets/cfe_applet.lds')
-rw-r--r--cfe/cfe/applets/cfe_applet.lds37
1 files changed, 37 insertions, 0 deletions
diff --git a/cfe/cfe/applets/cfe_applet.lds b/cfe/cfe/applets/cfe_applet.lds
new file mode 100644
index 0000000..e1b33e9
--- /dev/null
+++ b/cfe/cfe/applets/cfe_applet.lds
@@ -0,0 +1,37 @@
+OUTPUT_ARCH(mips)
+ENTRY(__start)
+SECTIONS
+{
+ . = 0x20000000;
+/* . = 0x81000000; */
+ .text :
+ {
+ _ftext = . ;
+ *(.init)
+ eprol = .;
+ *(.text)
+ *(.fini)
+ *(.rodata)
+ _etext = .;
+ }
+
+ .data :
+ {
+ _gp = ALIGN(16) + 0x8000;
+ _fdata = . ;
+ *(.data)
+ CONSTRUCTORS
+ *(.sdata)
+ }
+ _edata = .;
+ _fbss = .;
+ .sbss : {
+ *(.sbss)
+ *(.scommon)
+ }
+ .bss : {
+ *(.bss)
+ *(COMMON)
+ }
+ _end = .;
+}