(eelf32l5900.c): Add rule for building.
* configure.tgt: Use r5900 specific emulation script.
* emulparams/elf32l5900.sh: 5900 specific emulation script.
done
fi
-r5900_files="ChangeLog configure.tgt"
+r5900_files="ChangeLog configure.tgt Makefile.in"
if ( echo $* | grep keep\-r5900 > /dev/null ) ; then
for i in $r5900_files ; do
+start-sanitize-r5900
+Tue Feb 10 11:52:33 1998 Jeffrey A Law (law@cygnus.com)
+
+ * Makefile.in (ALL_EMULATIONS): Add eelf32l5900.o
+ (eelf32l5900.c): Add rule for building.
+ * configure.tgt: Use r5900 specific emulation script.
+ * emulparams/elf32l5900.sh: 5900 specific emulation script.
+
+end-sanitize-r5900
Mon Feb 9 13:44:40 1998 Andrew Cagney <cagney@b1.cygnus.com>
* scripttempl/elfd10v.sc (.stack): Move stack to 0x00..7FFE.
eelf32ebmip.o \
eelf32elmip.o \
eelf32l4300.o \
+ $(start-sanitize-r5900) \
+ eelf32l5900.o \
+ $(end-sanitize-r5900) \
eelf32lmip.o \
eelf32lppc.o \
eelf32ppc.o \
eelf32l4300.c: $(srcdir)/emulparams/elf32l4300.sh \
$(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
${GENSCRIPTS} elf32l4300 "$(tdir_elf32l4300)"
+start-sanitize-r5900:
+eelf32l5900.c: $(srcdir)/emulparams/elf32l5900.sh \
+ $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
+ ${GENSCRIPTS} elf32l5900 "$(tdir_elf32l5900)"
+end-sanitize-r5900:
eelf32lmip.c: $(srcdir)/emulparams/elf32lmip.sh \
$(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
${GENSCRIPTS} elf32lmip "$(tdir_elf32lmip)"
mips*tx49-*-elf*) targ_emul=elf32b4300 ;;
# end-sanitize-tx49
# start-sanitize-r5900
-mips*r5900*-*-elf*) targ_emul=elf32l4300 ;;
+mips*r5900*-*-elf*) targ_emul=elf32l5900 ;;
# end-sanitize-r5900
mips*el-*-elf*) targ_emul=elf32elmip ;;
mips*-*-elf*) targ_emul=elf32ebmip ;;
lose_these_too="${tic80_files} ${lose_these_too}"
fi
+r5900_files="elf32l5900.sh"
+
+if ( echo $* | grep keep\-r5900 > /dev/null ) ; then
+ keep_these_too="${r5900_files} ${keep_these_too}"
+else
+ lose_these_too="${r5900_files} ${lose_these_too}"
+fi
+
# All files listed between the "Things-to-keep:" line and the
# "Do-last:" line will be kept. All other files will be removed.
# Directories listed in this section will have their own Sanitize
--- /dev/null
+SCRIPT_NAME=elf
+OUTPUT_FORMAT="elf32-littlemips"
+BIG_OUTPUT_FORMAT="elf32-bigmips"
+LITTLE_OUTPUT_FORMAT="elf32-littlemips"
+TEXT_START_ADDR=0xa0020000
+MAXPAGESIZE=0x40000
+INITIAL_READONLY_SECTIONS='.reginfo : { *(.reginfo) }'
+OTHER_TEXT_SECTIONS='*(.mips16.fn.*) *(.mips16.call.*)'
+OTHER_GOT_SYMBOLS='
+ _gp = ALIGN(16) + 0x7ff0;
+'
+OTHER_GOT_SECTIONS='
+ .lit8 : { *(.lit8) }
+ .lit4 : { *(.lit4) }
+'
+TEXT_START_SYMBOLS='_ftext = . ;'
+DATA_START_SYMBOLS='_fdata = . ;'
+OTHER_BSS_SYMBOLS='_fbss = .;'
+EXECUTABLE_SYMBOLS='_DYNAMIC_LINK = 0;'
+OTHER_SECTIONS='
+ .gptab.sdata : { *(.gptab.data) *(.gptab.sdata) }
+ .gptab.sbss : { *(.gptab.bss) *(.gptab.sbss) }
+'
+ARCH="mips:5900"
+MACHINE=
+TEMPLATE_NAME=elf32
+GENERATE_SHLIB_SCRIPT=yes
+DYNAMIC_LINK=false
+EMBEDDED=yes