Commit: Add note merging to strip, and add merging of stack size notes

Nick Clifton nickc@redhat.com
Thu Apr 13 13:50:00 GMT 2017


Hi Guys,

  I am applying the attached patch to add the note merging ability to
  the strip program, and to enhance the merging by adding support for
  combining stack size notes.

Cheers
  Nick

binutils/ChangeLog
2017-04-13  Nick Clifton  <nickc@redhat.com>

	* 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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: merge.notes.patch
Type: text/x-patch
Size: 12884 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20170413/05d718c7/attachment.bin>


More information about the Binutils mailing list