This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Cygwin tester? Was: [rfa] Add bfd-in-memory io vector
- From: Danny Smith <dannysmith at clear dot net dot nz>
- To: Andrew Cagney <cagney at gnu dot org>
- Cc: binutils at sources dot redhat dot com
- Date: Sun, 09 May 2004 02:10:22 +0100
- Subject: Re: Cygwin tester? Was: [rfa] Add bfd-in-memory io vector
- References: <4092CA10.6090205@gnu.org> <4093E817.9060704@gnu.org><20040502135641.GZ2565@bubble.modra.org> <40967F30.50607@gnu.org>
- Reply-to: Danny Smith <dannysmith at users dot sourceforge dot net>
----- 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
.