2007-04-17 Paul Brook <paul@codesourcery.com>
authorPaul Brook <paul@codesourcery.com>
Tue, 17 Apr 2007 20:09:52 +0000 (20:09 +0000)
committerPaul Brook <paul@codesourcery.com>
Tue, 17 Apr 2007 20:09:52 +0000 (20:09 +0000)
commitfcb93ecfc25d0337944090414ed53da4dcdd6864
treeb5c44efa1f04197add1b10c2520b78cfb190553f
parent06f9a1af70ed2722e575203073271ae39c071def
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.
bfd/ChangeLog
bfd/elf-bfd.h
bfd/elf.c
bfd/elf32-arm.c
bfd/elflink.c
bfd/elfxx-target.h
ld/testsuite/ChangeLog
ld/testsuite/ld-arm/arm-elf.exp
ld/testsuite/ld-arm/preempt-app.s [new file with mode: 0644]
ld/testsuite/ld-arm/preempt-app.sym [new file with mode: 0644]