static const char *const dwarf_regnames_riscv[] =
{
- "zero", "ra", "sp", "gp", "tp", "t0", "t1", "t2", /* 0 - 7 */
- "s0", "s1", "a0", "a1", "a2", "a3", "a4", "a5", /* 8 - 15 */
- "a6", "a7", "s2", "s3", "s4", "s5", "s6", "s7", /* 16 - 23 */
- "s8", "s9", "s10", "s11", "t3", "t4", "t5", "t6", /* 24 - 31 */
- "ft0", "ft1", "ft2", "ft3", "ft4", "ft5", "ft6", "ft7", /* 32 - 39 */
- "fs0", "fs1", /* 40 - 41 */
- "fa0", "fa1", "fa2", "fa3", "fa4", "fa5", "fa6", "fa7", /* 42 - 49 */
- "fs2", "fs3", "fs4", "fs5", "fs6", "fs7", "fs8", "fs9", /* 50 - 57 */
- "fs10", "fs11", /* 58 - 59 */
- "ft8", "ft9", "ft10", "ft11" /* 60 - 63 */
+ "zero", "ra", "sp", "gp", "tp", "t0", "t1", "t2", /* 0 - 7 */
+ "s0", "s1", "a0", "a1", "a2", "a3", "a4", "a5", /* 8 - 15 */
+ "a6", "a7", "s2", "s3", "s4", "s5", "s6", "s7", /* 16 - 23 */
+ "s8", "s9", "s10", "s11", "t3", "t4", "t5", "t6", /* 24 - 31 */
+ "ft0", "ft1", "ft2", "ft3", "ft4", "ft5", "ft6", "ft7", /* 32 - 39 */
+ "fs0", "fs1", /* 40 - 41 */
+ "fa0", "fa1", "fa2", "fa3", "fa4", "fa5", "fa6", "fa7", /* 42 - 49 */
+ "fs2", "fs3", "fs4", "fs5", "fs6", "fs7", "fs8", "fs9", /* 50 - 57 */
+ "fs10", "fs11", /* 58 - 59 */
+ "ft8", "ft9", "ft10", "ft11", /* 60 - 63 */
+ NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, /* 64 - 71 */
+ NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, /* 72 - 79 */
+ NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, /* 80 - 87 */
+ NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, /* 88 - 95 */
+ "v0", "v1", "v2", "v3", "v4", "v5", "v6", "v7", /* 96 - 103 */
+ "v8", "v9", "v10", "v11", "v12", "v13", "v14", "v15", /* 104 - 111 */
+ "v16", "v17", "v18", "v19", "v20", "v21", "v22", "v23", /* 112 - 119 */
+ "v24", "v25", "v26", "v27", "v28", "v29", "v30", "v31", /* 120 - 127 */
};
/* A RISC-V replacement for REGNAME_INTERNAL_BY_TABLE_ONLY which handles
-#as: -march=rv32if
+#as: -march=rv32iv
#objdump: --dwarf=frames
DW_CFA_offset_extended_sf: r61 \(ft9\) at cfa\+248
DW_CFA_offset_extended_sf: r62 \(ft10\) at cfa\+252
DW_CFA_offset_extended_sf: r63 \(ft11\) at cfa\+256
+ DW_CFA_offset_extended_sf: r96 \(v0\) at cfa\+388
+ DW_CFA_offset_extended_sf: r97 \(v1\) at cfa\+392
+ DW_CFA_offset_extended_sf: r98 \(v2\) at cfa\+396
+ DW_CFA_offset_extended_sf: r99 \(v3\) at cfa\+400
+ DW_CFA_offset_extended_sf: r100 \(v4\) at cfa\+404
+ DW_CFA_offset_extended_sf: r101 \(v5\) at cfa\+408
+ DW_CFA_offset_extended_sf: r102 \(v6\) at cfa\+412
+ DW_CFA_offset_extended_sf: r103 \(v7\) at cfa\+416
+ DW_CFA_offset_extended_sf: r104 \(v8\) at cfa\+420
+ DW_CFA_offset_extended_sf: r105 \(v9\) at cfa\+424
+ DW_CFA_offset_extended_sf: r106 \(v10\) at cfa\+428
+ DW_CFA_offset_extended_sf: r107 \(v11\) at cfa\+432
+ DW_CFA_offset_extended_sf: r108 \(v12\) at cfa\+436
+ DW_CFA_offset_extended_sf: r109 \(v13\) at cfa\+440
+ DW_CFA_offset_extended_sf: r110 \(v14\) at cfa\+444
+ DW_CFA_offset_extended_sf: r111 \(v15\) at cfa\+448
+ DW_CFA_offset_extended_sf: r112 \(v16\) at cfa\+452
+ DW_CFA_offset_extended_sf: r113 \(v17\) at cfa\+456
+ DW_CFA_offset_extended_sf: r114 \(v18\) at cfa\+460
+ DW_CFA_offset_extended_sf: r115 \(v19\) at cfa\+464
+ DW_CFA_offset_extended_sf: r116 \(v20\) at cfa\+468
+ DW_CFA_offset_extended_sf: r117 \(v21\) at cfa\+472
+ DW_CFA_offset_extended_sf: r118 \(v22\) at cfa\+476
+ DW_CFA_offset_extended_sf: r119 \(v23\) at cfa\+480
+ DW_CFA_offset_extended_sf: r120 \(v24\) at cfa\+484
+ DW_CFA_offset_extended_sf: r121 \(v25\) at cfa\+488
+ DW_CFA_offset_extended_sf: r122 \(v26\) at cfa\+492
+ DW_CFA_offset_extended_sf: r123 \(v27\) at cfa\+496
+ DW_CFA_offset_extended_sf: r124 \(v28\) at cfa\+500
+ DW_CFA_offset_extended_sf: r125 \(v29\) at cfa\+504
+ DW_CFA_offset_extended_sf: r126 \(v30\) at cfa\+508
+ DW_CFA_offset_extended_sf: r127 \(v31\) at cfa\+512
#...