From 49703eb3f53c12fb0ac3d12ca0beaddfe581cfd4 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Wed, 20 Aug 2003 19:32:52 +0000 Subject: 2003-08-20 Chris Demetriou * mips/crt0_cfe.S: New file. * mips/cfe_mem.c: New file. * mips/cfe_prestart.S: Remove. * mips/cfe.ld: Adjust to use crt0_cfe.o as the startup file, and and use _start as the entry point. Align BSS to 32-byte boundary. * mips/cfe.c: Reimplement to fit on top of a crt0_cfe.o file. * mips/cfe_api.h (__libcfe_stack_size, __libcfe_mem_limit) (__libcfe_meminit, __libcfe_stack_top): New prototypes. * mips/Makefile.in (CFEOBJS): Replace cfe_prestart.o with cfe_mem.o. (cfe.o, cfe_api.o, cfe_mem.o, crt0_cfe.o): New targets. * mips/configure.in: Build and install crt0_cfe.o when CFE support is built. * mips/configure: Regenerate. --- libgloss/mips/configure.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libgloss/mips/configure.in') diff --git a/libgloss/mips/configure.in b/libgloss/mips/configure.in index 8bc36bc32..b26734a38 100644 --- a/libgloss/mips/configure.in +++ b/libgloss/mips/configure.in @@ -94,7 +94,7 @@ case "${target}" in ;; mipsisa32-*-* | mipsisa32el-*-* | \ mipsisa32r2-*-* | mipsisa32r2el-*-*) - crt0="crt0_cygmon.o crt0.o" + crt0="crt0_cfe.o crt0_cygmon.o crt0.o" pcrt0="pcrt0.o" part_specific_obj= part_specific_defines= @@ -119,6 +119,7 @@ case "${target}" in bsp_list="libpmon.a libnullmon.a" ;; *) + crt0="crt0_cfe.o crt0.o" part_specific_obj="vr4300.o cma101.o" part_specific_defines= script_list="idt pmon ddb ddb-kseg0 lsi cfe idtecoff nullmon" -- cgit v1.2.3