[patch] Arm BE8 mode and mapping sybols
Paul Brook
paul@codesourcery.com
Tue May 9 19:06:00 GMT 2006
> There have only ever been three mapping symbols: $a, $t and $d. The
> remainder have always been 'tagging' symbols. Maybe the routine should
> be renamed to bfd_is_arm_special_symbol name and then given an argument
> TYPE_MAP, TYPE_TAG or TYPE_ANY.
Something like this?
Paul
2006-05-09 Paul Brook <paul@codesourcery.com>
bfd/
* cpu-arm.c (bfd_is_arm_mapping_symbol_name): Rename ...
(bfd_is_arm_special_symbol_name): ... to this. Add type argument.
Check symbol name is of specified type.
* elf32-arm.c (elf32_arm_is_target_special_symbol,
arm_elf_find_function, elf32_arm_output_symbol_hook): Use
bfd_is_arm_special_symbol_name.
* bfd-in.h (BFD_ARM_SPECIAL_SYM_TYPE_MAP,
BFD_ARM_SPECIAL_SYM_TYPE_TAG, BFD_ARM_SPECIAL_SYM_TYPE_OTHER,
BFD_ARM_SPECIAL_SYM_TYPE_ANY): Define.
(bfd_is_arm_mapping_symbol_name): Remove prototype.
(bfd_is_arm_special_symbol_name): Add prototype.
* bfd-in2.h: Regenerate.
gas/
* config/tc-arm.c (arm_adjust_symtab): Use
bfd_is_arm_special_symbol_name.
ld/testsuite/
* ld-arm/arm-be8.d: New test.
* ld-arm/arm-be8.s: New test.
* ld-arm/arm-elf.exp: Add arm-be8.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.map_obsolete
Type: text/x-diff
Size: 5920 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20060509/cce92f25/attachment.bin>
More information about the Binutils
mailing list