This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Fwd: ALIGNOF fails on cygwin
On Mon, Jul 02, 2007 at 12:06:55PM +0100, Nathan Sidwell wrote:
> Alan Modra wrote:
> >On Sun, Jul 01, 2007 at 09:01:17PM +0100, Nathan Sidwell wrote:
> >>Christian Joensson wrote:
> >>>alignof_text != 64
> >>>FAIL: ALIGNOF
> >>does cygwin have some restriction on section alignment?
> >
> >BFD doesn't currently implement setting of PE IMAGE_SCN_ALIGN* section
> >flags, so the relocatable object files we create always have default
> >section alignment.
>
> I guess this is the way to fix the failure -- Christian, does this xfail
> trigger for you?
Actually, I think you should only be running the test for ELF
targets. AOUT and COFF don't support alignment of sections, except by
way of various extensions such as PE.
--
Alan Modra
IBM OzLabs - Linux Technology Centre