This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] XCOFF select section tweak
On Thu, Sep 12, 2002 at 12:56:07PM -0400, David Edelsohn wrote:
> .align directives are internal to CSECTs and relative to the start
> of the CSECT. If the CSECT does not have alignment at least as strict as
> the strictest alignment directive within the CSECT, those stricter
> alignment requests may not be effective.
Mm. Similar to Irix, though not as bad, since it accepts the
maximum of the CSECT directives.
Perhaps the solution is to record the maximum ASM_OUTPUT_ALIGN
seen for every section, then at the end emit a CSECT directive
with an alignment to match?
> Is there a way to recognize a section name as user-generated and not
> compiler generated?