OSDN Git Service

2006-08-21 David Ung <davidu@mips.com>
authorjjohnstn <jjohnstn>
Mon, 21 Aug 2006 22:24:42 +0000 (22:24 +0000)
committerjjohnstn <jjohnstn>
Mon, 21 Aug 2006 22:24:42 +0000 (22:24 +0000)
        * mips/Makefile.in: Add rule for cygmon.o and pass the -mno-mips16
        option since it uses the syscall instruction.

libgloss/ChangeLog
libgloss/mips/Makefile.in

index 737e0fa..275317d 100644 (file)
@@ -1,3 +1,8 @@
+2006-08-21  David Ung  <davidu@mips.com>
+
+       * 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  <jschopp@austin.ibm.com>
 
        * spu/Makefile.in: Add special compiler
index 00f65a0..229a0eb 100644 (file)
@@ -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