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: at gmail dot com
  Target Milestone: ---
            Target: i386,x86-64

[hjl@gnu-tools-1 tmp]$ cat x.s
        .section "", "a"
        .p2align 2
        .long 1f - 0f           /* name length */
        .long 5f - 2f           /* data length */
        .long 5                 /* note type */
0:      .asciz "GNU"            /* vendor name */
        .p2align 2
2:      .long 0xc0000002        /* pr_type.  */
        .long 4f - 3f           /* pr_datasz.  */
        .long 0x0
        .p2align 2
[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:
  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

Reply via email to