diff options
author | Nick Clifton <nickc@redhat.com> | 2004-10-25 12:26:04 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2004-10-25 12:26:04 +0000 |
commit | a394c00fe601094be18607099c3e92f0c9ea783d (patch) | |
tree | 02d9ecd4a25731c230386c41de0bcd34be863d01 /gas/config/tc-arm.h | |
parent | d79b3d5057332a6e4181cab6e53d7371612c66a7 (diff) | |
download | gdb-a394c00fe601094be18607099c3e92f0c9ea783d.zip gdb-a394c00fe601094be18607099c3e92f0c9ea783d.tar.gz gdb-a394c00fe601094be18607099c3e92f0c9ea783d.tar.bz2 |
Add ARM CFI support
Diffstat (limited to 'gas/config/tc-arm.h')
-rw-r--r-- | gas/config/tc-arm.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/gas/config/tc-arm.h b/gas/config/tc-arm.h index fb8ca8d..55f4558 100644 --- a/gas/config/tc-arm.h +++ b/gas/config/tc-arm.h @@ -180,6 +180,19 @@ enum mstate MAP_THUMB }; +/* We want .cfi_* pseudo-ops for generating unwind info. */ +#define TARGET_USE_CFIPOP 1 + +/* The lr register is r14. */ +#define DWARF2_DEFAULT_RETURN_COLUMN 14 + +/* Registers are generally saved at negative offsets to the CFA. */ +#define DWARF2_CIE_DATA_ALIGNMENT -4 + +/* CFI hooks. */ +#define tc_regname_to_dw2regnum tc_arm_regname_to_dw2regnum +#define tc_cfi_frame_initial_instructions tc_arm_frame_initial_instructions + #else /* Not OBJ_ELF. */ #define GLOBAL_OFFSET_TABLE_NAME "__GLOBAL_OFFSET_TABLE_" #endif @@ -211,4 +224,5 @@ extern void arm_init_frag (struct frag *); extern void arm_handle_align (struct frag *); extern bfd_boolean arm_fix_adjustable (struct fix *); extern int arm_elf_section_type (const char *, size_t); - +extern int tc_arm_regname_to_dw2regnum (const char *regname); +extern void tc_arm_frame_initial_instructions (void); |