https://sourceware.org/bugzilla/show_bug.cgi?id=28006
Bug ID: 28006 Summary: Linking 32-bit x86 binaries using gold drops the .note.gnu.property section Product: binutils Version: unspecified Status: NEW Severity: normal Priority: P2 Component: gold Assignee: ccoutant at gmail dot com Reporter: nickc at redhat dot com CC: ian at airs dot com Target Milestone: --- Created attachment 13511 --> https://sourceware.org/bugzilla/attachment.cgi?id=13511&action=edit Proposed patch When linking 32-bit x86 binaries using the gold linker the .note.gnu.property section is not created. The BFD linker on the other hand does create the section. For example: % gcc -fcf-protection -m32 hello.c % readelf --notes a.out | grep SHSTK Properties: x86 feature: IBT, SHSTK % gcc -fcf-protection -m32 hello.c -fuse-ld=gold % readelf --notes a.out | grep SHSTK % A suggested patch is attached. -- You are receiving this mail because: You are on the CC list for the bug.