diff options
Diffstat (limited to 'gdb/linker.cfg')
-rw-r--r-- | gdb/linker.cfg | 27 |
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); + } + } |