From 6ba2a41553ce33bc63e4ee1beef0ff1193e3ed70 Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Mon, 30 Jun 2008 20:51:58 +0000 Subject: 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. --- bfd/syms.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bfd/syms.c') 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 -- cgit v1.1