diff options
Diffstat (limited to 'ld/scripttempl/i960.sc')
-rw-r--r-- | ld/scripttempl/i960.sc | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/ld/scripttempl/i960.sc b/ld/scripttempl/i960.sc new file mode 100644 index 0000000..ed8ba8b --- /dev/null +++ b/ld/scripttempl/i960.sc @@ -0,0 +1,23 @@ +cat <<EOF +SECTIONS +{ + .text : + { + ${GLD_STYLE+ CREATE_OBJECT_SYMBOLS} + *(.text) + ${RELOCATING+ _etext = .}; + } + .data SIZEOF(.text) + ADDR(.text): + { + *(.data) + ${RELOCATING+ _edata = .}; + } + .bss SIZEOF(.data) + ADDR(.data): + { + ${RELOCATING+ _bss_start = .}; + *(.bss) + *(COMMON) + ${RELOCATING+ _end = .}; + } +} +EOF |