This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH 0/2] x86: Update GNU_PROPERTY_X86_XXX macros
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: binutils at sourceware dot org
- Date: Fri, 17 Aug 2018 04:36:39 -0700
- Subject: [PATCH 0/2] x86: Update GNU_PROPERTY_X86_XXX macros
This set of patches implements new GNU_PROPERTY_X86_XXX macros
proposed in:
https://groups.google.com/forum/#!topic/x86-64-abi/-D05GQ3kWrA
H.J. Lu (2):
x86: Add GNU_PROPERTY_X86_UINT32_VALID
x86: Update GNU_PROPERTY_X86_XXX macros
bfd/elfxx-x86.c | 145 ++++----
binutils/readelf.c | 317 +++++++++++++++---
.../testsuite/binutils-all/i386/pr21231b.d | 4 +-
.../testsuite/binutils-all/i386/pr21231b.s | 4 +-
.../testsuite/binutils-all/x86-64/pr21231b.d | 4 +-
.../testsuite/binutils-all/x86-64/pr21231b.s | 4 +-
.../binutils-all/x86-64/pr23494a-x32.d | 4 +-
.../testsuite/binutils-all/x86-64/pr23494a.d | 4 +-
.../testsuite/binutils-all/x86-64/pr23494a.s | 6 +-
.../testsuite/binutils-all/x86-64/pr23494b.s | 2 +-
.../binutils-all/x86-64/pr23494c-x32.d | 2 +-
.../testsuite/binutils-all/x86-64/pr23494c.d | 2 +-
.../testsuite/binutils-all/x86-64/pr23494c.s | 6 +-
.../binutils-all/x86-64/pr23494d-x32.d | 4 +-
.../testsuite/binutils-all/x86-64/pr23494d.d | 4 +-
.../binutils-all/x86-64/pr23494e-x32.d | 4 +-
.../testsuite/binutils-all/x86-64/pr23494e.d | 4 +-
include/elf/common.h | 117 +++++--
ld/testsuite/ld-i386/i386.exp | 4 +
ld/testsuite/ld-i386/pr23372a.s | 2 +-
ld/testsuite/ld-i386/pr23372b.s | 2 +-
ld/testsuite/ld-i386/pr23372c.d | 5 +
ld/testsuite/ld-i386/pr23372c.s | 2 +-
ld/testsuite/ld-i386/pr23372d.d | 5 +
ld/testsuite/ld-i386/pr23486c.d | 10 +
ld/testsuite/ld-i386/pr23486d.d | 10 +
ld/testsuite/ld-i386/property-3.r | 2 +-
ld/testsuite/ld-i386/property-4.r | 2 +-
ld/testsuite/ld-i386/property-5.r | 2 +-
ld/testsuite/ld-i386/property-x86-1.S | 4 +-
ld/testsuite/ld-i386/property-x86-2.S | 4 +-
ld/testsuite/ld-i386/property-x86-3.d | 4 +-
ld/testsuite/ld-i386/property-x86-3.s | 8 +-
ld/testsuite/ld-i386/property-x86-ibt3a.d | 2 +-
ld/testsuite/ld-i386/property-x86-ibt3b.d | 2 +-
ld/testsuite/ld-i386/property-x86-shstk3a.d | 2 +-
ld/testsuite/ld-i386/property-x86-shstk3b.d | 2 +-
ld/testsuite/ld-x86-64/pr23372a.s | 2 +-
ld/testsuite/ld-x86-64/pr23372b.s | 2 +-
ld/testsuite/ld-x86-64/pr23372c-x32.d | 5 +
ld/testsuite/ld-x86-64/pr23372c.d | 5 +
ld/testsuite/ld-x86-64/pr23372c.s | 2 +-
ld/testsuite/ld-x86-64/pr23372d-x32.d | 5 +
ld/testsuite/ld-x86-64/pr23372d.d | 5 +
ld/testsuite/ld-x86-64/pr23372d.s | 30 ++
ld/testsuite/ld-x86-64/pr23372e.s | 30 ++
ld/testsuite/ld-x86-64/pr23372f.s | 30 ++
ld/testsuite/ld-x86-64/pr23486a.s | 2 +-
ld/testsuite/ld-x86-64/pr23486b.s | 2 +-
ld/testsuite/ld-x86-64/pr23486c-x32.d | 10 +
ld/testsuite/ld-x86-64/pr23486c.d | 10 +
ld/testsuite/ld-x86-64/pr23486c.s | 30 ++
ld/testsuite/ld-x86-64/pr23486d-x32.d | 10 +
ld/testsuite/ld-x86-64/pr23486d.d | 10 +
ld/testsuite/ld-x86-64/pr23486d.s | 30 ++
ld/testsuite/ld-x86-64/property-3.r | 2 +-
ld/testsuite/ld-x86-64/property-4.r | 2 +-
ld/testsuite/ld-x86-64/property-5.r | 2 +-
ld/testsuite/ld-x86-64/property-x86-1.S | 4 +-
ld/testsuite/ld-x86-64/property-x86-2.S | 4 +-
ld/testsuite/ld-x86-64/property-x86-3-x32.d | 4 +-
ld/testsuite/ld-x86-64/property-x86-3.d | 4 +-
ld/testsuite/ld-x86-64/property-x86-3.s | 8 +-
.../ld-x86-64/property-x86-ibt3a-x32.d | 2 +-
ld/testsuite/ld-x86-64/property-x86-ibt3a.d | 2 +-
.../ld-x86-64/property-x86-ibt3b-x32.d | 2 +-
ld/testsuite/ld-x86-64/property-x86-ibt3b.d | 2 +-
.../ld-x86-64/property-x86-shstk3a-x32.d | 2 +-
ld/testsuite/ld-x86-64/property-x86-shstk3a.d | 2 +-
.../ld-x86-64/property-x86-shstk3b-x32.d | 2 +-
ld/testsuite/ld-x86-64/property-x86-shstk3b.d | 2 +-
ld/testsuite/ld-x86-64/x86-64.exp | 8 +
72 files changed, 776 insertions(+), 209 deletions(-)
create mode 100644 ld/testsuite/ld-i386/pr23372c.d
create mode 100644 ld/testsuite/ld-i386/pr23372d.d
create mode 100644 ld/testsuite/ld-i386/pr23486c.d
create mode 100644 ld/testsuite/ld-i386/pr23486d.d
create mode 100644 ld/testsuite/ld-x86-64/pr23372c-x32.d
create mode 100644 ld/testsuite/ld-x86-64/pr23372c.d
create mode 100644 ld/testsuite/ld-x86-64/pr23372d-x32.d
create mode 100644 ld/testsuite/ld-x86-64/pr23372d.d
create mode 100644 ld/testsuite/ld-x86-64/pr23372d.s
create mode 100644 ld/testsuite/ld-x86-64/pr23372e.s
create mode 100644 ld/testsuite/ld-x86-64/pr23372f.s
create mode 100644 ld/testsuite/ld-x86-64/pr23486c-x32.d
create mode 100644 ld/testsuite/ld-x86-64/pr23486c.d
create mode 100644 ld/testsuite/ld-x86-64/pr23486c.s
create mode 100644 ld/testsuite/ld-x86-64/pr23486d-x32.d
create mode 100644 ld/testsuite/ld-x86-64/pr23486d.d
create mode 100644 ld/testsuite/ld-x86-64/pr23486d.s
--
2.17.1