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
This commit is contained in:
Jason Thorpe 2002-11-09 18:38:18 +00:00 committed by Jason Thorpe
parent 1c03af8697
commit 9f689d92c0
2 changed files with 8 additions and 2 deletions

View 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,

View 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