This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: AIX bootstrap failure (was Re: Hot/cold partitioning fixes)
David Edelsohn <dje@watson.ibm.com> writes:
> Also, I just noticed that the previous changes to choose sections
> in varasm.c appear to have broken the select_section mechanism. The
> arguments to the target hook are suppose to be decl, reloc, and alignment,
> e.g., in variable_section():
>
> targetm.asm_out.select_section (decl, reloc, DECL_ALIGN (decl));
>
> but it sometimes is called with the arguments decl, unlikely, and
> alignment, e.g., in function_section:
>
> targetm.asm_out.select_section (decl, unlikely, DECL_ALIGN (decl));
What do you think is broken?
See the documentation for the select_section target hook.