Re: [RFC] ARM binutils feature churn causing kernel problems

Catalin Marinas
2004-10-04T12:02:41Z

Russell,

Russell King <rmk+lkml@arm.linux.org.uk> writes:
> + * This ignores the intensely annoying "mapping symbols" found
> + * in ARM ELF files: $a, $t and $d.
> + */
> +static inline int is_arm_mapping_symbol(const char *str)
> +{
> + return str[0] == '$' && strchr("atd", str[1]) && str[2] == '\0';

str[2] can be '\0' or '.', since a mapping symbol can also be
$[atd].<any> (because binutils doesn't like to generate duplicate
local labels).

Catalin