aboutsummaryrefslogtreecommitdiff
path: root/bfd/syms.c
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2008-06-30 20:51:58 +0000
committerRichard Sandiford <rdsandiford@googlemail.com>2008-06-30 20:51:58 +0000
commit6ba2a41553ce33bc63e4ee1beef0ff1193e3ed70 (patch)
tree559f118c13eabd2eb577ce41a549eadd726d0c70 /bfd/syms.c
parent5adf97213b7f2e27834539bdf4d0ef8799d53a95 (diff)
downloadfsf-binutils-gdb-6ba2a41553ce33bc63e4ee1beef0ff1193e3ed70.zip
fsf-binutils-gdb-6ba2a41553ce33bc63e4ee1beef0ff1193e3ed70.tar.gz
fsf-binutils-gdb-6ba2a41553ce33bc63e4ee1beef0ff1193e3ed70.tar.bz2
bfd/
* syms.c (BSF_SYNTHETIC): New flag. * elf.c (_bfd_elf_get_synthetic_symtab): Set it. * elf32-ppc.c (ppc_elf_get_synthetic_symtab): Likewise. * elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Likewise. * bfd-in.h (bfd_asymbol_flavour): Return bfd_target_unknown_flavour for synthetic symbols. * bfd-in2.h: Regenerate. opcodes/ * mips-dis.c (_print_insn_mips): Use bfd_asymbol_flavour to check for ELF symbols.
Diffstat (limited to 'bfd/syms.c')
-rw-r--r--bfd/syms.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/syms.c b/bfd/syms.c
index 8831b92..371916b 100644
--- a/bfd/syms.c
+++ b/bfd/syms.c
@@ -297,6 +297,9 @@ CODE_FRAGMENT
. with the expression tree serialized in the symbol name. *}
.#define BSF_SRELC 0x100000
.
+. {* This symbol was created by bfd_get_synthetic_symtab. *}
+.#define BSF_SYNTHETIC 0x200000
+.
. flagword flags;
.
. {* A pointer to the section to which this symbol is