aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-m68k.h
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2003-08-08 14:46:41 +0000
committerAndreas Schwab <schwab@linux-m68k.org>2003-08-08 14:46:41 +0000
commitc04898f807516f8361a4ec6f55b984bdf0955f7e (patch)
tree6a90d5b09ae4147038486dfddb9130bd4785f0a2 /gas/config/tc-m68k.h
parent9a146a111fcdf46255451553ef8be9bb571e5853 (diff)
downloadgdb-c04898f807516f8361a4ec6f55b984bdf0955f7e.zip
gdb-c04898f807516f8361a4ec6f55b984bdf0955f7e.tar.gz
gdb-c04898f807516f8361a4ec6f55b984bdf0955f7e.tar.bz2
gas/
* config/tc-m68k.h (TARGET_USE_CFIPOP) (DWARF2_DEFAULT_RETURN_COLUMN, DWARF2_CIE_DATA_ALIGNMENT) (tc_regname_to_dw2regnum, tc_cfi_frame_initial_instructions): Define. * config/tc-m68k.c: Include "dw2gencfi.h". (tc_m68k_regname_to_dw2regnum) (tc_m68k_frame_initial_instructions): New functions. gas/testsuite/ * gas/cfi/cfi-m68k.s, gas/cfi/cfi-m68k.d: New test. * gas/cfi/cfi.exp (run_list_test): Run it.
Diffstat (limited to 'gas/config/tc-m68k.h')
-rw-r--r--gas/config/tc-m68k.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/gas/config/tc-m68k.h b/gas/config/tc-m68k.h
index 4770300..1182820 100644
--- a/gas/config/tc-m68k.h
+++ b/gas/config/tc-m68k.h
@@ -220,3 +220,15 @@ extern struct relax_type md_relax_table[];
while (0)
#define DWARF2_LINE_MIN_INSN_LENGTH 2
+
+/* We want .cfi_* pseudo-ops for generating unwind info. */
+#define TARGET_USE_CFIPOP 1
+
+#define DWARF2_DEFAULT_RETURN_COLUMN 24
+#define DWARF2_CIE_DATA_ALIGNMENT (-4)
+
+#define tc_regname_to_dw2regnum tc_m68k_regname_to_dw2regnum
+extern int tc_m68k_regname_to_dw2regnum (const char *regname);
+
+#define tc_cfi_frame_initial_instructions tc_m68k_frame_initial_instructions
+extern void tc_m68k_frame_initial_instructions (void);