summaryrefslogtreecommitdiffstats
path: root/gdb/linker.cfg
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2002-04-15 08:35:08 +0000
committerBjörn Stenberg <bjorn@haxx.se>2002-04-15 08:35:08 +0000
commitd42d78fe4b000a47d5c1d451973b362891c6fc65 (patch)
tree9548b0990d714a3ef7083051f7e44b3e4ceb1258 /gdb/linker.cfg
parent11d0198e49987a3d85b0b5889d0dfeba3d9cd51e (diff)
downloadrockbox-d42d78fe4b000a47d5c1d451973b362891c6fc65.tar.gz
rockbox-d42d78fe4b000a47d5c1d451973b362891c6fc65.tar.bz2
rockbox-d42d78fe4b000a47d5c1d451973b362891c6fc65.zip
First check in
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@93 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'gdb/linker.cfg')
-rw-r--r--gdb/linker.cfg27
1 files changed, 27 insertions, 0 deletions
diff --git a/gdb/linker.cfg b/gdb/linker.cfg
new file mode 100644
index 0000000000..621492afd3
--- /dev/null
+++ b/gdb/linker.cfg
@@ -0,0 +1,27 @@
+ENTRY(_start)
+OUTPUT_FORMAT(elf32-sh)
+SECTIONS
+{
+ .vectors 0x09000000 :
+ {
+ *(.vectors);
+ . = ALIGN(0x200);
+ start.o(.text)
+ *(.rodata)
+ }
+
+ .bss :
+ {
+ _stack = . + 0x1000;
+ }
+
+ .text :
+ {
+ *(.text)
+ }
+
+ .pad 0x0900C800 :
+ {
+ LONG(0);
+ }
+ }