summaryrefslogtreecommitdiff
path: root/userspace/sys/oldlinker.ld
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2014-11-21 15:37:45 +0100
committerMichal Idziorek <m.i@gmx.at>2014-11-21 15:37:45 +0100
commit65a859ac5b721c8d3e0123351ad99690e2e7a876 (patch)
treef47d53ecc9ff47451832f72fc306d20ea1bb1332 /userspace/sys/oldlinker.ld
parent6e8ea08166b53507f38ed7f435728b7470a061ab (diff)
preparing switch to ELF userspace
Diffstat (limited to 'userspace/sys/oldlinker.ld')
-rw-r--r--userspace/sys/oldlinker.ld25
1 files changed, 25 insertions, 0 deletions
diff --git a/userspace/sys/oldlinker.ld b/userspace/sys/oldlinker.ld
new file mode 100644
index 0000000..4eee8eb
--- /dev/null
+++ b/userspace/sys/oldlinker.ld
@@ -0,0 +1,25 @@
+OUTPUT_FORMAT(binary)
+
+SECTIONS
+{
+ . = 0x800000;
+
+ .text : ALIGN(0x1000) {
+ _TEXT_START_ = .;
+ *(.text)
+ _TEXT_END_ = .;
+ }
+
+ .data : ALIGN(0x1000) {
+ _DATA_START_ = .;
+ *(.data)
+ _DATA_END_ = .;
+ }
+
+ .bss : ALIGN(0x1000) {
+ _BSS_START_ = .;
+ *(.bss)
+ _BSS_END_ = .;
+ }
+
+}