Fix a bug in objcopy/strip's ability to merge notes in multiple same-named sections.
authorNick Clifton <nickc@redhat.com>
Tue, 6 Oct 2020 14:49:40 +0000 (15:49 +0100)
committerNick Clifton <nickc@redhat.com>
Tue, 6 Oct 2020 14:49:40 +0000 (15:49 +0100)
commit0ec992e6647c00fc234cdf4c11732b6711b024af
treea855ae9f9899fdfbea8a016114b53fe827a5f214
parent308975919152fbf301861d88e2da9b522e3cf112
Fix a bug in objcopy/strip's ability to merge notes in multiple same-named sections.

* objcopy.c (copy_object): Compare input and output sections by
pointer rather than name.
binutils/ChangeLog
binutils/objcopy.c