aboutsummaryrefslogtreecommitdiff
path: root/gold
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@google.com>2012-05-23 20:54:37 +0000
committerCary Coutant <ccoutant@google.com>2012-05-23 20:54:37 +0000
commit9b689de01538993d04f35e9d147aacd7ded04ba0 (patch)
tree0ae78c126a9bd67ea5dc0dd0492601a4e52ac42f /gold
parent11eb1b4dcc4f45cfdfb3bd8df61e969123293c59 (diff)
downloadgdb-9b689de01538993d04f35e9d147aacd7ded04ba0.zip
gdb-9b689de01538993d04f35e9d147aacd7ded04ba0.tar.gz
gdb-9b689de01538993d04f35e9d147aacd7ded04ba0.tar.bz2
gold/
* layout.cc (Layout::section_name_mapping): Match .data.rel.ro.* more carefully.
Diffstat (limited to 'gold')
-rw-r--r--gold/ChangeLog5
-rw-r--r--gold/layout.cc4
2 files changed, 7 insertions, 2 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index d9903ab..9ea9070 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,8 @@
+2012-05-23 Cary Coutant <ccoutant@google.com>
+
+ * layout.cc (Layout::section_name_mapping): Match .data.rel.ro.*
+ more carefully.
+
2012-05-22 Cary Coutant <ccoutant@google.com>
* symtab.cc (Symbol::should_add_dynsym_entry): Check for relocatable
diff --git a/gold/layout.cc b/gold/layout.cc
index 0ac0fbf..e9aeef5 100644
--- a/gold/layout.cc
+++ b/gold/layout.cc
@@ -4573,8 +4573,8 @@ const Layout::Section_name_mapping Layout::section_name_mapping[] =
{
MAPPING_INIT(".text.", ".text"),
MAPPING_INIT(".rodata.", ".rodata"),
- MAPPING_INIT(".data.rel.ro.local", ".data.rel.ro.local"),
- MAPPING_INIT(".data.rel.ro", ".data.rel.ro"),
+ MAPPING_INIT(".data.rel.ro.local.", ".data.rel.ro.local"),
+ MAPPING_INIT(".data.rel.ro.", ".data.rel.ro"),
MAPPING_INIT(".data.", ".data"),
MAPPING_INIT(".bss.", ".bss"),
MAPPING_INIT(".tdata.", ".tdata"),