aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-s390.h
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2003-07-10 16:46:38 +0000
committerJakub Jelinek <jakub@redhat.com>2003-07-10 16:46:38 +0000
commit75e21f08dc057f373ed4b9c76ddc54b2e3a0ee9d (patch)
treecf79f4f416894f9a845e34c59453f1e463fba3ed /gas/config/tc-s390.h
parenteff26f7814f8020f59ea8819f2cb836c4dba2f84 (diff)
downloadgdb-75e21f08dc057f373ed4b9c76ddc54b2e3a0ee9d.zip
gdb-75e21f08dc057f373ed4b9c76ddc54b2e3a0ee9d.tar.gz
gdb-75e21f08dc057f373ed4b9c76ddc54b2e3a0ee9d.tar.bz2
* config/tc-ppc.h (DWARF2_LINE_MIN_INSN_LENGTH): Define always.
(TARGET_USE_CFIPOP, tc_cfi_frame_initial_instructions, tc_regname_to_dw2regnum, DWARF2_DEFAULT_RETURN_COLUMN, DWARF2_CIE_DATA_ALIGNMENT): Define. (ppc_cfi_frame_initial_instructions, tc_ppc_regname_to_dw2regnum): New prototypes. (ppc_cie_data_alignment): Declare. * config/tc-ppc.c: Include dw2gencfi.h. (ppc_cie_data_alignment): Define. (md_begin): Initialize ppc_cie_data_alignment. (ppc_cfi_frame_initial_instructions, tc_ppc_regname_to_dw2regnum): New functions. * config/tc-s390.h (DWARF2_LINE_MIN_INSN_LENGTH): Define always. (TARGET_USE_CFIPOP, tc_cfi_frame_initial_instructions, tc_regname_to_dw2regnum, DWARF2_DEFAULT_RETURN_COLUMN, DWARF2_CIE_DATA_ALIGNMENT): Define. (s390_cfi_frame_initial_instructions, tc_s390_regname_to_dw2regnum): New prototypes. (s390_cie_data_alignment): Declare. * config/tc-s390.c: Include dw2gencfi.h. (s390_cie_data_alignment): Define. (md_begin): Initialize s390_cie_data_alignment. (s390_cfi_frame_initial_instructions, tc_s390_regname_to_dw2regnum): New functions. * gas/cfi/cfi-ppc-1.s: New test. * gas/cfi/cfi-ppc-1.d: New test. * gas/cfi/cfi-s390-1.s: New test. * gas/cfi/cfi-s390-1.s: New test. * gas/cfi/cfi-s390x-1.s: New test. * gas/cfi/cfi-s390x-1.s: New test. * gas/cfi/cfi.exp: Run them.
Diffstat (limited to 'gas/config/tc-s390.h')
-rw-r--r--gas/config/tc-s390.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/gas/config/tc-s390.h b/gas/config/tc-s390.h
index ed4d5506..a416927 100644
--- a/gas/config/tc-s390.h
+++ b/gas/config/tc-s390.h
@@ -102,3 +102,17 @@ extern long md_pcrel_from_section PARAMS ((struct fix *, segT));
extern void s390_md_end PARAMS ((void));
#define md_end() s390_md_end ()
+
+#define TARGET_USE_CFIPOP 1
+
+#define tc_cfi_frame_initial_instructions s390_cfi_frame_initial_instructions
+extern void s390_cfi_frame_initial_instructions PARAMS ((void));
+
+#define tc_regname_to_dw2regnum tc_s390_regname_to_dw2regnum
+extern int tc_s390_regname_to_dw2regnum PARAMS ((const char *regname));
+
+extern int s390_cie_data_alignment;
+
+#define DWARF2_LINE_MIN_INSN_LENGTH 1
+#define DWARF2_DEFAULT_RETURN_COLUMN 14
+#define DWARF2_CIE_DATA_ALIGNMENT s390_cie_data_alignment