Cygwin tester? Was: [rfa] Add bfd-in-memory io vector
Danny Smith
dannysmith@clear.net.nz
Sat May 8 01:13:00 GMT 2004
----- Original Message -----
From: "Andrew Cagney"
| > On Sat, May 01, 2004 at 02:10:31PM -0400, Andrew Cagney wrote:
| >
| >>> The testing comment still applies though.
| >
| >
| > Given DJ's comment, I think you should test this on cygwin before
| > committing. If you can't do this yourself, convince someone else
| > to do so for you. OK to commit once you've done this.
| >
|
Hi,
I've run into another pe-dll problem with your proposed patch (after modifying to protect
against
bread-ing NULL files)
When building a dll import lib, I get this error from coffcode.h:styp_to_sec_flags:
D:\develop>gcc -shared -ofoo.dll -Wl,--out-implib,libfoo.a foo.c
Creating library file: libfoo.a
D:\MINGW\BIN\..\lib\gcc\mingw32\3.4.0\..\..\..\..\mingw32\bin\ld.exe: d000000.o ():
Section flag STYP_GROUP (0x4) ignored
D:\MINGW\BIN\..\lib\gcc\mingw32\3.4.0\..\..\..\..\mingw32\bin\ld.exe: d000001.o ():
Section flag STYP_GROUP (0x4) ignored
D:\MINGW\BIN\..\lib\gcc\mingw32\3.4.0\..\..\..\..\mingw32\bin\ld.exe: d000002.o ():
Section flag STYP_GROUP (0x4) ignored
D:\MINGW\BIN\..\lib\gcc\mingw32\3.4.0\..\..\..\..\mingw32\bin\ld.exe: d000002.o ():
Section flag STYP_GROUP (0x4) ignored
D:\MINGW\BIN\..\lib\gcc\mingw32\3.4.0\..\..\..\..\mingw32\bin\ld.exe: d000000.o ():
Section flag STYP_GROUP (0x4) ignored
D:\MINGW\BIN\..\lib\gcc\mingw32\3.4.0\..\..\..\..\mingw32\bin\ld.exe: d000001.o ():
Section flag STYP_GROUP (0x4) ignored
and a broken import lib is created
The STYP_GROUP flag is not set anywhere AFAICT.
The d00000[012].o files are created by make_head, make_one, and
make_tail, respectively, in ld/pe-dll.c.
Danny
.
More information about the Binutils
mailing list