aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-hppa.h
diff options
context:
space:
mode:
authorRandolph Chung <tausq@debian.org>2006-10-30 01:09:18 +0000
committerRandolph Chung <tausq@debian.org>2006-10-30 01:09:18 +0000
commitc79b7c30b4d110404f27cca9ed19de4f0e5af14a (patch)
treec650b3fbbc0668c7a1d779f58d8ae3010bc3b614 /gas/config/tc-hppa.h
parent3091e75f27aa243a8c50c83bc93992f18d8bf9a7 (diff)
downloadgdb-c79b7c30b4d110404f27cca9ed19de4f0e5af14a.zip
gdb-c79b7c30b4d110404f27cca9ed19de4f0e5af14a.tar.gz
gdb-c79b7c30b4d110404f27cca9ed19de4f0e5af14a.tar.bz2
2006-10-29 Randolph Chung <tausq@debian.org>
* config/tc-hppa.c (hppa_cfi_frame_initial_instructions) (hppa_regname_to_dw2regnum): New funcions. * config/tc-hppa.h [OBJ_ELF] (TARGET_USE_CFIPOP): Define. (tc_cfi_frame_initial_instructions) (tc_regname_to_dw2regnum): Define. (hppa_cfi_frame_initial_instructions) (hppa_regname_to_dw2regnum): Declare. (DWARF2_LINE_MIN_INSN_LENGTH, DWARF2_DEFAULT_RETURN_COLUMN) (DWARF2_CIE_DATA_ALIGNMENT): Define.
Diffstat (limited to 'gas/config/tc-hppa.h')
-rw-r--r--gas/config/tc-hppa.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/gas/config/tc-hppa.h b/gas/config/tc-hppa.h
index 25e74f0..f7bc8f8 100644
--- a/gas/config/tc-hppa.h
+++ b/gas/config/tc-hppa.h
@@ -201,4 +201,22 @@ int hppa_force_reg_syms_absolute (expressionS *, operatorT, expressionS *);
#define TC_FIX_TYPE PTR
#define TC_INIT_FIX_DATA(FIX) ((FIX)->tc_fix_data = NULL)
+#ifdef OBJ_ELF
+#define TARGET_USE_CFIPOP 1
+
+#define tc_cfi_frame_initial_instructions hppa_cfi_frame_initial_instructions
+extern void hppa_cfi_frame_initial_instructions (void);
+
+#define tc_regname_to_dw2regnum hppa_regname_to_dw2regnum
+extern int hppa_regname_to_dw2regnum (char *regname);
+
+#define DWARF2_LINE_MIN_INSN_LENGTH 4
+#define DWARF2_DEFAULT_RETURN_COLUMN 2
+#if TARGET_ARCH_SIZE == 64
+#define DWARF2_CIE_DATA_ALIGNMENT -8
+#else
+#define DWARF2_CIE_DATA_ALIGNMENT -4
+#endif
+#endif
+
#endif /* _TC_HPPA_H */