diff options
author | Alan Modra <amodra@gmail.com> | 2012-02-07 07:04:04 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2012-02-07 07:04:04 +0000 |
commit | ff9e0f5bc852249504bcec3d3d51ecd4a637a609 (patch) | |
tree | ab727d2862de1417969364e69259c55e911c3f40 /bfd/elf-bfd.h | |
parent | 0d5cff5020224cfd67bc3d6e30b158105d03a324 (diff) | |
download | gdb-ff9e0f5bc852249504bcec3d3d51ecd4a637a609.zip gdb-ff9e0f5bc852249504bcec3d3d51ecd4a637a609.tar.gz gdb-ff9e0f5bc852249504bcec3d3d51ecd4a637a609.tar.bz2 |
* elf.c (elf_find_function): Don't use internal_elf_sym.
(_bfd_elf_maybe_function_sym): Likewise. Replace elf_symbol_type
parameter with asymbol.
* elf64-ppc.c (ppc64_elf_maybe_function_sym): Likewise.
* elf-bfd.h (_bfd_elf_maybe_function_sym): Update prototype.
(struct elf_backend_data <maybe_function_sym>): Likewise.
Diffstat (limited to 'bfd/elf-bfd.h')
-rw-r--r-- | bfd/elf-bfd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h index 98948a9..db414e9 100644 --- a/bfd/elf-bfd.h +++ b/bfd/elf-bfd.h @@ -1223,7 +1223,7 @@ struct elf_backend_data /* Return TRUE if symbol may be a function. Set *CODE_SEC and *CODE_VAL to the function's entry point. */ - bfd_boolean (*maybe_function_sym) (const elf_symbol_type *sym, + bfd_boolean (*maybe_function_sym) (const asymbol *sym, asection **code_sec, bfd_vma *code_off); /* Used to handle bad SHF_LINK_ORDER input. */ @@ -2202,7 +2202,7 @@ extern bfd_boolean _bfd_elf_map_sections_to_segments extern bfd_boolean _bfd_elf_is_function_type (unsigned int); -extern bfd_boolean _bfd_elf_maybe_function_sym (const elf_symbol_type *, +extern bfd_boolean _bfd_elf_maybe_function_sym (const asymbol *, asection **, bfd_vma *); extern int bfd_elf_get_default_section_type (flagword); |