Patch to ld/pe-dll.c: Use explicit lookup for filering excluded objects
DJ Delorie
dj@delorie.com
Wed Oct 17 19:52:00 GMT 2001
> A re-revised patch : Why not use a simple array for autofilter_liblist as
> well.
Please note whatever testing you've done for your patch when you
submit it.
> + Don't export anything from system libs. */
> + if (abfd && abfd->my_archive &&
> + (p=lbasename (abfd->my_archive->filename)))
> + for (i =0; i < af_liblist_len; i++)
> + if ( strstr (p, autofilter_liblist[i]))
If we're using lbasename, shouldn't we use strncmp instead of strstr?
More information about the Binutils
mailing list