This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/23797] New: Different constants/names for GNU_PROPERTY_X86_ISA types and features in glibc elf.h and binutils


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]