[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/23929] New: Missing .note.gnu.property with -flto
From: |
hjl.tools at gmail dot com |
Subject: |
[Bug ld/23929] New: Missing .note.gnu.property with -flto |
Date: |
Wed, 28 Nov 2018 13:44:15 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=23929
Bug ID: 23929
Summary: Missing .note.gnu.property with -flto
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: ---
address@hidden tmp]$ cat x.c
#include <stdio.h>
int
main ()
{
printf ("hello\n");
}
address@hidden tmp]$ gcc x.c -Wa,-mx86-used-note=yes
address@hidden tmp]$ readelf -n a.out | head
readelf: Warning: Gap in build notes detected from 0x401127 to 0x40113f
Displaying notes found in: .note.gnu.property
Owner Data size Description
GNU 0x00000028 NT_GNU_PROPERTY_TYPE_0
Properties: by linker
x86 ISA used: <None>
x86 feature used: x86
Displaying notes found in: .note.gnu.build-id
Owner Data size Description
address@hidden tmp]$ gcc x.c -Wa,-mx86-used-note=yes -flto
address@hidden tmp]$ readelf -n a.out | head
readelf: Warning: Displaying notes found in: .note.gnu.build-id
Gap in build notes detected from 0x401127 to 0x40113f
Owner Data size Description
GNU 0x00000014 NT_GNU_BUILD_ID (unique build ID
bitstring)
Build ID: 6dd93c6a82611f13fcfcb0643b51077e49f27bcb
Displaying notes found in: .note.ABI-tag
Owner Data size Description
GNU 0x00000010 NT_GNU_ABI_TAG (ABI version tag)
OS: Linux, ABI: 3.2.0
address@hidden tmp]$
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/23929] New: Missing .note.gnu.property with -flto,
hjl.tools at gmail dot com <=