aboutsummaryrefslogtreecommitdiff
path: root/gold/reduced_debug_output.cc
diff options
context:
space:
mode:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>2010-12-14 19:03:30 +0000
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>2010-12-14 19:03:30 +0000
commit9b547ce6834ed6367db2e76b2c4c2e99b188fc9b (patch)
tree9d1a7bf787d52e5db2427d72aada95ce53d93ff1 /gold/reduced_debug_output.cc
parentb6c882c7846b7bfb3cf84dad05615cff8ee35579 (diff)
downloadgdb-9b547ce6834ed6367db2e76b2c4c2e99b188fc9b.zip
gdb-9b547ce6834ed6367db2e76b2c4c2e99b188fc9b.tar.gz
gdb-9b547ce6834ed6367db2e76b2c4c2e99b188fc9b.tar.bz2
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/reduced_debug_output.cc')
-rw-r--r--gold/reduced_debug_output.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/gold/reduced_debug_output.cc b/gold/reduced_debug_output.cc
index 5bc8053..93757bf 100644
--- a/gold/reduced_debug_output.cc
+++ b/gold/reduced_debug_output.cc
@@ -1,6 +1,6 @@
// reduced_debug_output.cc -- output reduced debugging information to save space
-// Copyright 2008 Free Software Foundation, Inc.
+// Copyright 2008, 2010 Free Software Foundation, Inc.
// Written by Caleb Howe <cshowe@google.com>.
// This file is part of gold.
@@ -154,20 +154,20 @@ Output_reduced_debug_abbrev_section::set_final_data_size()
abbrev_data += LEB_size;
// Together with the abbreviation number these fields make up
- // the header for each abbreviation
+ // the header for each abbreviation.
uint64_t abbrev_type = read_unsigned_LEB_128(abbrev_data, &LEB_size);
abbrev_data += LEB_size;
// This would ordinarily be the has_children field of the
- // abbreviation. But it's going to be false after reducting the
- // information, so there's no point in storing it
+ // abbreviation. But it's going to be false after reducing the
+ // information, so there's no point in storing it.
abbrev_data++;
- // Read to the end of the current abbreviation
+ // Read to the end of the current abbreviation.
// This is indicated by two zero unsigned LEBs in a row. We don't
// need to parse the data yet, so we just scan through the data
// looking for two consecutive 0 bytes indicating the end of the
- // abbreviation
+ // abbreviation.
unsigned char* current_abbrev;
for (current_abbrev = abbrev_data;
current_abbrev[0] || current_abbrev[1];