diff options
author | Paul Brook <paul@codesourcery.com> | 2007-04-17 20:09:52 +0000 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2007-04-17 20:09:52 +0000 |
commit | fcb93ecfc25d0337944090414ed53da4dcdd6864 (patch) | |
tree | b5c44efa1f04197add1b10c2520b78cfb190553f /bfd/elfxx-target.h | |
parent | 06f9a1af70ed2722e575203073271ae39c071def (diff) | |
download | gdb-fcb93ecfc25d0337944090414ed53da4dcdd6864.zip gdb-fcb93ecfc25d0337944090414ed53da4dcdd6864.tar.gz gdb-fcb93ecfc25d0337944090414ed53da4dcdd6864.tar.bz2 |
2007-04-17 Paul Brook <paul@codesourcery.com>
bfd/
* elf.c (_bfd_elf_is_function_type): New function.
* elflink.c (_bfd_elf_merge_symbol): Use bed->is_function_type.
(_bfd_elf_dynamic_symbol_p, _bfd_elf_symbol_refs_local_p,
is_global_data_symbol_definition, elf_link_add_object_symbols): Ditto.
* elf-bfd.h (elf_backend_data): Add is_function_type.
(_bfd_elf_is_function_type): Add prototype.
* elfxx-target.h (elf_backend_is_function_type): Add default
definition.
(elfNN_bed): Add elf_backend_is_function_type.
* elf32-arm.c (elf32_arm_is_function_type): New function.
(elf_backend_is_function_type): Define.
ld/testsuite/
* ld-arm/preempt-app.s: New test.
* ld-arm/preempt-app.sym: New.
* ld-arm/arm-elf.exp: Add preempt-app.
Diffstat (limited to 'bfd/elfxx-target.h')
-rw-r--r-- | bfd/elfxx-target.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bfd/elfxx-target.h b/bfd/elfxx-target.h index ea21b62..7b14781 100644 --- a/bfd/elfxx-target.h +++ b/bfd/elfxx-target.h @@ -587,6 +587,10 @@ #define elf_backend_hash_symbol _bfd_elf_hash_symbol #endif +#ifndef elf_backend_is_function_type +#define elf_backend_is_function_type _bfd_elf_is_function_type +#endif + extern const struct elf_size_info _bfd_elfNN_size_info; static struct elf_backend_data elfNN_bed = @@ -672,6 +676,7 @@ static struct elf_backend_data elfNN_bed = elf_backend_common_section, elf_backend_merge_symbol, elf_backend_hash_symbol, + elf_backend_is_function_type, elf_backend_link_order_error_handler, elf_backend_relplt_name, ELF_MACHINE_ALT1, |