aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2000-07-19 00:04:04 +0000
committerDJ Delorie <dj@redhat.com>2000-07-19 00:04:04 +0000
commit9d68bc829ca59311705d4b0bb563b9419d88fb31 (patch)
tree47118af8e82c06d38aa3a87583ca47e95f570f78 /ld/pe-dll.c
parentFix expected results to match current assembler output. (diff)
downloadbinutils-gdb-9d68bc829ca59311705d4b0bb563b9419d88fb31.tar.gz
binutils-gdb-9d68bc829ca59311705d4b0bb563b9419d88fb31.tar.bz2
binutils-gdb-9d68bc829ca59311705d4b0bb563b9419d88fb31.zip
* pe-dll.c (pe_dll_id_target): check object target name also
Diffstat (limited to 'ld/pe-dll.c')
-rw-r--r--ld/pe-dll.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ld/pe-dll.c b/ld/pe-dll.c
index 3fdcbba4df3..cbd0c495a44 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;