Replace is_archive with maybe_archive.
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 6 Dec 2010 00:07:06 +0000 (00:07 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 6 Dec 2010 00:07:06 +0000 (00:07 +0000)
commitb7f95647fd61692f386a504b17a32326259d54cf
treef93957b0053cf4ed1ed0566bf7db2c29c3265b0a
parentcfac8028e44df8140ee4fa9a3d554b1df23e0c0c
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.
ld/ChangeLog
ld/emultempl/aix.em
ld/emultempl/elf32.em
ld/emultempl/linux.em
ld/emultempl/pe.em
ld/emultempl/pep.em
ld/emultempl/sunos.em
ld/emultempl/vms.em
ld/ldfile.c
ld/ldlang.c
ld/ldlang.h