diff options
author | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2010-12-14 19:03:30 +0000 |
---|---|---|
committer | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 2010-12-14 19:03:30 +0000 |
commit | 9b547ce6834ed6367db2e76b2c4c2e99b188fc9b (patch) | |
tree | 9d1a7bf787d52e5db2427d72aada95ce53d93ff1 /gold/target.h | |
parent | Move gdb ChangeLog entry to gdb/ChangeLog. (diff) | |
download | binutils-gdb-9b547ce6834ed6367db2e76b2c4c2e99b188fc9b.tar.gz binutils-gdb-9b547ce6834ed6367db2e76b2c4c2e99b188fc9b.tar.bz2 binutils-gdb-9b547ce6834ed6367db2e76b2c4c2e99b188fc9b.zip |
Fix typos in gold.
gold/:
* dwarf_reader.cc: Remove outdated comment.
* gold-threads.cc: Fix typo in error message.
* archive.cc: Fix typos in comments.
* archive.h: Likewise.
* arm-reloc-property.cc: Likewise.
* arm-reloc-property.h: Likewise.
* arm-reloc.def: Likewise.
* arm.cc: Likewise.
* attributes.h: Likewise.
* cref.cc: Likewise.
* ehframe.cc: Likewise.
* fileread.h: Likewise.
* gold.h: Likewise.
* i386.cc: Likewise.
* icf.cc: Likewise.
* incremental.h: Likewise.
* int_encoding.cc: Likewise.
* layout.h: Likewise.
* main.cc: Likewise.
* merge.h: Likewise.
* object.cc: Likewise.
* object.h: Likewise.
* options.cc: Likewise.
* readsyms.cc: Likewise.
* reduced_debug_output.cc: Likewise.
* reloc.cc: Likewise.
* script-sections.cc: Likewise.
* sparc.cc: Likewise.
* symtab.h: Likewise.
* target-reloc.h: Likewise.
* target.cc: Likewise.
* target.h: Likewise.
* timer.cc: Likewise.
* timer.h: Likewise.
* x86_64.cc: Likewise.
Diffstat (limited to 'gold/target.h')
-rw-r--r-- | gold/target.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/gold/target.h b/gold/target.h index aa8ebea7ae6..85af8d37c67 100644 --- a/gold/target.h +++ b/gold/target.h @@ -467,7 +467,7 @@ class Target do_adjust_elf_header(unsigned char*, int) const { } - // Virtual function which may be overriden by the child class. + // Virtual function which may be overridden by the child class. virtual bool do_is_local_label_name(const char*) const; @@ -477,7 +477,7 @@ class Target do_reloc_symbol_index(void*, unsigned int) const { gold_unreachable(); } - // Virtual function that must be overidden by a target which uses + // Virtual function that must be overridden by a target which uses // target specific relocations. virtual uint64_t do_reloc_addend(void*, unsigned int, uint64_t) const @@ -517,44 +517,44 @@ class Target } #ifdef HAVE_TARGET_32_LITTLE - // Virtual functions which may be overriden by the child class. + // Virtual functions which may be overridden by the child class. virtual Object* do_make_elf_object(const std::string&, Input_file*, off_t, const elfcpp::Ehdr<32, false>&); #endif #ifdef HAVE_TARGET_32_BIG - // Virtual functions which may be overriden by the child class. + // Virtual functions which may be overridden by the child class. virtual Object* do_make_elf_object(const std::string&, Input_file*, off_t, const elfcpp::Ehdr<32, true>&); #endif #ifdef HAVE_TARGET_64_LITTLE - // Virtual functions which may be overriden by the child class. + // Virtual functions which may be overridden by the child class. virtual Object* do_make_elf_object(const std::string&, Input_file*, off_t, const elfcpp::Ehdr<64, false>& ehdr); #endif #ifdef HAVE_TARGET_64_BIG - // Virtual functions which may be overriden by the child class. + // Virtual functions which may be overridden by the child class. virtual Object* do_make_elf_object(const std::string& name, Input_file* input_file, off_t offset, const elfcpp::Ehdr<64, true>& ehdr); #endif - // Virtual functions which may be overriden by the child class. + // Virtual functions which may be overridden by the child class. virtual Output_section* do_make_output_section(const char* name, elfcpp::Elf_Word type, elfcpp::Elf_Xword flags); - // Virtual function which may be overriden by the child class. + // Virtual function which may be overridden by the child class. virtual bool do_may_relax() const { return parameters->options().relax(); } - // Virtual function which may be overriden by the child class. + // Virtual function which may be overridden by the child class. virtual bool do_relax(int, const Input_objects*, Symbol_table*, Layout*, const Task*) { return false; } @@ -571,7 +571,7 @@ class Target set_view_to_nop(unsigned char* view, section_size_type view_size, section_offset_type offset, size_t len) const; - // This must be overriden by the child class if it has target-specific + // This must be overridden by the child class if it has target-specific // attributes subsection in the attribute section. virtual int do_attribute_arg_type(int) const |