fcb93ecfc2
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.
17 lines
909 B
Plaintext
17 lines
909 B
Plaintext
|
|
Symbol table for image:
|
|
Num Buc: Value Size Type Bind Vis Ndx Name
|
|
.. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS _edata
|
|
.. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS __bss_start__
|
|
.. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS _end
|
|
.. ..: ........ 4 OBJECT GLOBAL DEFAULT 10 data_obj
|
|
.. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS __bss_end__
|
|
.. ..: .......1 20 FUNC GLOBAL DEFAULT 6 lib_func1
|
|
.. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS __exidx_start
|
|
.. ..: ........ 0 NOTYPE GLOBAL DEFAULT 9 __data_start
|
|
.. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS __end__
|
|
.. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS __bss_start
|
|
.. ..: .......0 0 FUNC GLOBAL DEFAULT 6 app_func2
|
|
.. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS _bss_end__
|
|
.. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS __exidx_end
|