aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2002-12-16 22:45:41 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2002-12-16 22:45:41 +0000
commit65711038642f869066a58477d4fd50e86bd6b3de (patch)
tree7135c37894ecf19729e4c1194e1ae9bebf0f8560
parentf88f8a6e8e2b35aad938cdbcc20a82a042c009a8 (diff)
* mips.h (ASM_OUTPUT_ADDR_DIFF_ELT): Do not use qpword on API_N32/not
gas * mips.md (tablejump insn): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60188 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/mips/mips.h2
-rw-r--r--gcc/config/mips/mips.md3
3 files changed, 9 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 20350d2c8e2..04ec330a18d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+Mon Dec 16 23:39:19 CET 2002 Jan Hubicka <jh@suse.cz>
+
+ * mips.h (ASM_OUTPUT_ADDR_DIFF_ELT): Do not use qpword on API_N32/not
+ gas
+ * mips.md (tablejump insn): Likewise.
+
2002-12-16 Mark Mitchell <mark@codesourcery.com>
* doc/include/gcc-common.texi: Change version number to 3.4.
diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h
index 5be556f7d70..a61a0bd410d 100644
--- a/gcc/config/mips/mips.h
+++ b/gcc/config/mips/mips.h
@@ -4386,7 +4386,7 @@ do { \
Pmode == DImode ? ".dword" : ".word", \
LOCAL_LABEL_PREFIX, VALUE, LOCAL_LABEL_PREFIX, REL); \
else if (mips_abi == ABI_32 || mips_abi == ABI_O64 \
- || mips_abi == ABI_N32 \
+ || (TARGET_GAS && mips_abi == ABI_N32) \
|| (TARGET_GAS && mips_abi == ABI_64)) \
fprintf (STREAM, "\t%s\t%sL%d\n", \
Pmode == DImode ? ".gpdword" : ".gpword", \
diff --git a/gcc/config/mips/mips.md b/gcc/config/mips/mips.md
index 46e4fdd86a4..0edd32e4239 100644
--- a/gcc/config/mips/mips.md
+++ b/gcc/config/mips/mips.md
@@ -9799,7 +9799,8 @@ move\\t%0,%z4\\n\\
"*
{
/* .cpadd expands to add REG,REG,$gp when pic, and nothing when not pic. */
- if (mips_abi == ABI_32 || mips_abi == ABI_O64 || mips_abi == ABI_N32)
+ if (mips_abi == ABI_32 || mips_abi == ABI_O64
+ || (mips_abi == ABI_N32 && TARGET_GAS))
output_asm_insn (\".cpadd\\t%0\", operands);
return \"%*j\\t%0\";
}"