diff options
author | Ian Lance Taylor <ian@airs.com> | 1993-07-15 17:57:26 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1993-07-15 17:57:26 +0000 |
commit | 9edc5b2eca546c810adf77a544f8d4de30c1abb8 (patch) | |
tree | 03eccd8bcf72f39ec04562b9862157d2cdf42188 /ld/scripttempl | |
parent | d08c6f4c111d513c5090c40826f00eb31d7fa8a5 (diff) | |
download | gdb-9edc5b2eca546c810adf77a544f8d4de30c1abb8.zip gdb-9edc5b2eca546c810adf77a544f8d4de30c1abb8.tar.gz gdb-9edc5b2eca546c810adf77a544f8d4de30c1abb8.tar.bz2 |
* Makefile.in (em_m88kbcs.c): Correct dependency.
(scripttempl/m88kbcs.sc): It's ARCH, not arch.
Diffstat (limited to 'ld/scripttempl')
-rw-r--r-- | ld/scripttempl/m88kbcs.sc | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/ld/scripttempl/m88kbcs.sc b/ld/scripttempl/m88kbcs.sc new file mode 100644 index 0000000..928d640 --- /dev/null +++ b/ld/scripttempl/m88kbcs.sc @@ -0,0 +1,41 @@ +cat <<EOF +TARGET(m88kbcs) +OUTPUT_FORMAT(m88kbcs) +OUTPUT_ARCH(${ARCH}) +ENTRY(__start) +${RELOCATING+${LIB_SEARCH_DIRS}} + +SECTIONS +{ + .text ${RELOCATING+ 0x10000 + SIZEOF_HEADERS} : + { + CREATE_OBJECT_SYMBOLS + ${RELOCATING+ __.text.start = .}; + ${RELOCATING+ __.init.start = .}; + ${RELOCATING+ LONG(0xf400c001)} + ${RELOCATING+ __.init.end = .}; + *(.text) + ${RELOCATING+ __.tdesc_start = .}; + ${RELOCATING+ *(.tdesc)} + ${RELOCATING+ __.text_end = .} ; + ${RELOCATING+ __.initp.start = .}; + ${RELOCATING+ __.initp.end =.}; + + ${RELOCATING+_etext =.}; + } + .data ${RELOCATING+ SIZEOF(.text) + ADDR(.text) + 0x400000} : + { + *(.data) + ${CONSTRUCTING+CONSTRUCTORS} + *(.comment) + ${RELOCATING+_edata = .}; + } + .bss ${RELOCATING+ SIZEOF(.data) + ADDR(.data)} : + { + *(.bss) + *(COMMON) + ${RELOCATING+ _end = .}; + ${RELOCATING+ __end = .}; + } +} +EOF |