bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/23515] New: Empty GNU_PROPERTY_X86_FEATURE_1_AND isn't removed


From: hjl.tools at gmail dot com
Subject: [Bug ld/23515] New: Empty GNU_PROPERTY_X86_FEATURE_1_AND isn't removed
Date: Sun, 12 Aug 2018 00:23:33 +0000

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

address@hidden 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:
address@hidden tmp]$ gcc -c -m32 x.s
address@hidden tmp]$ ld -shared -m elf_i386 x.o
address@hidden 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: 
address@hidden tmp]$

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]