This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
RE: [PATCH] gcc3/ld patch for direct-linking-to-dll and auto-importsupport
- From: "Ralf Habacker" <Ralf dot Habacker at freenet dot de>
- To: "Binutils" <binutils at sources dot redhat dot com>
- Cc: "Danny Smith" <danny_r_smith_2001 at yahoo dot co dot nz>
- Date: Mon, 13 Oct 2003 13:12:44 +0200
- Subject: RE: [PATCH] gcc3/ld patch for direct-linking-to-dll and auto-importsupport
Hi Danny,
in the messages http://www.cygwin.com/ml/binutils/2003-09/msg00088.html you
wrote:
> >
> > Ralf, what about a less intrusive approach? Compile dll
> > code with -fdata-sections. This will put const data in
> > .rdata$foo sections. Then, make pe_implied_import_dll()
> > scan .rdata as well as .data and .bss. for data symbols
> >
> > I've tried that with your testcase and it seems to work.
> >
can this patch be applied to cvs ? If so would you apply this patch to
binutils ?
I'm asking because I have got an error report exactly for this combination
and cygwin has updated to gcc 3.3.
Thanks
Ralf