aboutsummaryrefslogtreecommitdiff
path: root/gold
diff options
context:
space:
mode:
Diffstat (limited to 'gold')
-rw-r--r--gold/ChangeLog5
-rw-r--r--gold/layout.h3
2 files changed, 7 insertions, 1 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index 6013ba3..a08b425 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,8 @@
+2015-11-09 Vladimir Radosavljevic <Vladimir.Radosavljevic@imgtec.com>
+
+ * layout.h (Layout::is_debug_info_section): Recognize .pdr debug
+ sections.
+
2015-11-09 Cary Coutant <ccoutant@gmail.com>
Vladimir Radosavljevic <Vladimir.Radosavljevic@imgtec.com>
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