Add note merging to strip and add code to merge stack size notes.
authorNick Clifton <nickc@redhat.com>
Thu, 13 Apr 2017 13:50:56 +0000 (14:50 +0100)
committerNick Clifton <nickc@redhat.com>
Thu, 13 Apr 2017 13:50:56 +0000 (14:50 +0100)
commit1d15e434f43bc41a07bc7b0648fcb7e6ccbe8dcc
tree10119cf7d59def56d48feef65ee75321f96f9fe9
parent4274208406762da7af6dd697f44d8e6895061530
Add note merging to strip and add code to merge stack size notes.

* objcopy.c: Add --no-merge-notes option to disable note merging.
Add --[no-]merge-notes option to strip, and enable it by default.
(num_bytes): New function.
(merge_gnu_build_notes): Add code to merge stack size notes.
* binutils.texi: Update strip and objcopy documentation.
* readelf.c (print_gnu_build_attribute_name): Use defined
constants for note types.
binutils/ChangeLog
binutils/doc/binutils.texi
binutils/objcopy.c
binutils/readelf.c