From b7f95647fd61692f386a504b17a32326259d54cf Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Mon, 6 Dec 2010 00:07:06 +0000 Subject: Replace is_archive with maybe_archive. 2010-12-05 H.J. Lu * ldfile.c (ldfile_open_file_search): Check maybe_archive instead of is_archive. * emultempl/aix.em: Likewise. * emultempl/elf32.em: Likewise. * emultempl/linux.em: Likewise. * emultempl/pe.em: Likewise. * emultempl/pep.em: Likewise. * emultempl/sunos.em: Likewise. * emultempl/vms.em: Likewise. * ldlang.c (new_afile): Set maybe_archive instead of is_archive.. * ldlang.h (lang_input_statement_struct): Replace is_archive with maybe_archive. --- ld/emultempl/linux.em | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ld/emultempl/linux.em') diff --git a/ld/emultempl/linux.em b/ld/emultempl/linux.em index 2a2a960..db62830 100644 --- a/ld/emultempl/linux.em +++ b/ld/emultempl/linux.em @@ -62,7 +62,7 @@ gld${EMULATION_NAME}_open_dynamic_archive { char *string; - if (! entry->is_archive) + if (! entry->maybe_archive) return FALSE; string = (char *) xmalloc (strlen (search->name) -- cgit v1.1