aboutsummaryrefslogtreecommitdiff
path: root/bfd/bfd-in.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-in.h
parentd2c7a1a63b98c1add3d78ba71ffa9f2a105c1cd4 (diff)
downloadgdb-766bc6567a42d77ac24103c5f7b9e14aaab81bba.zip
gdb-766bc6567a42d77ac24103c5f7b9e14aaab81bba.tar.gz
gdb-766bc6567a42d77ac24103c5f7b9e14aaab81bba.tar.bz2
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-in.h')
-rw-r--r--bfd/bfd-in.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h
index 82bf043..c775a0b 100644
--- a/bfd/bfd-in.h
+++ b/bfd/bfd-in.h
@@ -1,7 +1,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.
@@ -911,6 +911,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