summaryrefslogtreecommitdiff
path: root/gold/dwarf_reader.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2008-01-18 23:35:09 +0000
committerIan Lance Taylor <iant@google.com>2008-01-18 23:35:09 +0000
commit4897b19ef8486304270e62cb5f79e3936d44c7a9 (patch)
treee18fba235bb0081cb38153284d2c6d358e566dde /gold/dwarf_reader.cc
parent0f0d9ada2fcea795f3b1e15a6d817aa4789c1eb6 (diff)
downloadbinutils-redhat-4897b19ef8486304270e62cb5f79e3936d44c7a9.tar.gz
From Craig Silverstein: Handle quoted strings differently in version
scripts, and handle extern "C++" in the middle of a block.
Diffstat (limited to 'gold/dwarf_reader.cc')
-rw-r--r--gold/dwarf_reader.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gold/dwarf_reader.cc b/gold/dwarf_reader.cc
index bf03ca3228..19c1a035ac 100644
--- a/gold/dwarf_reader.cc
+++ b/gold/dwarf_reader.cc
@@ -125,6 +125,7 @@ Sized_dwarf_line_info<size, big_endian>::Sized_dwarf_line_info(Object* object,
{
unsigned int debug_shndx;
for (debug_shndx = 0; debug_shndx < object->shnum(); ++debug_shndx)
+ // FIXME: do this more efficiently: section_name() isn't super-fast
if (object->section_name(debug_shndx) == ".debug_line")
{
section_size_type buffer_size;