diff options
author | Paul Brook <paul@codesourcery.com> | 2006-05-15 19:57:35 +0000 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2006-05-15 19:57:35 +0000 |
commit | b07969118378598261be761f87630385a7627879 (patch) | |
tree | e37af3c7597e738eabce65b7b9c4222af874524e /gas | |
parent | 4e8d927dded819785e749c571f5b6a495a425432 (diff) | |
download | gdb-b07969118378598261be761f87630385a7627879.zip gdb-b07969118378598261be761f87630385a7627879.tar.gz gdb-b07969118378598261be761f87630385a7627879.tar.bz2 |
2006-05-15 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.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/config/tc-arm.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 60358aa..1b9b1dd 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2006-05-15 Paul Brook <paul@codesourcery.com> + + * config/tc-arm.c (arm_adjust_symtab): Use + bfd_is_arm_special_symbol_name. + 2006-05-15 Bob Wilson <bob.wilson@acm.org> * config/tc-xtensa.c (is_direct_call_opcode, is_branch_jmp_to_next, diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index 8d19407..a63b3da 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -17353,7 +17353,8 @@ arm_adjust_symtab (void) elf_sym = elf_symbol (symbol_get_bfdsym (sym)); bind = ELF_ST_BIND (elf_sym->internal_elf_sym.st_info); - if (! bfd_is_arm_mapping_symbol_name (elf_sym->symbol.name)) + if (! bfd_is_arm_special_symbol_name (elf_sym->symbol.name, + BFD_ARM_SPECIAL_SYM_TYPE_ANY)) { /* If it's a .thumb_func, declare it as so, otherwise tag label as .code 16. */ |