https://sourceware.org/bugzilla/show_bug.cgi?id=22444
--- Comment #9 from H.J. Lu <hjl.tools at gmail dot com> --- Created attachment 10603 --> https://sourceware.org/bugzilla/attachment.cgi?id=10603&action=edit A testcase Without my patch: [hjl@gnu-6 pr22444]$ readelf -n x.o Displaying notes found in: .note.GNU Owner Data size Description GNU 0x0000000c Unknown note type: (0x0000000a) Description data: 00 00 00 00 01 00 00 00 02 00 00 00 (NONE) 0x00000004 Unknown note type: (0x00000008) description data: 05 00 00 00 readelf: Warning: note with invalid namesz and/or descsz found at offset 0x2c readelf: Warning: type: 0x0, namesize: 0x00554e47, descsize: 0x00000002 [hjl@gnu-6 pr22444]$ With my patch: [hjl@gnu-6 pr22444]$ ./readelf -n x.o Displaying notes found in: .note.GNU Owner Data size Description GNU 0x0000000c Unknown note type: (0x0000000a) Description data: 00 00 00 00 01 00 00 00 02 00 00 00 GNU 0x00000008 NT_GNU_PROPERTY_TYPE_0 Properties: no copy on protected [hjl@gnu-6 pr22444]$ -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils