diff options
author | Julian Brown <julian@codesourcery.com> | 2005-03-29 16:29:09 +0000 |
---|---|---|
committer | Julian Brown <julian@codesourcery.com> | 2005-03-29 16:29:09 +0000 |
commit | 84798bd6b6da79bc96633b981573ededa9727d44 (patch) | |
tree | c05aa6c561222a2dcea729fba49428fa563a1863 /gas/config/tc-arm.h | |
parent | ec72cfe589400f06810a571ce4d7f45fb6e19621 (diff) | |
download | gdb-84798bd6b6da79bc96633b981573ededa9727d44.zip gdb-84798bd6b6da79bc96633b981573ededa9727d44.tar.gz gdb-84798bd6b6da79bc96633b981573ededa9727d44.tar.bz2 |
* gas/config/tc-arm.c (marked_pr_dependency): New bitmap, bit N
indicates whether personality routine index N has been output for this
section.
(mapping_state): tc_segment_info_data now struct not enum.
(arm_elf_change_section): Likewise, and marked_pr_dependency is now
handled on section change.
(create_unwind_entry): Previous code to output dependency removed.
(s_arm_unwind_fnend): Output dependency if it hasn't been done already
for this section.
* gas/config/tc-arm.h (TC_SEGMENT_INFO_TYPE): Redefined as struct
arm_segment_info_type.
(arm_segment_info_type): New struct.
* gas/testsuite/gas/arm/unwind.d: Update expected output.
Diffstat (limited to 'gas/config/tc-arm.h')
-rw-r--r-- | gas/config/tc-arm.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gas/config/tc-arm.h b/gas/config/tc-arm.h index f205dff..e3c05b3 100644 --- a/gas/config/tc-arm.h +++ b/gas/config/tc-arm.h @@ -170,7 +170,7 @@ struct fix; # define md_elf_section_type(str, len) arm_elf_section_type (str, len) # define GLOBAL_OFFSET_TABLE_NAME "_GLOBAL_OFFSET_TABLE_" # define LOCAL_LABEL_PREFIX '.' -# define TC_SEGMENT_INFO_TYPE enum mstate +# define TC_SEGMENT_INFO_TYPE struct arm_segment_info_type enum mstate { @@ -180,6 +180,12 @@ enum mstate MAP_THUMB }; +struct arm_segment_info_type +{ + enum mstate mapstate; + unsigned int marked_pr_dependency; +}; + /* We want .cfi_* pseudo-ops for generating unwind info. */ #define TARGET_USE_CFIPOP 1 |