summaryrefslogtreecommitdiffstats
path: root/bfd/bfd-in2.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2010-01-25 06:47:16 +0000
committerAlan Modra <amodra@gmail.com>2010-01-25 06:47:16 +0000
commit766bc6567a42d77ac24103c5f7b9e14aaab81bba (patch)
tree6cb67fa0f34112fa7ee7a91847c496fdc9067e55 /bfd/bfd-in2.h
parentd2c7a1a63b98c1add3d78ba71ffa9f2a105c1cd4 (diff)
downloadppe42-binutils-766bc6567a42d77ac24103c5f7b9e14aaab81bba.tar.gz
ppe42-binutils-766bc6567a42d77ac24103c5f7b9e14aaab81bba.zip
PR ld/11217
* elf64-ppc.c (ppc64_elf_tls_optimize): Optimize tls sequences with relocations against undefined weak symbols. (ppc64_elf_relocate_section): Don't optimize calls to undefined weak functions if the symbol is dynamic. (ppc64_elf_relocate_section): Edit tprel tls sequences. * elf32-ppc.c (ppc_elf_relocate_section): Likewise. (_bfd_elf_ppc_at_tprel_transform): New function. * bfd-in.h (_bfd_elf_ppc_at_tprel_transform): Declare. * bfd-in2.h: Regenerate.
Diffstat (limited to 'bfd/bfd-in2.h')
-rw-r--r--bfd/bfd-in2.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index b17f2e196d..df9b6e0431 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -8,7 +8,7 @@
/* Main header file for the bfd library -- portable access to object files.
Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
- 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
+ 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
Free Software Foundation, Inc.
Contributed by Cygnus Support.
@@ -918,6 +918,9 @@ extern bfd_boolean elf32_arm_fix_exidx_coverage
/* PowerPC @tls opcode transform/validate. */
extern unsigned int _bfd_elf_ppc_at_tls_transform
(unsigned int, unsigned int);
+/* PowerPC @tprel opcode transform/validate. */
+extern unsigned int _bfd_elf_ppc_at_tprel_transform
+ (unsigned int, unsigned int);
/* TI COFF load page support. */
extern void bfd_ticoff_set_section_load_page
OpenPOWER on IntegriCloud