Don't change input_elf_XXX if they are -1
commit88127e5d597d73df67f36cf2382cfdbdcfb0e111
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 8 Jan 2010 15:58:07 +0000 (8 15:58 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 8 Jan 2010 15:58:07 +0000 (8 15:58 +0000)
treefb296bde19e5e5a9176c5fcf26b49def8374fccd
parent707f1e6c55f9db9887f35bd17f3789cf6ab5e74b
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