From 9d68bc829ca59311705d4b0bb563b9419d88fb31 Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Wed, 19 Jul 2000 00:04:04 +0000 Subject: [PATCH] * pe-dll.c (pe_dll_id_target): check object target name also --- ld/ChangeLog | 4 ++++ ld/pe-dll.c | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 61d9c5f827e..0b661b562ff 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2000-07-18 DJ Delorie + + * pe-dll.c (pe_dll_id_target): check object target name also + 2000-07-18 Hans-Peter Nilsson * scripttempl/elf.sc (.init): Only do ${INIT_START} and 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; -- 2.30.2