From 1c754e35ab807ab23aec5bebe6298bee1cb176cf Mon Sep 17 00:00:00 2001 From: Jens Ahrensfeld Date: Sun, 1 Feb 2009 19:35:53 +0000 Subject: [PATCH] - using new link.ld - omitted -no-gpopt Committed on the Free edition of March Hare Software CVSNT Server. Upgrade to CVS Suite for more features and support: http://march-hare.com/cvsnt/ git-svn-id: http://moon:8086/svn/vhdl/trunk@307 cc03376c-175c-47c8-b038-4cd826a8556b --- lib/CPUs/MIPS/bsp/examples/Makefile | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/lib/CPUs/MIPS/bsp/examples/Makefile b/lib/CPUs/MIPS/bsp/examples/Makefile index 3359347..a70c519 100644 --- a/lib/CPUs/MIPS/bsp/examples/Makefile +++ b/lib/CPUs/MIPS/bsp/examples/Makefile @@ -1,8 +1,8 @@ TOOLS_DIR=../../tools -CFLAGS=-mno-gpopt -msoft-float -O2 -march=r3000 -I. +CFLAGS=-msoft-float -O2 -march=r3000 -I. LFLAGS=-M -T link.ld -LIB_DIRS=-L /usr/local/mipsel-elf/lib -L /usr/local/lib/gcc/mipsel-elf/4.3.2 +LIB_DIRS=-L . -L /usr/local/mipsel-elf/lib -L /usr/local/lib/gcc/mipsel-elf/4.3.2 LIBS=-lc -lm -lgcc AS=mipsel-elf-as @@ -17,13 +17,13 @@ PROG = hello testbench test_irq dhry queens stanford paranoia rmd160_test Bessel all: $(PROG) -libsys: startup.S init.S kernel.S libsys.c xcpt.c irq.o - $(CC) $(CFLAGS) -c startup.S -o startup.o - $(CC) $(CFLAGS) -c init.S -o init.o - $(CC) $(CFLAGS) -c kernel.S -o kernel.o - $(CC) $(CFLAGS) -c libsys.c -o libsys.o - $(CC) $(CFLAGS) -c xcpt.c -o xcpt.o - $(CC) $(CFLAGS) -c irq.c -o irq.o +libsys: startup.S init.S kernel.S libsys.c xcpt.c irq.c + $(CC) $(CFLAGS) -G 0 -c startup.S -o startup.o + $(CC) $(CFLAGS) -G 0 -c kernel.S -o kernel.o + $(CC) $(CFLAGS) -G 0 -c init.S -o init.o + $(CC) $(CFLAGS) -G 0 -c libsys.c -o libsys.o + $(CC) $(CFLAGS) -G 0 -c xcpt.c -o xcpt.o + $(CC) $(CFLAGS) -G 0 -c irq.c -o irq.o $(AR) -r libsys.a init.o libsys.o xcpt.o irq.o hello: hello.c