This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Patch to ld/pe-dll.c: Use explicit lookup for filering excluded objects
- To: Danny Smith <danny_r_smith_2001 at yahoo dot co dot nz>
- Subject: Re: Patch to ld/pe-dll.c: Use explicit lookup for filering excluded objects
- From: Charles Wilson <cwilson at ece dot gatech dot edu>
- Date: Fri, 19 Oct 2001 13:33:40 -0400
- CC: DJ Delorie <dj at delorie dot com>, binutils at sources dot redhat dot com
- References: <20011017094700.44409.qmail@web14501.mail.yahoo.com>
Danny Smith wrote:
> Yes. After looking at the code for libiberty strstr, I agree.
> Here is yet another revision. I have built on mingw and tested with
> Charles' dllhelpers-0.2.8 examples, with build of STLPort 4.16b as dll and
> testsuite linking against this dll, and by building libbfd as dll and
> rebuilding ld to link against libbfd.dll.
>
> My stylistic choices are my stylistic choices, biased by too much fortran
> code in the past. This all started out by fixing a bug and I've dug myself
> into a stylistic hole as it were. Charles, perhaps you can provide an
> alternative.
I withdraw my objections. Do your "worst", Danny :-)
It appears that with your proposed changes, none of these lists will use
the length parameter, so they can all be changed to simple arrays of
char*.
autofilter_liblist
autofilter_objlist
autofilter_symbollist
Leaving only the *prefix and *suffix lists...
--Chuck