From cb5e3d1df79b8dc533b3a85f35d914716bfa5845 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Mon, 21 Aug 2006 22:24:42 +0000 Subject: [PATCH] 2006-08-21 David Ung * mips/Makefile.in: Add rule for cygmon.o and pass the -mno-mips16 option since it uses the syscall instruction. --- libgloss/ChangeLog | 5 +++++ libgloss/mips/Makefile.in | 3 +++ 2 files changed, 8 insertions(+) diff --git a/libgloss/ChangeLog b/libgloss/ChangeLog index 737e0fafb..275317ddd 100644 --- a/libgloss/ChangeLog +++ b/libgloss/ChangeLog @@ -1,3 +1,8 @@ +2006-08-21 David Ung + + * mips/Makefile.in: Add rule for cygmon.o and pass the -mno-mips16 + option since it uses the syscall instruction. + 2006-08-16 Joel Schopp * spu/Makefile.in: Add special compiler diff --git a/libgloss/mips/Makefile.in b/libgloss/mips/Makefile.in index 00f65a0f9..229a0eb1c 100644 --- a/libgloss/mips/Makefile.in +++ b/libgloss/mips/Makefile.in @@ -243,6 +243,9 @@ cfe_mem.o: ${srcdir}/cfe_mem.c ${srcdir}/cfe_api.h cma101.o: ${srcdir}/cma101.c $(CC) -c $(CFLAGS_FOR_TARGET) $(CFLAGS) -mno-mips16 ${srcdir}/cma101.c +# cygmon can not be compiled as mips16 since it uses the syscall instruction +cygmon.o: ${srcdir}/cygmon.c + $(CC) -c $(CFLAGS_FOR_TARGET) $(CFLAGS) -mno-mips16 ${srcdir}/cygmon.c syscalls.o: ${srcdir}/syscalls.c