diff options
author | Daniel Jacobowitz <drow@false.org> | 2006-05-04 18:15:21 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2006-05-04 18:15:21 +0000 |
commit | efacb0fb7363ed9c22730e8726f3ccec162624e5 (patch) | |
tree | fcaac4e8608d73a80c40b6b9221bc3cc715bb04f /bfd/cpu-arm.c | |
parent | 088fa78ea05bf3a6da2a92a9c45b1b76cc59a127 (diff) | |
download | gdb-efacb0fb7363ed9c22730e8726f3ccec162624e5.zip gdb-efacb0fb7363ed9c22730e8726f3ccec162624e5.tar.gz gdb-efacb0fb7363ed9c22730e8726f3ccec162624e5.tar.bz2 |
* bfd/cpu-arm.c (bfd_is_arm_mapping_symbol_name): Accept more
mapping symbols.
Diffstat (limited to 'bfd/cpu-arm.c')
-rw-r--r-- | bfd/cpu-arm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bfd/cpu-arm.c b/bfd/cpu-arm.c index a28a1f9..0f0da06 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] == '.'); } |