* pe-dll.c (autofilter_objectlist): Add gcrt0.o.
authorDJ Delorie <dj@redhat.com>
Fri, 19 Oct 2001 14:25:51 +0000 (14:25 +0000)
committerDJ Delorie <dj@redhat.com>
Fri, 19 Oct 2001 14:25:51 +0000 (14:25 +0000)
(auto-export): Fix indentation.

ld/ChangeLog
ld/pe-dll.c

index a74d6be73bfc2d34963459c1fdf35597ff03e7b4..0c0a882b185dc692079e78384bebec9e4419d06e 100644 (file)
@@ -1,3 +1,8 @@
+2001-10-19  Danny Smith  <danny_r_smith_2001@yahoo.co.nz>
+
+       * pe-dll.c (autofilter_objectlist): Add gcrt0.o.
+       (auto-export): Fix indentation.
+
 2001-10-18  Danny Smith  <danny_r_smith_2001@yahoo.co.nz>
 
        * pe-dll.c (autofilter_objectlist):  Add startup objects
index 4ca567f32147e43bcbbb4214227c2d993b7500b2..945564c6355132869c5936831401023c4c75ca62 100644 (file)
@@ -241,6 +241,7 @@ static autofilter_entry_type autofilter_objlist[] =
   { "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++;
            }
        }