This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[patch ld]: Merge all .xdata.* and .pdata.* sections to .(x|p)data
- From: Kai Tietz <ktietz at redhat dot com>
- To: Binutils <binutils at sourceware dot org>
- Cc: Nick Clifton <nickc at redhat dot com>
- Date: Thu, 14 Feb 2013 07:49:25 -0500 (EST)
- Subject: [patch ld]: Merge all .xdata.* and .pdata.* sections to .(x|p)data
Hi,
this patch takes care that sub-pdata and sub-xdata sections names getting merged into .xdata/.pdata section.
ChangeLog
* pep.sc (.xdata): Merge .xdata* into .xdata section.
(.pdata): Merge .pdata* into .pdata section.
Ok for apply?
Kai
Index: pep.sc
===================================================================
RCS file: /cvs/src/src/ld/scripttempl/pep.sc,v
retrieving revision 1.21
diff -p -u -r1.21 pep.sc
--- pep.sc 23 Jan 2013 15:12:01 -0000 1.21
+++ pep.sc 14 Feb 2013 12:42:07 -0000
@@ -127,12 +127,12 @@ SECTIONS
.pdata ${RELOCATING+BLOCK(__section_alignment__)} :
{
- *(.pdata)
+ *(.pdata*)
}
.xdata ${RELOCATING+BLOCK(__section_alignment__)} :
{
- *(.xdata)
+ *(.xdata*)
}
.bss ${RELOCATING+BLOCK(__section_alignment__)} :