diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2010-12-06 00:07:04 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2010-12-06 00:07:04 +0000 |
commit | bb4b6c0452437dab75af0633ae99a2b60f76b9a6 (patch) | |
tree | 3de8d48d2e296b511b7508dd5ed7813bb062114c /ld/ldfile.c | |
parent | 11690dc9c8bccb8afa85dff1aa9a9c2281f490ff (diff) | |
download | binutils-redhat-bb4b6c0452437dab75af0633ae99a2b60f76b9a6.tar.gz |
Replace is_archive with maybe_archive.
2010-12-05 H.J. Lu <hongjiu.lu@intel.com>
* 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.
Diffstat (limited to 'ld/ldfile.c')
-rw-r--r-- | ld/ldfile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/ldfile.c b/ld/ldfile.c index 3d9feb5fa1..a9a69544d3 100644 --- a/ld/ldfile.c +++ b/ld/ldfile.c @@ -370,7 +370,7 @@ ldfile_open_file_search (const char *arch, /* If this is not an archive, try to open it in the current directory first. */ - if (! entry->is_archive) + if (! entry->maybe_archive) { if (entry->sysrooted && IS_ABSOLUTE_PATH (entry->filename)) { @@ -407,7 +407,7 @@ ldfile_open_file_search (const char *arch, } } - if (entry->is_archive) + if (entry->maybe_archive) string = concat (search->name, slash, lib, entry->filename, arch, suffix, (const char *) NULL); else |