Fix bug merging notes with objcopy when no merging results in zeroes being written...
authorNick Clifton <nickc@redhat.com>
Thu, 7 Nov 2019 11:36:06 +0000 (11:36 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 7 Nov 2019 11:36:06 +0000 (11:36 +0000)
commitef07b8082ea5f9c48d0c6bcf0e4c1855ddf2c49b
tree692bfa0c999c20fda4a1d23157f6cac7f61dde58
parent496af5c81112807c9909fb7038404905e15950ea
Fix bug merging notes with objcopy when no merging results in zeroes being written back into the note section.

* objcopy.c (copy_object): Skip note sections that do not have
an output section.  Always copy note sections, even if no
changes are made.
binutils/ChangeLog
binutils/objcopy.c