This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: current binutils trunk failures on cygwin
On Wed, May 03, 2006 at 04:01:33PM +0100, Nick Clifton wrote:
> Hi H. J.
>
> >>>I chose .text on purpose since we didn't say --set-section-flags
> >>>doesn't work on certain sections. copy-1.d already has a non-standard
> >>>section. I would prefer to add a new test and make copy-2.d ELF only.
> >>I am OK with adding the new test, but copy-2.d should be non-PE targets
> >>only, not just ELF only. It is only PE targets which have the problem.
> >
> >Does COFF have the same issue?
>
> No - it is only PE that has the issue.
>
> >Here is a patch.
>
> >+#not-target: *-*-*pe* *-*-*coff i*86-*-cygwin* i*86-*-mingw32*
>
> You do not need the *-*-coff here. In fact it should not be there.
But it failed on i386-coff the same way as i386-cygwin:
Executing on host:
/export/build/gnu/binutils-import-cross/build-i386-coff/gas/as-new
/export/gnu/src/binutils-import/binutils/binutils/testsuite/binutils-all/bintest.s
-o tmpdir/bintest.o (timeout = 300)
/export/build/gnu/binutils-import-cross/build-i386-coff/binutils/objcopy
--set-section-flags .text=alloc,data tmpdir/bintest.o tmpdir/copy.o
Executing on host:
/export/build/gnu/binutils-import-cross/build-i386-coff/binutils/objcopy
--set-section-flags .text=alloc,data tmpdir/bintest.o tmpdir/copy.o
(timeout = 300)
/export/build/gnu/binutils-import-cross/build-i386-coff/binutils/objdump
-h tmpdir/copy.o > tmpdir/dump.out
regexp_diff match failure
regexp "^ CONTENTS, ALLOC, LOAD, RELOC, DATA$"
line " CONTENTS, ALLOC, LOAD, RELOC, CODE"
FAIL: copy with setting section flags 3
H.J.