[patch ld]: Merge all .xdata.* and .pdata.* sections to .(x|p)data

Kai Tietz ktietz@redhat.com
Thu Feb 14 12:49:00 GMT 2013


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__)} :



More information about the Binutils mailing list