summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2006-04-11 16:33:08 +0000
committerDaniel Jacobowitz <dan@debian.org>2006-04-11 16:33:08 +0000
commit60e029d201326a4e7bd64d34efb3612447c086ff (patch)
tree7c8bb66e8c1b740dcef7da1320f6b219e2b98f6f
parent059e2a423c04846cebf4e8b5e98de210dbacec1f (diff)
downloadgdb-60e029d201326a4e7bd64d34efb3612447c086ff.tar.gz
* bfd/cpu-arm.c (bfd_is_arm_mapping_symbol_name): Accept moregdb-csl-symbian-20060226-branchpoint
mapping symbols.
-rw-r--r--ChangeLog.csl5
-rw-r--r--bfd/cpu-arm.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog.csl b/ChangeLog.csl
index 482adb08632..c610b84dcb0 100644
--- a/ChangeLog.csl
+++ b/ChangeLog.csl
@@ -1,5 +1,10 @@
2006-04-11 Daniel Jacobowitz <dan@codesourcery.com>
+ * bfd/cpu-arm.c (bfd_is_arm_mapping_symbol_name): Accept more
+ mapping symbols.
+
+2006-04-11 Daniel Jacobowitz <dan@codesourcery.com>
+
Backport:
2006-03-09 Paul Brook <paul@codesourcery.com>
* bfd/cpu-arm.c (bfd_is_arm_mapping_symbol_name): Recognise additional
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] == '.');
}