aboutsummaryrefslogtreecommitdiff
path: root/gold/layout.h
diff options
context:
space:
mode:
authorVladimir Radosavljevic <Vladimir.Radosavljevic@imgtec.com>2015-11-03 16:18:09 +0000
committerCary Coutant <ccoutant@gmail.com>2015-11-09 10:46:43 -0800
commitcc203475bdf401cbceaa003ed425884d686c18e2 (patch)
tree0adc7322a452ef89d53baa87ebc2e48172108eef /gold/layout.h
parent859d79870d7975ef8d98ea728ee52a264efe7d1e (diff)
downloadgdb-cc203475bdf401cbceaa003ed425884d686c18e2.zip
gdb-cc203475bdf401cbceaa003ed425884d686c18e2.tar.gz
gdb-cc203475bdf401cbceaa003ed425884d686c18e2.tar.bz2
Recognize .pdr debug sections.
gold/ * layout.h (Layout::is_debug_info_section): Recognize .pdr debug sections.
Diffstat (limited to 'gold/layout.h')
-rw-r--r--gold/layout.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gold/layout.h b/gold/layout.h
index 7bdaaca..ed9d930 100644
--- a/gold/layout.h
+++ b/gold/layout.h
@@ -764,7 +764,8 @@ class Layout
|| strncmp(name, ".gnu.linkonce.wi.",
sizeof(".gnu.linkonce.wi.") - 1) == 0
|| strncmp(name, ".line", sizeof(".line") - 1) == 0
- || strncmp(name, ".stab", sizeof(".stab") - 1) == 0);
+ || strncmp(name, ".stab", sizeof(".stab") - 1) == 0
+ || strncmp(name, ".pdr", sizeof(".pdr") - 1) == 0);
}
// Return true if RELOBJ is an input file whose base name matches