aboutsummaryrefslogtreecommitdiff
path: root/gold
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@google.com>2012-05-08 18:00:02 +0000
committerCary Coutant <ccoutant@google.com>2012-05-08 18:00:02 +0000
commit80f5885c0674e3f865455e9e03ea60e67f1e4ed3 (patch)
tree4cb39d114628070f9969a0b94ec8d859698a4cdb /gold
parent96109726a4d048e59ef11a27264fbe0f47c34690 (diff)
downloadgdb-80f5885c0674e3f865455e9e03ea60e67f1e4ed3.zip
gdb-80f5885c0674e3f865455e9e03ea60e67f1e4ed3.tar.gz
gdb-80f5885c0674e3f865455e9e03ea60e67f1e4ed3.tar.bz2
gold/
* layout.cc (gdb_sections): Update GDB version, add .debug_addr. (lines_only_debug_sections): Likewise.
Diffstat (limited to 'gold')
-rw-r--r--gold/ChangeLog5
-rw-r--r--gold/layout.cc14
2 files changed, 14 insertions, 5 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index a0a461f..9e28c62 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,8 @@
+2012-05-08 Cary Coutant <ccoutant@google.com>
+
+ * layout.cc (gdb_sections): Update GDB version, add .debug_addr.
+ (lines_only_debug_sections): Likewise.
+
2012-05-02 Roland McGrath <mcgrathr@google.com>
* nacl.cc: New file.
diff --git a/gold/layout.cc b/gold/layout.cc
index 7155f22..b58f9d2 100644
--- a/gold/layout.cc
+++ b/gold/layout.cc
@@ -455,32 +455,36 @@ Layout::Hash_key::operator()(const Layout::Key& k) const
// Returns whether the given section is in the list of
// debug-sections-used-by-some-version-of-gdb. Currently,
-// we've checked versions of gdb up to and including 6.7.1.
+// we've checked versions of gdb up to and including 7.4.
static const char* gdb_sections[] =
{ ".debug_abbrev",
- // ".debug_aranges", // not used by gdb as of 6.7.1
+ ".debug_addr", // Fission extension
+ // ".debug_aranges", // not used by gdb as of 7.4
".debug_frame",
".debug_info",
".debug_types",
".debug_line",
".debug_loc",
".debug_macinfo",
- // ".debug_pubnames", // not used by gdb as of 6.7.1
+ // ".debug_pubnames", // not used by gdb as of 7.4
+ // ".debug_pubtypes", // not used by gdb as of 7.4
".debug_ranges",
".debug_str",
};
static const char* lines_only_debug_sections[] =
{ ".debug_abbrev",
- // ".debug_aranges", // not used by gdb as of 6.7.1
+ // ".debug_addr", // Fission extension
+ // ".debug_aranges", // not used by gdb as of 7.4
// ".debug_frame",
".debug_info",
// ".debug_types",
".debug_line",
// ".debug_loc",
// ".debug_macinfo",
- // ".debug_pubnames", // not used by gdb as of 6.7.1
+ // ".debug_pubnames", // not used by gdb as of 7.4
+ // ".debug_pubtypes", // not used by gdb as of 7.4
// ".debug_ranges",
".debug_str",
};