* bfd/cpu-arm.c (bfd_is_arm_mapping_symbol_name): Accept more
mapping symbols.
This commit is contained in:
parent
088fa78ea0
commit
efacb0fb73
2 changed files with 8 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
2006-05-04 Daniel Jacobowitz <dan@codesourcery.com>
|
||||
|
||||
* bfd/cpu-arm.c (bfd_is_arm_mapping_symbol_name): Accept more
|
||||
mapping symbols.
|
||||
|
||||
2006-05-04 Ben Elliston <bje@au.ibm.com>
|
||||
|
||||
* coff-or32.c (bfd_section_from_shdr): Remove unused local
|
||||
|
|
|
@ -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] == '.');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue