From: Jason Thorpe Date: Sat, 9 Nov 2002 18:38:18 +0000 (+0000) Subject: netbsd.h (SUBTARGET_ASM_SPEC): Don't pass -KPIC to the assembler if -mno-abicalls... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9f689d92c0a7caa5883e7f88b7cc7666a52c9dcf;p=gcc.git netbsd.h (SUBTARGET_ASM_SPEC): Don't pass -KPIC to the assembler if -mno-abicalls was specified. * config/mips/netbsd.h (SUBTARGET_ASM_SPEC): Don't pass -KPIC to the assembler if -mno-abicalls was specified. From-SVN: r58957 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fc96e701dcc..540c69a9586 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-11-09 Jason Thorpe + + * 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 * pa-linux.h (PREFERRED_DEBUGGING_TYPE, DWARF2_ASM_LINE_DEBUG_INFO, diff --git a/gcc/config/mips/netbsd.h b/gcc/config/mips/netbsd.h index 3ec054456ee..55377820049 100644 --- a/gcc/config/mips/netbsd.h +++ b/gcc/config/mips/netbsd.h @@ -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