Don't change input_elf_XXX if they are -1
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 8 Jan 2010 15:58:08 +0000 (15:58 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 8 Jan 2010 15:58:08 +0000 (15:58 +0000)
commit2dc654c3e9b8515e5ef1f2042d6f21fd6f2e77bc
tree96d07260b20780f9475210c78e3b4ba9253a0a6a
parentf91e5ac34e150aeb5030c1005a510a231449c33c
Don't change input_elf_XXX if they are -1

2010-01-08  H.J. Lu  <hongjiu.lu@intel.com>

* elfedit.c (update_elf_header): Don't change input_elf_class
nor input_elf_machine if they are -1.
binutils/ChangeLog
binutils/elfedit.c