aboutsummaryrefslogtreecommitdiff
path: root/gold/symtab.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2012-08-18 11:12:50 +0000
committerAlan Modra <amodra@gmail.com>2012-08-18 11:12:50 +0000
commitc9269dff6754a6178d4c7397060d83be1b2a91dc (patch)
tree2bd815e2f5488a835a04a74f16619994b642b300 /gold/symtab.h
parent13c9750ebf22e1c5e3a645e06a638f7e10f3bcc4 (diff)
downloadgdb-c9269dff6754a6178d4c7397060d83be1b2a91dc.zip
gdb-c9269dff6754a6178d4c7397060d83be1b2a91dc.tar.gz
gdb-c9269dff6754a6178d4c7397060d83be1b2a91dc.tar.bz2
* powerpc.cc: Formatting and white space.
(Powerpc_relobj): Rename got2_section_ to special_. Add opd_ent_shndx_ and opd_ent_off_ vectors. (Powerpc_relobj::opd_shndx, init_opd, get_opd_ent, set_opd_ent, scan_opd_relocs, do_read_relocs, opd_ent_ndx): New functions. (Target_powerpc): Add Address typedef and invalid_address. Use throughout. (Target_powerpc::is_branch_reloc): New function. (Powerpc_relocate_functions): Add Address typedef, use throughout. (Powerpc_relocate_functions:rela, rela_ua): Correct type used for dst_mask, value and addend. (Powerpc_relobj::do_find_special_sections): Find .opd for 64-bit. (ld_2_1, cror_15_15_15, cror_31_31_31): New insn constants. (Output_data_glink::do_write): Correct toc base. Don't try to use uint16_t for 24-bit offset. Use get_output_section_offset and check return. (Target_powerpc::Scan::local): Handle more relocs. (Target_powerpc::do_finalize_sections): Set up DT_PPC64_GLINK. (Target_powerpc::Relocate::relocate): Correct toc base calculation. Plug in toc restoring insn after plt calls. Translate branches to function descriptor symbols to corresponding entry point. (Target_powerpc::relocate_for_relocatable): Check return from get_output_section_offset. * symtab.h: Comment typo.
Diffstat (limited to 'gold/symtab.h')
-rw-r--r--gold/symtab.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/symtab.h b/gold/symtab.h
index feed245..f26d4b9 100644
--- a/gold/symtab.h
+++ b/gold/symtab.h
@@ -62,7 +62,7 @@ class Garbage_collection;
class Icf;
// The base class of an entry in the symbol table. The symbol table
-// can have a lot of entries, so we don't want this class to big.
+// can have a lot of entries, so we don't want this class too big.
// Size dependent fields can be found in the template class
// Sized_symbol. Targets may support their own derived classes.