aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2002-12-16 23:45:41 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2002-12-16 22:45:41 +0000
commit9ee7999f333673b4110c7c2b8ac32e72f9401917 (patch)
tree7135c37894ecf19729e4c1194e1ae9bebf0f8560 /gcc
parent682aea87203da60297f53db74c408abccc4610c1 (diff)
downloadgcc-9ee7999f333673b4110c7c2b8ac32e72f9401917.zip
gcc-9ee7999f333673b4110c7c2b8ac32e72f9401917.tar.gz
gcc-9ee7999f333673b4110c7c2b8ac32e72f9401917.tar.bz2
mips.h (ASM_OUTPUT_ADDR_DIFF_ELT): Do not use qpword on API_N32/not gas
* mips.h (ASM_OUTPUT_ADDR_DIFF_ELT): Do not use qpword on API_N32/not gas * mips.md (tablejump insn): Likewise. From-SVN: r60188
Diffstat (limited to 'gcc')
-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 20350d2..04ec330 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 5be556f..a61a0bd 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 46e4fdd..0edd32e 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\";
}"