diff options
Diffstat (limited to 'ld/pe-dll.c')
-rw-r--r-- | ld/pe-dll.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ld/pe-dll.c b/ld/pe-dll.c index 3fdcbba..cbd0c49 100644 --- a/ld/pe-dll.c +++ b/ld/pe-dll.c @@ -137,7 +137,8 @@ pe_dll_id_target (target) { int i; for (i=0; pe_detail_list[i].target_name; i++) - if (strcmp (pe_detail_list[i].target_name, target) == 0) + if (strcmp (pe_detail_list[i].target_name, target) == 0 + || strcmp (pe_detail_list[i].object_target, target) == 0) { pe_details = pe_detail_list+i; return; |