diff options
author | Jason Thorpe <thorpej@wasabisystems.com> | 2002-11-09 18:38:18 +0000 |
---|---|---|
committer | Jason Thorpe <thorpej@gcc.gnu.org> | 2002-11-09 18:38:18 +0000 |
commit | 9f689d92c0a7caa5883e7f88b7cc7666a52c9dcf (patch) | |
tree | 32d2f8184b514e9b2f55757e566227a0d167d061 | |
parent | 1c03af86974345a6f499bc7a32cbf5c2acc4d802 (diff) | |
download | gcc-9f689d92c0a7caa5883e7f88b7cc7666a52c9dcf.zip gcc-9f689d92c0a7caa5883e7f88b7cc7666a52c9dcf.tar.gz gcc-9f689d92c0a7caa5883e7f88b7cc7666a52c9dcf.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/mips/netbsd.h | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fc96e70..540c69a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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, diff --git a/gcc/config/mips/netbsd.h b/gcc/config/mips/netbsd.h index 3ec0544..5537782 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 |