This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Move mips port to in_small_data_p
Richard Sandiford writes:
> Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> writes:
> > > (mips_select_section): Use default_elf_section_section for everything
> > > except .text string constants.
> >
> > Before, TARGET_ASM_SELECT_SECTION was default_select_section, while it is
> > mips_select_section now.
>
> Are you sure? I don't think the definition of TARGET_ASM_SELECT_SECTION
> has changed since 3.3 branched.
No, you're right: I had looked at two copies of mips.i generated with -g3
-E which I may have misgenerated. Both in bootstraps of gcc-3.3.1-20030715
and gcc-3.4-20030703 on mips-sgi-irix6.5o32 with cc and as,
TARGET_ASM_SELECT_SECTION is mips_select_section. Looking at mips.h, I
couldn't understand otherwise. The two dubious instances of mips.i didn't
include mips.h for some reason.
Sorry for the confusion.
Rainer
-----------------------------------------------------------------------------
Rainer Orth, Faculty of Technology, Bielefeld University