static bool call36 = 0;
+/* The dwarf2 data alignment, adjusted for 32 or 64 bit. */
+int loongarch_cie_data_alignment;
+
/* The lowest 4-bit is the bytes of instructions. */
#define RELAX_BRANCH_16 0xc0000014
#define RELAX_BRANCH_21 0xc0000024
/* FIXME: expressionS use 'offsetT' as constant,
* we want this is 64-bit type. */
assert (8 <= sizeof (offsetT));
+
+ loongarch_cie_data_alignment = LARCH_opts.ase_lp64 ? (-8) : (-4);
}
/* Called just before the assembler exits. */
FDE Code Alignment Factor (DWARF2_LINE_MIN_INSN_LENGTH) should be 1
because DW_CFA_advance_loc need to be relocated in bytes
when linker relaxation. */
-#define DWARF2_CIE_DATA_ALIGNMENT (-8)
+extern int loongarch_cie_data_alignment;
+#define DWARF2_CIE_DATA_ALIGNMENT loongarch_cie_data_alignment
#define DWARF2_DEFAULT_RETURN_COLUMN 1 /* FDE Return Address Register. */
#define tc_cfi_frame_initial_instructions \