This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH 2/6] gold: Recognize .pdr debug sections.
- From: Vladimir Radosavljevic <Vladimir dot Radosavljevic at imgtec dot com>
- To: "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Tue, 3 Nov 2015 16:18:09 +0000
- Subject: [PATCH 2/6] gold: Recognize .pdr debug sections.
- Authentication-results: sourceware.org; auth=none
Regards,
Vladimir
Changelog -
* layout.h (Layout::is_debug_info_section): Recognize .pdr debug sections.
Patch -
layout.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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