This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
pe-dll.c: Clean up last patch.
- To: binutils <binutils at sources dot redhat dot com>
- Subject: pe-dll.c: Clean up last patch.
- From: Danny Smith <danny_r_smith_2001 at yahoo dot co dot nz>
- Date: Fri, 19 Oct 2001 11:53:09 +1000 (EST)
I must have used -b when doing the diff for the last patch I sent. This
fixes the formatting, I hope. Also, I was too minimalist and only put in
the gcrt*.o files for mingw32. I've added the cygwin version gcrt0.o.
2001-10-19 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
* pe-dll.c (autofilter_objectlist): Add gcrt0.o.
(auto-export): Fix indentation.
--- pe-dll.c.0 Fri Oct 19 13:54:54 2001
+++ pe-dll.c Fri Oct 19 14:43:35 2001
@@ -241,6 +241,7 @@ static autofilter_entry_type autofilter_
{ "crt2.o", 6 },
{ "dllcrt1.o", 9 },
{ "dllcrt2.o", 9 },
+ { "gcrt0.o", 7 },
{ "gcrt1.o", 7 },
{ "gcrt2.o", 7 },
{ NULL, 0 }
@@ -443,14 +444,14 @@ auto_export (abfd, d, n)
/* Next, exclude symbols from certain startup objects. */
- if (abfd && (p = lbasename (abfd->filename)) )
+ if (abfd && (p = lbasename (abfd->filename)))
{
afptr = autofilter_objlist;
- while (afptr->name)
- {
+ while (afptr->name)
+ {
if ( strcmp (p, afptr->name) == 0 )
- return 0;
- afptr ++;
+ return 0;
+ afptr++;
}
}
http://briefcase.yahoo.com.au - Yahoo! Briefcase
- Manage your files online.