* config/mips/netbsd.h (SUBTARGET_ASM_SPEC): Don't pass -KPIC
to the assembler if -mno-abicalls was specified.
From-SVN: r58957
+2002-11-09 Jason Thorpe <thorpej@wasabisystems.com>
+
+ * config/mips/netbsd.h (SUBTARGET_ASM_SPEC): Don't pass -KPIC
+ to the assembler if -mno-abicalls was specified.
+
2002-11-09 John David Anglin <dave@hiauly1.hia.nrc.ca>
* pa-linux.h (PREFERRED_DEBUGGING_TYPE, DWARF2_ASM_LINE_DEBUG_INFO,
#define NETBSD_ENTRY_POINT "__start"
#undef SUBTARGET_ASM_SPEC
-#define SUBTARGET_ASM_SPEC \
- "%{!fno-PIC:%{!fno-pic:-KPIC}}"
+#define SUBTARGET_ASM_SPEC \
+ "%{!mno-abicalls: \
+ %{!fno-PIC:%{!fno-pic:-KPIC}}}"
/* -G is incompatible with -KPIC which is the default, so only allow objects