diff options
author | Alan Modra <amodra@gmail.com> | 2012-05-17 02:24:50 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2012-05-17 02:24:50 +0000 |
commit | e1dad58d73dcf0ab1cabb92b2e2a79106486b1b0 (patch) | |
tree | 06953b399328d0516d29695c2ef096e1b47961b4 /bfd/elf32-ppc.c | |
parent | 5a58b474770387bc6ceadc9da3ba26fd56373b1e (diff) | |
download | fsf-binutils-gdb-e1dad58d73dcf0ab1cabb92b2e2a79106486b1b0.zip fsf-binutils-gdb-e1dad58d73dcf0ab1cabb92b2e2a79106486b1b0.tar.gz fsf-binutils-gdb-e1dad58d73dcf0ab1cabb92b2e2a79106486b1b0.tar.bz2 |
bfd/
* elf32-ppc.c (has_tls_reloc, has_tls_get_addr_call, has_vle_insns,
is_ppc_vle): Move to..
* elf32-ppc.h: ..here, making is_ppc_vle a macro.
opcodes/
* ppc_dis.c: Don't include elf/ppc.h.
Diffstat (limited to 'bfd/elf32-ppc.c')
-rw-r--r-- | bfd/elf32-ppc.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c index c0b0c14..0835a91 100644 --- a/bfd/elf32-ppc.c +++ b/bfd/elf32-ppc.c @@ -2094,26 +2094,6 @@ struct ppc_elf_obj_tdata (bfd_get_flavour (bfd) == bfd_target_elf_flavour \ && elf_object_id (bfd) == PPC32_ELF_DATA) -/* Rename some of the generic section flags to better document how they - are used for ppc32. */ - -/* Nonzero if this section has TLS related relocations. */ -#define has_tls_reloc sec_flg0 - -/* Nonzero if this section has a call to __tls_get_addr. */ -#define has_tls_get_addr_call sec_flg1 - -/* Nonzero if this secs_tls_get_addr_calltion has the VLE bit set. */ -#define has_vle_insns sec_flg2 - -bfd_boolean -is_ppc_vle (asection *sec) -{ - return (sec->owner != NULL - && is_ppc_elf (sec->owner) - && sec->has_vle_insns); -} - /* Override the generic function because we store some extras. */ static bfd_boolean |