This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch ld]: Add .debug_macro section to script files for pe-coff targets


Hello,

this patch adds for pe-coff targets the new generated .debug_macro
section (for dwarf 2) to script files.

ChangeLog

2011-08-06  Kai Tietz  <ktietz@redhat.com>

	* scripttempl/pep.sc: Add .debug_macro section.
	* scripttempl/pe.sc: Add .debug_macro section.

Tested for x86_64-w64-mingw32 and i686-w64-mingw32 targets.  Ok for apply?

Regards,
Kai

Index: pep.sc
===================================================================
RCS file: /cvs/src/src/ld/scripttempl/pep.sc,v
retrieving revision 1.16
diff -u -r1.16 pep.sc
--- pep.sc	2 Jun 2011 13:43:23 -0000	1.16
+++ pep.sc	5 Aug 2011 22:36:04 -0000
@@ -298,6 +298,11 @@
     *(.debug_varnames)
   }

+  .debug_macro ${RELOCATING+BLOCK(__section_alignment__)}
${RELOCATING+(NOLOAD)} :
+  {
+    *(.debug_macro)
+  }
+
   /* DWARF 3.  */
   .debug_ranges ${RELOCATING+BLOCK(__section_alignment__)}
${RELOCATING+(NOLOAD)} :
   {
Index: pe.sc
===================================================================
RCS file: /cvs/src/src/ld/scripttempl/pe.sc,v
retrieving revision 1.27
diff -u -r1.27 pe.sc
--- pe.sc	2 Jun 2011 13:43:23 -0000	1.27
+++ pe.sc	5 Aug 2011 22:36:12 -0000
@@ -292,6 +292,11 @@
     *(.debug_varnames)
   }

+  .debug_macro ${RELOCATING+BLOCK(__section_alignment__)}
${RELOCATING+(NOLOAD)} :
+  {
+    *(.debug_macro)
+  }
+
   /* DWARF 3.  */
   .debug_ranges ${RELOCATING+BLOCK(__section_alignment__)}
${RELOCATING+(NOLOAD)} :
   {


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]