aboutsummaryrefslogtreecommitdiff
path: root/bfd/bfd-in2.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2009-11-18 12:42:52 +0000
committerAlan Modra <amodra@gmail.com>2009-11-18 12:42:52 +0000
commit2d0f3896005097776f6bd807c7df97bbb6c99dd9 (patch)
tree4e9d68141118e584e1ae02cb080a8ed3d2773091 /bfd/bfd-in2.h
parent8cddccd3f191a62607325235ffd55cb37c1120bf (diff)
downloadgdb-2d0f3896005097776f6bd807c7df97bbb6c99dd9.zip
gdb-2d0f3896005097776f6bd807c7df97bbb6c99dd9.tar.gz
gdb-2d0f3896005097776f6bd807c7df97bbb6c99dd9.tar.bz2
bfd/
* bfd-in.h (_bfd_elf_ppc_at_tls_transform): Declare. * bfd-in2.h: Regenerate. * elf64-ppc.c (ppc64_elf_relocate_section): Move code for R_PPC64_TLS insn optimisation to.. * elf32-ppc.c (_bfd_elf_ppc_at_tls_transform): ..here. New function. (ppc_elf_relocate_section): Use it. gas/ * config/tc-ppc.c (md_assemble): Report error on invalid @tls operands and opcode.
Diffstat (limited to 'bfd/bfd-in2.h')
-rw-r--r--bfd/bfd-in2.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index 2cf3ba1..455ec56 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -915,6 +915,10 @@ extern bfd_boolean elf32_arm_build_stubs
extern bfd_boolean elf32_arm_fix_exidx_coverage
(struct bfd_section **, unsigned int, struct bfd_link_info *);
+/* PowerPC @tls opcode transform/validate. */
+extern unsigned int _bfd_elf_ppc_at_tls_transform
+ (unsigned int, unsigned int);
+
/* TI COFF load page support. */
extern void bfd_ticoff_set_section_load_page
(struct bfd_section *, int);