]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Backport:
authorDaniel Jacobowitz <drow@false.org>
Tue, 11 Apr 2006 15:54:53 +0000 (15:54 +0000)
committerDaniel Jacobowitz <drow@false.org>
Tue, 11 Apr 2006 15:54:53 +0000 (15:54 +0000)
2006-03-09  Paul Brook  <paul@codesourcery.com>
* bfd/cpu-arm.c (bfd_is_arm_mapping_symbol_name): Recognise additional
mapping symbols.

ChangeLog.csl
bfd/cpu-arm.c

index 0d1484b768ee904dcbccb93e567510624c8bd629..482adb08632a85f2f15854f0631b9972531a15e9 100644 (file)
@@ -1,3 +1,10 @@
+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
+       mapping symbols.
+
 2006-04-02  Daniel Jacobowitz  <dan@codesourcery.com>
 
        * Makefile.def (host_modules, dependencies): Add expat.
index 3f56e8f9a62f64ba589048561c83185bc6078cd9..a28a1f9e8fcfeb805722019ed6cd230a53237d58 100644 (file)
@@ -404,9 +404,12 @@ bfd_arm_get_mach_from_notes (bfd *abfd, const char *note_section)
 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.  */
   return (name != NULL)
     && (name[0] == '$')
-    && ((name[1] == 'a') || (name[1] == 't') || (name[1] == 'd'))
-    && (name[2] == 0);
+    && ((name[1] == 'a') || (name[1] == 't') || (name[1] == 'd')
+       || (name[1] == 'm') || (name[1] == 'f') || (name[1] == 'p'))
+    && (name[2] == 0 || name[2] == '.');
 }