From a40a04601fb16b67bd6c61bb0d79e2c8f9736c9a Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Fri, 23 Feb 2024 11:59:09 +0100 Subject: x86: also permit YMM/ZMM use in CFI directives Next to code using %ymm or %zmm it is more natural to have .cfi_* directives also reference those, not the corresponding %xmm. Accept their names as kind of aliases, i.e. resolving to the same numbers. While extending the respective 64-bit testcase, also add %bnd there (should have happened right with 633789901c83 ["x86-64: Dwarf2 register numbers for %bnd"], sorry), requiring binutils/dwarf.c to be adjusted accordingly as well. --- binutils/dwarf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'binutils') 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 -- cgit v1.1