gold/
authorCary Coutant <ccoutant@google.com>
Wed, 23 May 2012 20:54:37 +0000 (20:54 +0000)
committerCary Coutant <ccoutant@google.com>
Wed, 23 May 2012 20:54:37 +0000 (20:54 +0000)
* layout.cc (Layout::section_name_mapping): Match .data.rel.ro.*
more carefully.

gold/ChangeLog
gold/layout.cc

index d9903ab..9ea9070 100644 (file)
@@ -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
index 0ac0fbf..e9aeef5 100644 (file)
@@ -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"),