From 9b689de01538993d04f35e9d147aacd7ded04ba0 Mon Sep 17 00:00:00 2001 From: Cary Coutant Date: Wed, 23 May 2012 20:54:37 +0000 Subject: [PATCH] gold/ * layout.cc (Layout::section_name_mapping): Match .data.rel.ro.* more carefully. --- gold/ChangeLog | 5 +++++ gold/layout.cc | 4 ++-- 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 + + * layout.cc (Layout::section_name_mapping): Match .data.rel.ro.* + more carefully. + 2012-05-22 Cary Coutant * 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"), -- 2.7.4