mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-09 23:32:21 +08:00
Set target from the the first object only if it isn't set.
2011-10-16 H.J. Lu <hongjiu.lu@intel.com> PR binutils/13278 * ar.c (open_inarch): Set the target from the the first object on the list only if it isn't set.
This commit is contained in:
@ -1,3 +1,9 @@
|
||||
2011-10-16 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
PR binutils/13278
|
||||
* ar.c (open_inarch): Set the target from the the first object
|
||||
on the list only if it isn't set.
|
||||
|
||||
2011-10-13 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
Fixes to aid translation:
|
||||
|
@ -815,9 +815,9 @@ open_inarch (const char *archive_filename, const char *file)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/* Try to figure out the target to use for the archive from the
|
||||
first object on the list. */
|
||||
if (file != NULL)
|
||||
/* If the target isn't set, try to figure out the target to use
|
||||
for the archive from the first object on the list. */
|
||||
if (target == NULL && file != NULL)
|
||||
{
|
||||
bfd *obj;
|
||||
|
||||
|
Reference in New Issue
Block a user