Set target from the the first object only if it isn't set.
authorH.J. Lu <hjl.tools@gmail.com>
Sun, 16 Oct 2011 19:36:10 +0000 (19:36 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Sun, 16 Oct 2011 19:36:10 +0000 (19:36 +0000)
commit746c5e8cf04907404d06ba0919c008f0da633255
tree497827d3c9b5a24d4c0b06d7af75c412f1233a63
parent20ec36d94265dd0a49c3da36a095a92668c55327
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.
binutils/ChangeLog
binutils/ar.c