diff options
author | Alan Modra <amodra@gmail.com> | 2012-01-23 06:16:38 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2012-01-23 06:16:38 +0000 |
commit | 9f296da34f6b4357ce7528eeb2b29d9f8e50c71e (patch) | |
tree | b030c6e6398786e9a3940724bf32fefe4738e057 /bfd/elfxx-target.h | |
parent | 2d6bdbd03f55a040894b631c5e82dbd8db8cf31c (diff) | |
download | gdb-9f296da34f6b4357ce7528eeb2b29d9f8e50c71e.zip gdb-9f296da34f6b4357ce7528eeb2b29d9f8e50c71e.tar.gz gdb-9f296da34f6b4357ce7528eeb2b29d9f8e50c71e.tar.bz2 |
* elf-bfd.h: Formatting.
(struct elf_backend_data): Add "maybe_function_sym".
(_bfd_elf_maybe_function_sym): Declare.
* elfxx-target.h (elf_backend_maybe_function_sym): Define.
(elfNN_bed): Init new field.
* elf.c (elf_find_function): Use maybe_function_sym.
(_bfd_elf_maybe_function_sym): New function.
* elf64-ppc.c (elf_backend_maybe_function_sym): Define.
(ppc64_elf_maybe_function_sym): New function.
Diffstat (limited to 'bfd/elfxx-target.h')
-rw-r--r-- | bfd/elfxx-target.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/bfd/elfxx-target.h b/bfd/elfxx-target.h index 96ecce3..5a6cae0 100644 --- a/bfd/elfxx-target.h +++ b/bfd/elfxx-target.h @@ -1,6 +1,6 @@ /* Target definitions for NN-bit ELF Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, - 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 + 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc. This file is part of BFD, the Binary File Descriptor library. @@ -655,6 +655,10 @@ #define elf_backend_is_function_type _bfd_elf_is_function_type #endif +#ifndef elf_backend_maybe_function_sym +#define elf_backend_maybe_function_sym _bfd_elf_maybe_function_sym +#endif + #ifndef elf_match_priority #define elf_match_priority \ (ELF_ARCH == bfd_arch_unknown ? 2 : ELF_OSABI == ELFOSABI_NONE ? 1 : 0) @@ -750,6 +754,7 @@ static struct elf_backend_data elfNN_bed = elf_backend_merge_symbol, elf_backend_hash_symbol, elf_backend_is_function_type, + elf_backend_maybe_function_sym, elf_backend_link_order_error_handler, elf_backend_relplt_name, ELF_MACHINE_ALT1, |