[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/24721] New: -Map generates corrupt .note.gnu.property section
From: |
hjl.tools at gmail dot com |
Subject: |
[Bug ld/24721] New: -Map generates corrupt .note.gnu.property section |
Date: |
Fri, 21 Jun 2019 22:29:51 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=24721
Bug ID: 24721
Summary: -Map generates corrupt .note.gnu.property section
Product: binutils
Version: 2.33 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: hjl.tools at gmail dot com
Target Milestone: ---
[hjl@gnu-cfl-1 ld]$ cat x.c
void
foo (void)
{
}
[hjl@gnu-cfl-1 ld]$ cat y.c
void
bar (void)
{
}
[hjl@gnu-cfl-1 ld]$ gcc -fPIC -c -fcf-protection x.c -Wa,-mx86-used-note=no
[hjl@gnu-cfl-1 ld]$ gcc -fPIC -c y.c -Wa,-mx86-used-note=no
[hjl@gnu-cfl-1 ld]$ ld -shared -o foo.so -Map libfoo.map y.o x.o
[hjl@gnu-cfl-1 ld]$ readelf -n foo.so
Displaying notes found in: .note.gnu.property
Owner Data size Description
GNU 0x00000000 NT_GNU_PROPERTY_TYPE_0
Properties: <corrupt GNU_PROPERTY_TYPE, size = 0>
[hjl@gnu-cfl-1 ld]$
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/24721] New: -Map generates corrupt .note.gnu.property section,
hjl.tools at gmail dot com <=