From 9ee7999f333673b4110c7c2b8ac32e72f9401917 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Mon, 16 Dec 2002 23:45:41 +0100 Subject: [PATCH] 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 --- gcc/ChangeLog | 6 ++++++ gcc/config/mips/mips.h | 2 +- gcc/config/mips/mips.md | 3 ++- 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 + + * 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 * 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\"; }" -- 2.30.2