This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cygwin tester? Was: [rfa] Add bfd-in-memory io vector


----- 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
.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]