diff options
author | Richard Sandiford <rsandifo@nildram.co.uk> | 2008-06-30 20:51:58 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@nildram.co.uk> | 2008-06-30 20:51:58 +0000 |
commit | 0c48d721410aa1a2d914b1c44c9a7957abb044e1 (patch) | |
tree | 6a554b7b49d57e98460e991f4c1dd68e2df789f8 /bfd/syms.c | |
parent | 1eee754b33fbe6abba4cf0ca53b9a8f0fa6c5120 (diff) | |
download | binutils-redhat-0c48d721410aa1a2d914b1c44c9a7957abb044e1.tar.gz |
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.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/syms.c b/bfd/syms.c index 8831b9257c..371916b940 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 |