From: Daniel Jacobowitz Date: Thu, 4 May 2006 18:15:21 +0000 (+0000) Subject: * bfd/cpu-arm.c (bfd_is_arm_mapping_symbol_name): Accept more X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=efacb0fb7363ed9c22730e8726f3ccec162624e5;p=binutils-gdb.git * bfd/cpu-arm.c (bfd_is_arm_mapping_symbol_name): Accept more mapping symbols. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index fbba5b424a9..70a6227817e 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2006-05-04 Daniel Jacobowitz + + * bfd/cpu-arm.c (bfd_is_arm_mapping_symbol_name): Accept more + mapping symbols. + 2006-05-04 Ben Elliston * coff-or32.c (bfd_section_from_shdr): Remove unused local diff --git a/bfd/cpu-arm.c b/bfd/cpu-arm.c index a28a1f9e8fc..0f0da060976 100644 --- a/bfd/cpu-arm.c +++ b/bfd/cpu-arm.c @@ -405,11 +405,11 @@ bfd_boolean bfd_is_arm_mapping_symbol_name (const char * name) { /* The ARM compiler outputs several obsolete forms. Recognize them - in addition to the standard $a, $t and $d. */ + in addition to the standard $a, $t and $d. We are somewhat loose + in what we accept here, since the full set is not documented. */ return (name != NULL) && (name[0] == '$') - && ((name[1] == 'a') || (name[1] == 't') || (name[1] == 'd') - || (name[1] == 'm') || (name[1] == 'f') || (name[1] == 'p')) + && (name[1] >= 'a' && name[1] <= 'z') && (name[2] == 0 || name[2] == '.'); }