aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-arm.h
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2009-08-07 19:30:31 +0000
committerDaniel Jacobowitz <drow@false.org>2009-08-07 19:30:31 +0000
commit940b5ce0998a436a5e414250ab8fa9a25138c839 (patch)
tree0baeacd6ca529e30c35dfab2aabfd6c9da2ffa31 /gas/config/tc-arm.h
parentddd3c53c3d15eefc6edb664887eba9502eda5c44 (diff)
downloadgdb-940b5ce0998a436a5e414250ab8fa9a25138c839.zip
gdb-940b5ce0998a436a5e414250ab8fa9a25138c839.tar.gz
gdb-940b5ce0998a436a5e414250ab8fa9a25138c839.tar.bz2
gas/
* config/tc-arm.c (marked_pr_dependency, mapstate): Delete global variables. (mapping_state): Use the section's mapstate. (mapping_state_2): Likewise. Skip special sections. (s_arm_unwind_fnend): Use the section's marked_pr_dependency. (arm_elf_change_section): Do not set deleted globals. * config/tc-arm.h (struct arm_segment_info_type): Document marked_pr_dependency. gas/testsuite/ * gas/arm/mapping2.s: Test code after .ident.
Diffstat (limited to 'gas/config/tc-arm.h')
-rw-r--r--gas/config/tc-arm.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gas/config/tc-arm.h b/gas/config/tc-arm.h
index d386770..2a85afd 100644
--- a/gas/config/tc-arm.h
+++ b/gas/config/tc-arm.h
@@ -272,7 +272,12 @@ void mapping_state (enum mstate);
struct arm_segment_info_type
{
enum mstate mapstate;
+
+ /* Bit N indicates that an R_ARM_NONE relocation has been output for
+ __aeabi_unwind_cpp_prN already if set. This enables dependencies to be
+ emitted only once per section, to save unnecessary bloat. */
unsigned int marked_pr_dependency;
+
struct current_it current_it;
};