* Makefile.in (em_m88kbcs.c): Correct dependency.

(scripttempl/m88kbcs.sc): It's ARCH, not arch.
This commit is contained in:
Ian Lance Taylor 1993-07-15 17:57:26 +00:00
parent d08c6f4c11
commit 9edc5b2eca
3 changed files with 47 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Thu Jul 15 10:55:59 1993 Ian Lance Taylor (ian@cygnus.com)
* Makefile.in (em_m88kbcs.c): Correct dependency.
(scripttempl/m88kbcs.sc): It's ARCH, not arch.
Wed Jul 14 21:42:53 1993 David J. Mackenzie (djm@thepub.cygnus.com)
* ldfile.c (ldlang_open_file, ldfile_open_command_file),

View File

@ -252,7 +252,7 @@ em_a29k.c: $(srcdir)/emulparams/a29k.sh \
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/a29k.sc ${GEN_DEPENDS}
${GENSCRIPTS} a29k.sh
em_m88kbcs.c: $(srcdir)/emulparams/m88kbcs.sh \
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300.sc ${GEN_DEPENDS}
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/m88kbcs.sc ${GEN_DEPENDS}
${GENSCRIPTS} m88kbcs.sh
em_h8300.c: $(srcdir)/emulparams/h8300.sh \
$(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/h8300.sc ${GEN_DEPENDS}

41
ld/scripttempl/m88kbcs.sc Normal file
View File

@ -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