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
This commit is contained in:
Jan Hubicka 2002-12-16 23:45:41 +01:00 committed by Jan Hubicka
parent 682aea8720
commit 9ee7999f33
3 changed files with 9 additions and 2 deletions

View File

@ -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> 2002-12-16 Mark Mitchell <mark@codesourcery.com>
* doc/include/gcc-common.texi: Change version number to 3.4. * doc/include/gcc-common.texi: Change version number to 3.4.

View File

@ -4386,7 +4386,7 @@ do { \
Pmode == DImode ? ".dword" : ".word", \ Pmode == DImode ? ".dword" : ".word", \
LOCAL_LABEL_PREFIX, VALUE, LOCAL_LABEL_PREFIX, REL); \ LOCAL_LABEL_PREFIX, VALUE, LOCAL_LABEL_PREFIX, REL); \
else if (mips_abi == ABI_32 || mips_abi == ABI_O64 \ 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)) \ || (TARGET_GAS && mips_abi == ABI_64)) \
fprintf (STREAM, "\t%s\t%sL%d\n", \ fprintf (STREAM, "\t%s\t%sL%d\n", \
Pmode == DImode ? ".gpdword" : ".gpword", \ Pmode == DImode ? ".gpdword" : ".gpword", \

View File

@ -9799,7 +9799,8 @@ move\\t%0,%z4\\n\\
"* "*
{ {
/* .cpadd expands to add REG,REG,$gp when pic, and nothing when not pic. */ /* .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); output_asm_insn (\".cpadd\\t%0\", operands);
return \"%*j\\t%0\"; return \"%*j\\t%0\";
}" }"