aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2024-02-23 11:59:09 +0100
committerJan Beulich <jbeulich@suse.com>2024-02-23 11:59:09 +0100
commita40a04601fb16b67bd6c61bb0d79e2c8f9736c9a (patch)
tree7b5e48f26940dce9d372386c2ddacdc5c00e90b2 /binutils
parent2f630f60b5d91b83cbfd6c3ffc33da065bca2fa7 (diff)
downloadbinutils-a40a04601fb16b67bd6c61bb0d79e2c8f9736c9a.zip
binutils-a40a04601fb16b67bd6c61bb0d79e2c8f9736c9a.tar.gz
binutils-a40a04601fb16b67bd6c61bb0d79e2c8f9736c9a.tar.bz2
x86: also permit YMM/ZMM use in CFI directives
Next to code using %ymm<N> or %zmm<N> it is more natural to have .cfi_* directives also reference those, not the corresponding %xmm<N>. Accept their names as kind of aliases, i.e. resolving to the same numbers. While extending the respective 64-bit testcase, also add %bnd<N> there (should have happened right with 633789901c83 ["x86-64: Dwarf2 register numbers for %bnd<N>"], sorry), requiring binutils/dwarf.c to be adjusted accordingly as well.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/dwarf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/binutils/dwarf.c b/binutils/dwarf.c
index 1947ab1..1491e8d 100644
--- a/binutils/dwarf.c
+++ b/binutils/dwarf.c
@@ -8654,7 +8654,8 @@ static const char *const dwarf_regnames_x86_64[] =
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, /* 99 - 106 */
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, /* 107 - 114 */
NULL, NULL, NULL, /* 115 - 117 */
- "k0", "k1", "k2", "k3", "k4", "k5", "k6", "k7"
+ "k0", "k1", "k2", "k3", "k4", "k5", "k6", "k7",
+ "bnd0", "bnd1", "bnd2", "bnd3",
};
static void