OSDN Git Service

* config/mips/netbsd.h (SUBTARGET_ASM_SPEC): Don't pass -KPIC
authorthorpej <thorpej@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 9 Nov 2002 18:38:18 +0000 (18:38 +0000)
committerthorpej <thorpej@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 9 Nov 2002 18:38:18 +0000 (18:38 +0000)
to the assembler if -mno-abicalls was specified.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58957 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/mips/netbsd.h

index fc96e70..540c69a 100644 (file)
@@ -1,3 +1,8 @@
+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,
index 3ec0544..5537782 100644 (file)
@@ -157,8 +157,9 @@ Boston, MA 02111-1307, USA.  */
 #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