2006-05-15 Paul Brook <paul@codesourcery.com>
authorPaul Brook <paul@codesourcery.com>
Mon, 15 May 2006 20:46:24 +0000 (20:46 +0000)
committerPaul Brook <paul@codesourcery.com>
Mon, 15 May 2006 20:46:24 +0000 (20:46 +0000)
commit8327626861f3c71374c4b93fb3fd2fdc500d5b28
treed69fd36bdc10c5feca5a0723490d63d58d8095d5
parenta54c929db72732c4ed4804292f089dd1423bbc31
2006-05-15  Paul Brook  <paul@codesourcery.com>

Backport from mainline.
* 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.
* bfd/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/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/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/testsuite/ld-arm/arm-be8.s: New test.
* ld/testsuite/ld-arm/arm-elf.exp: Add arm-be8.
ChangeLog.csl
bfd/bfd-in.h
bfd/bfd-in2.h
bfd/cpu-arm.c
bfd/elf32-arm.c
gas/config/tc-arm.c
ld/testsuite/ld-arm/arm-elf.exp