https://sourceware.org/bugzilla/show_bug.cgi?id=23515
Bug ID: 23515 Summary: Empty GNU_PROPERTY_X86_FEATURE_1_AND isn't removed Product: binutils Version: 2.32 (HEAD) Status: NEW Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: hjl.tools at gmail dot com Target Milestone: --- Target: i386,x86-64 [hjl@gnu-tools-1 tmp]$ cat x.s .section ".note.gnu.property", "a" .p2align 2 .long 1f - 0f /* name length */ .long 5f - 2f /* data length */ .long 5 /* note type */ 0: .asciz "GNU" /* vendor name */ 1: .p2align 2 2: .long 0xc0000002 /* pr_type. */ .long 4f - 3f /* pr_datasz. */ 3: .long 0x0 4: .p2align 2 5: [hjl@gnu-tools-1 tmp]$ gcc -c -m32 x.s [hjl@gnu-tools-1 tmp]$ ld -shared -m elf_i386 x.o [hjl@gnu-tools-1 tmp]$ readelf -n x.o Displaying notes found in: .note.gnu.property Owner Data size Description GNU 0x0000000c NT_GNU_PROPERTY_TYPE_0 Properties: x86 feature: [hjl@gnu-tools-1 tmp]$ -- 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