This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH] Gold: Add mapping for ARM special sections.
- From: =?big5?b?RG91ZyBLd2FuICjD9q62vHcp?= <dougkwan at google dot com>
- To: binutils at sourceware dot org
- Date: Thu, 4 Jun 2009 13:13:48 -0700
- Subject: [PATCH] Gold: Add mapping for ARM special sections.
Hi,
This patch adds mapping to ARM special sections .ARM.exidx and
.ARM.extab. Okay to check in?
-Doug
----------------------------------------------------------------
2009-06-04 Doug Kwan <dougkwan@google.com>
* layout.cc (Layout::section_name_mapping): Add mapping for
special ARM sections.
Index: gold/layout.cc
===================================================================
RCS file: /cvs/src/src/gold/layout.cc,v
retrieving revision 1.124
diff -u -u -p -r1.124 layout.cc
--- gold/layout.cc 4 Jun 2009 00:43:11 -0000 1.124
+++ gold/layout.cc 4 Jun 2009 20:01:11 -0000
@@ -2887,6 +2887,10 @@ const Layout::Section_name_mapping Layou
MAPPING_INIT(".gnu.linkonce.lr.", ".lrodata"),
MAPPING_INIT(".gnu.linkonce.l.", ".ldata"),
MAPPING_INIT(".gnu.linkonce.lb.", ".lbss"),
+ MAPPING_INIT(".ARM.extab.", ".ARM.extab"),
+ MAPPING_INIT(".gnu.linkonce.armextab.", ".ARM.extab"),
+ MAPPING_INIT(".ARM.exidx.", ".ARM.exidx"),
+ MAPPING_INIT(".gnu.linkonce.armexidx.", ".ARM.exidx"),
};
#undef MAPPING_INIT