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]

pe-dll.c: Clean up last patch.


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.


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