summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2001-10-19 14:25:51 +0000
committerDJ Delorie <dj@delorie.com>2001-10-19 14:25:51 +0000
commit810e36f2eb3e00a548fcea057409afd51fb79402 (patch)
tree0d392fe1c3276237c10057a0f74527f054b052eb
parent4b0cea0ddc87ff3b38222b322fb76ed2b7521679 (diff)
downloadbinutils-redhat-810e36f2eb3e00a548fcea057409afd51fb79402.tar.gz
* pe-dll.c (autofilter_objectlist): Add gcrt0.o.
(auto-export): Fix indentation.
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/pe-dll.c11
2 files changed, 11 insertions, 5 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index a74d6be73b..0c0a882b18 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -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
diff --git a/ld/pe-dll.c b/ld/pe-dll.c
index 4ca567f321..945564c635 100644
--- a/ld/pe-dll.c
+++ b/ld/pe-dll.c
@@ -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++;
}
}