netbsd.h (SUBTARGET_ASM_SPEC): Always pass -KPIC unless -fno-pic or -fno-PIC is specified.

* config/mips/netbsd.h (SUBTARGET_ASM_SPEC): Always pass -KPIC
unless -fno-pic or -fno-PIC is specified.

From-SVN: r57421
This commit is contained in:
Jason Thorpe 2002-09-22 23:46:44 +00:00 committed by Jason Thorpe
parent 44eedb7540
commit 173b51b5c1
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2002-09-22 Jason Thorpe <thorpej@wasabisystems.com>
* config/mips/netbsd.h (SUBTARGET_ASM_SPEC): Always pass -KPIC
unless -fno-pic or -fno-PIC is specified.
2002-09-22 John David Anglin <dave@hiauly1.hia.nrc.ca>
* c-common.c (preprocessing_trad_p): Define.

View file

@ -158,7 +158,7 @@ Boston, MA 02111-1307, USA. */
#undef SUBTARGET_ASM_SPEC
#define SUBTARGET_ASM_SPEC \
"%{fpic:-KPIC} %{fPIC:-KPIC}"
"%{!fno-PIC:%{!fno-pic:-KPIC}}"
/* -G is incompatible with -KPIC which is the default, so only allow objects