diff options
author | DJ Delorie <dj@redhat.com> | 2001-10-19 14:25:51 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2001-10-19 14:25:51 +0000 |
commit | 59d28a9467412a663aca6f1e3e6274c82cd7a8bc (patch) | |
tree | dce4954297e0bf99f84f70f835cac68cf8cb557a /ld/pe-dll.c | |
parent | da89cce1af92fe49e4c85eeb478aa8ab6d8d41ce (diff) | |
download | gdb-59d28a9467412a663aca6f1e3e6274c82cd7a8bc.zip gdb-59d28a9467412a663aca6f1e3e6274c82cd7a8bc.tar.gz gdb-59d28a9467412a663aca6f1e3e6274c82cd7a8bc.tar.bz2 |
* pe-dll.c (autofilter_objectlist): Add gcrt0.o.
(auto-export): Fix indentation.
Diffstat (limited to 'ld/pe-dll.c')
-rw-r--r-- | ld/pe-dll.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/ld/pe-dll.c b/ld/pe-dll.c index 4ca567f..945564c 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++; } } |