From: rsandifo Date: Mon, 12 Jun 2006 11:03:57 +0000 (+0000) Subject: 2006-06-12 Fred Fish X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=commitdiff_plain;h=4266946e4489968a311f38add4dda93b0d6802c1;hp=d6f7b8f2bddc60640af73954fff3c8a2b94b05ce 2006-06-12 Fred Fish * config/mips/mips.c (mips_file_start): Create special section ".gcc_compiled_longXX" for o64 ABI as well as EABI. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114566 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c95edb3b349..475c36fccae 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2006-06-12 Fred Fish + + * config/mips/mips.c (mips_file_start): Create special section + ".gcc_compiled_longXX" for o64 ABI as well as EABI. + 2006-06-11 Eric Christopher PR middle-end/27948 diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c index a12e82af707..d8794024c9e 100644 --- a/gcc/config/mips/mips.c +++ b/gcc/config/mips/mips.c @@ -5830,8 +5830,9 @@ mips_file_start (void) /* There is no ELF header flag to distinguish long32 forms of the EABI from long64 forms. Emit a special section to help tools - such as GDB. */ - if (mips_abi == ABI_EABI) + such as GDB. Do the same for o64, which is sometimes used with + -mlong64. */ + if (mips_abi == ABI_EABI || mips_abi == ABI_O64) fprintf (asm_out_file, "\t.section .gcc_compiled_long%d\n", TARGET_LONG64 ? 64 : 32);