This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/23797] New: Different constants/names for GNU_PROPERTY_X86_ISA types and features in glibc elf.h and binutils
- From: "mark at klomp dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 19 Oct 2018 11:56:29 +0000
- Subject: [Bug libc/23797] New: Different constants/names for GNU_PROPERTY_X86_ISA types and features in glibc elf.h and binutils
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=23797
Bug ID: 23797
Summary: Different constants/names for GNU_PROPERTY_X86_ISA
types and features in glibc elf.h and binutils
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: libc
Assignee: unassigned at sourceware dot org
Reporter: mark at klomp dot org
CC: drepper.fsp at gmail dot com, hjl.tools at gmail dot com
Target Milestone: ---
I am adding support for GNU Property ELF notes to elfutils based on the glibc
elf.h names/constants, but it looks like various GNU_PROPERTY_X86_ISA_* types
and features are either named different or have different constant values
compared to the ones used in binutils. This makes it hard to know how to
interpret the property data.
Some random examples, GNU_PROPERTY_X86_ISA_1_USED has a different value as does
GNU_PROPERTY_X86_ISA_1_AVX512F, GNU_PROPERTY_X86_ISA_1_486 in glibc is called
GNU_PROPERTY_X86_ISA_1_CMOV in binutils. Also within binutils the constants in
elfcpp/elfcpp.h and include/elf/common.h seem to not match up.
Could they be synced up again or would that break backwards compatibility?
--
You are receiving this mail because:
You are on the CC list for the bug.