diff options
author | Alan Modra <amodra@gmail.com> | 2012-11-06 05:18:03 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2012-11-06 05:18:03 +0000 |
commit | a38a07e07c75f3d498fb9187a7924d159be6326c (patch) | |
tree | 7aade350a33eb2d73734332cbf7e52d57af4d37e /gas/config/tc-ppc.h | |
parent | 53d8967a8594639334bfd928268e0857b2e72732 (diff) | |
download | gdb-a38a07e07c75f3d498fb9187a7924d159be6326c.zip gdb-a38a07e07c75f3d498fb9187a7924d159be6326c.tar.gz gdb-a38a07e07c75f3d498fb9187a7924d159be6326c.tar.bz2 |
bfd/
* elf64-ppc.c (struct ppc_link_hash_table): Add dot_toc_dot.
(ppc64_elf_size_stubs): Lookup ".TOC.".
(ppc64_elf_relocate_section): Resolve special symbol ".TOC.".
gas/
* config/tc-ppc.c (ppc_elf_adjust_symtab): New function, split out..
(ppc_frob_file_before_adjust): ..from here.
(md_apply_fix): Set BSF_KEEP on .TOC. if not @tocbase.
* config/tc-ppc.h (ppc_elf_adjust_symtab): Declare.
(tc_adjust_symtab): Define.
Diffstat (limited to 'gas/config/tc-ppc.h')
-rw-r--r-- | gas/config/tc-ppc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/config/tc-ppc.h b/gas/config/tc-ppc.h index e053c9c..3dd3f81 100644 --- a/gas/config/tc-ppc.h +++ b/gas/config/tc-ppc.h @@ -235,6 +235,9 @@ extern int ppc_fix_adjustable (struct fix *); #define tc_frob_file_before_adjust ppc_frob_file_before_adjust extern void ppc_frob_file_before_adjust (void); +#define tc_adjust_symtab() ppc_elf_adjust_symtab () +extern void ppc_elf_adjust_symtab (void); + #endif /* OBJ_ELF */ #if defined (OBJ_ELF) || defined (OBJ_XCOFF) |