summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthorpej <thorpej@138bc75d-0d04-0410-961f-82ee72b054a4>2002-11-09 18:38:18 +0000
committerthorpej <thorpej@138bc75d-0d04-0410-961f-82ee72b054a4>2002-11-09 18:38:18 +0000
commit80ecf7bae019aa262fbfa84c7043aa0c858ecb4e (patch)
tree32d2f8184b514e9b2f55757e566227a0d167d061
parent7369aba45235c9bf15e6bde49a56c141af1961bf (diff)
downloadppe42-gcc-80ecf7bae019aa262fbfa84c7043aa0c858ecb4e.tar.gz
ppe42-gcc-80ecf7bae019aa262fbfa84c7043aa0c858ecb4e.zip
* config/mips/netbsd.h (SUBTARGET_ASM_SPEC): Don't pass -KPIC
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
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/mips/netbsd.h5
2 files changed, 8 insertions, 2 deletions
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 <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 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
OpenPOWER on IntegriCloud