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]

Commit: Add .debug_macro section to linker scripts


Hi Guys,

  I am applying the patch below to add a placement of the .debug_macro
  section to the linker scripts that already support other DWARF debug
  sections.  It also adds the DWARF3 .debug_pubtypes and .debug_ranges
  sections if those were missing.

Cheers
  Nick

ld/ChangeLog
2012-06-29  Nick Clifton  <nickc@redhat.com>

	* scripttempl/alphavms.sc: Add .debug_macro section.
	* scripttempl/elf.sc: Likewise.
	* scripttempl/elf64hppa.sc: Likewise.
	* scripttempl/elf_chaos.sc: Likewise.
	* scripttempl/elfxtensa.sc: Likewise.
	* scripttempl/ia64vms.sc: Likewise.

	* scripttempl/armbpabi.sc: Add .debug_pubtypes, .debug_ranges and
	.debug_macro sections.
	* scripttempl/avr.sc: Likewise.
	* scripttempl/elf32cr16.sc: Likewise.
	* scripttempl/elf32crx.sc: Likewise.
	* scripttempl/elf32msp430.sc: Likewise.
	* scripttempl/elf32msp430_3.sc: Likewise.
	* scripttempl/elf32sh-symbian.sc: Likewise.
	* scripttempl/elfd30v.sc: Likewise.
	* scripttempl/elfi370.sc: Likewise.
	* scripttempl/elfm68hc11.sc: Likewise.
	* scripttempl/elfm68hc12.sc: Likewise.
	* scripttempl/elfxgate.sc: Likewise.
	* scripttempl/i386beos.sc: Likewise.
	* scripttempl/i386go32.sc: Likewise.
	* scripttempl/ip2k.sc: Likewise.
	* scripttempl/iq2000.sc: Likewise.
	* scripttempl/mep.sc: Likewise.
	* scripttempl/mmo.sc: Likewise.
	* scripttempl/v850.sc: Likewise.
	* scripttempl/xstormy16.sc: Likewise.

Index: ld/scripttempl/alphavms.sc
===================================================================
RCS file: /cvs/src/src/ld/scripttempl/alphavms.sc,v
retrieving revision 1.4
diff -u -3 -p -r1.4 alphavms.sc
--- ld/scripttempl/alphavms.sc	6 May 2011 10:44:31 -0000	1.4
+++ ld/scripttempl/alphavms.sc	29 Jun 2012 07:45:01 -0000
@@ -62,6 +62,8 @@ SECTIONS
     *(debug_loc)
     \$dwarf2.debug_macinfo = .;
     *(debug_macinfo)
+    \$dwarf2.debug_macro = .;
+    *(debug_macro)
     \$dwarf2.debug_pubnames = .;
     *(debug_pubnames)
     \$dwarf2.debug_str = .;
Index: ld/scripttempl/armbpabi.sc
===================================================================
RCS file: /cvs/src/src/ld/scripttempl/armbpabi.sc,v
retrieving revision 1.23
diff -u -3 -p -r1.23 armbpabi.sc
--- ld/scripttempl/armbpabi.sc	24 May 2012 01:04:53 -0000	1.23
+++ ld/scripttempl/armbpabi.sc	29 Jun 2012 07:45:02 -0000
@@ -357,6 +357,13 @@ cat <<EOF
   .debug_typenames 0 : { *(.debug_typenames) }
   .debug_varnames  0 : { *(.debug_varnames) }
 
+  /* DWARF 3 */
+  .debug_pubtypes 0 : { *(.debug_pubtypes) }
+  .debug_ranges   0 : { *(.debug_ranges) }
+
+  /* DWARF Extension.  */
+  .debug_macro    0 : { *(.debug_macro) } 
+
   ${STACK_ADDR+${STACK}}
   ${OTHER_SECTIONS}
   ${RELOCATING+${OTHER_SYMBOLS}}
Index: ld/scripttempl/avr.sc
===================================================================
RCS file: /cvs/src/src/ld/scripttempl/avr.sc,v
retrieving revision 1.13
diff -u -3 -p -r1.13 avr.sc
--- ld/scripttempl/avr.sc	7 Jun 2012 16:53:10 -0000	1.13
+++ ld/scripttempl/avr.sc	29 Jun 2012 07:45:02 -0000
@@ -253,6 +253,13 @@ SECTIONS
   .debug_str      0 : { *(.debug_str) }
   .debug_loc      0 : { *(.debug_loc) }
   .debug_macinfo  0 : { *(.debug_macinfo) }
+
+  /* DWARF 3 */
+  .debug_pubtypes 0 : { *(.debug_pubtypes) }
+  .debug_ranges   0 : { *(.debug_ranges) }
+
+  /* DWARF Extension.  */
+  .debug_macro    0 : { *(.debug_macro) } 
 }
 EOF
 
Index: ld/scripttempl/elf.sc
===================================================================
RCS file: /cvs/src/src/ld/scripttempl/elf.sc,v
retrieving revision 1.112
diff -u -3 -p -r1.112 elf.sc
--- ld/scripttempl/elf.sc	15 Jun 2012 15:13:33 -0000	1.112
+++ ld/scripttempl/elf.sc	29 Jun 2012 07:45:02 -0000
@@ -649,6 +649,9 @@ cat <<EOF
   .debug_pubtypes 0 : { *(.debug_pubtypes) }
   .debug_ranges   0 : { *(.debug_ranges) }
 
+  /* DWARF Extension.  */
+  .debug_macro    0 : { *(.debug_macro) } 
+  
   ${TINY_DATA_SECTION}
   ${TINY_BSS_SECTION}
 
Index: ld/scripttempl/elf32cr16.sc
===================================================================
RCS file: /cvs/src/src/ld/scripttempl/elf32cr16.sc,v
retrieving revision 1.8
diff -u -3 -p -r1.8 elf32cr16.sc
--- ld/scripttempl/elf32cr16.sc	10 Feb 2011 08:18:58 -0000	1.8
+++ ld/scripttempl/elf32cr16.sc	29 Jun 2012 07:45:02 -0000
@@ -163,6 +163,13 @@ SECTIONS
   .debug_str      0 : { *(.debug_str) }
   .debug_loc      0 : { *(.debug_loc) }
   .debug_macinfo  0 : { *(.debug_macinfo) }
+
+  /* DWARF 3 */
+  .debug_pubtypes 0 : { *(.debug_pubtypes) }
+  .debug_ranges   0 : { *(.debug_ranges) }
+
+  /* DWARF Extension.  */
+  .debug_macro    0 : { *(.debug_macro) } 
 }
 
 __DATA_IMAGE_START = LOADADDR(.data);
Index: ld/scripttempl/elf32crx.sc
===================================================================
RCS file: /cvs/src/src/ld/scripttempl/elf32crx.sc,v
retrieving revision 1.12
diff -u -3 -p -r1.12 elf32crx.sc
--- ld/scripttempl/elf32crx.sc	10 Feb 2011 08:18:58 -0000	1.12
+++ ld/scripttempl/elf32crx.sc	29 Jun 2012 07:45:02 -0000
@@ -165,6 +165,13 @@ SECTIONS
   .debug_str      0 : { *(.debug_str) }
   .debug_loc      0 : { *(.debug_loc) }
   .debug_macinfo  0 : { *(.debug_macinfo) }
+
+  /* DWARF 3 */
+  .debug_pubtypes 0 : { *(.debug_pubtypes) }
+  .debug_ranges   0 : { *(.debug_ranges) }
+
+  /* DWARF Extension.  */
+  .debug_macro    0 : { *(.debug_macro) } 
 }
 
 __DATA_IMAGE_START = LOADADDR(.data);
Index: ld/scripttempl/elf32msp430.sc
===================================================================
RCS file: /cvs/src/src/ld/scripttempl/elf32msp430.sc,v
retrieving revision 1.9
diff -u -3 -p -r1.9 elf32msp430.sc
--- ld/scripttempl/elf32msp430.sc	10 Feb 2011 08:18:58 -0000	1.9
+++ ld/scripttempl/elf32msp430.sc	29 Jun 2012 07:45:02 -0000
@@ -239,6 +239,13 @@ SECTIONS
   .debug_loc      0 : { *(.debug_loc) }
   .debug_macinfo  0 : { *(.debug_macinfo) }
 
+  /* DWARF 3 */
+  .debug_pubtypes 0 : { *(.debug_pubtypes) }
+  .debug_ranges   0 : { *(.debug_ranges) }
+
+  /* DWARF Extension.  */
+  .debug_macro    0 : { *(.debug_macro) } 
+
   PROVIDE (__stack = ${STACK}) ;
   PROVIDE (__data_start_rom = _etext) ;
   PROVIDE (__data_end_rom   = _etext + SIZEOF (.data)) ;
Index: ld/scripttempl/elf32msp430_3.sc
===================================================================
RCS file: /cvs/src/src/ld/scripttempl/elf32msp430_3.sc,v
retrieving revision 1.7
diff -u -3 -p -r1.7 elf32msp430_3.sc
--- ld/scripttempl/elf32msp430_3.sc	10 Feb 2011 08:18:58 -0000	1.7
+++ ld/scripttempl/elf32msp430_3.sc	29 Jun 2012 07:45:02 -0000
@@ -183,6 +183,13 @@ SECTIONS
   .debug_loc      0 : { *(.debug_loc) }
   .debug_macinfo  0 : { *(.debug_macinfo) }
 
+  /* DWARF 3 */
+  .debug_pubtypes 0 : { *(.debug_pubtypes) }
+  .debug_ranges   0 : { *(.debug_ranges) }
+
+  /* DWARF Extension.  */
+  .debug_macro    0 : { *(.debug_macro) } 
+
   PROVIDE (__stack = ${STACK}) ;
   PROVIDE (__data_start_rom = _etext) ;
   PROVIDE (__data_end_rom   = _etext + SIZEOF (.data)) ;
Index: ld/scripttempl/elf32sh-symbian.sc
===================================================================
RCS file: /cvs/src/src/ld/scripttempl/elf32sh-symbian.sc,v
retrieving revision 1.16
diff -u -3 -p -r1.16 elf32sh-symbian.sc
--- ld/scripttempl/elf32sh-symbian.sc	10 Feb 2011 08:18:58 -0000	1.16
+++ ld/scripttempl/elf32sh-symbian.sc	29 Jun 2012 07:45:02 -0000
@@ -378,6 +378,13 @@ cat <<EOF
   .debug_typenames 0 : { *(.debug_typenames) }
   .debug_varnames  0 : { *(.debug_varnames) }
 
+  /* DWARF 3 */
+  .debug_pubtypes 0 : { *(.debug_pubtypes) }
+  .debug_ranges   0 : { *(.debug_ranges) }
+
+  /* DWARF Extension.  */
+  .debug_macro    0 : { *(.debug_macro) } 
+
   ${STACK_ADDR+${STACK}}
   ${ATTRS_SECTIONS}
   ${OTHER_SECTIONS}
Index: ld/scripttempl/elf64hppa.sc
===================================================================
RCS file: /cvs/src/src/ld/scripttempl/elf64hppa.sc,v
retrieving revision 1.9
diff -u -3 -p -r1.9 elf64hppa.sc
--- ld/scripttempl/elf64hppa.sc	24 May 2012 01:04:53 -0000	1.9
+++ ld/scripttempl/elf64hppa.sc	29 Jun 2012 07:45:02 -0000
@@ -564,6 +564,9 @@ cat <<EOF
   .debug_pubtypes 0 : { *(.debug_pubtypes) }
   .debug_ranges   0 : { *(.debug_ranges) }
 
+  /* DWARF Extension.  */
+  .debug_macro    0 : { *(.debug_macro) } 
+  
   ${TINY_DATA_SECTION}
   ${TINY_BSS_SECTION}
 
Index: ld/scripttempl/elf_chaos.sc
===================================================================
RCS file: /cvs/src/src/ld/scripttempl/elf_chaos.sc,v
retrieving revision 1.12
diff -u -3 -p -r1.12 elf_chaos.sc
--- ld/scripttempl/elf_chaos.sc	10 Feb 2011 08:18:58 -0000	1.12
+++ ld/scripttempl/elf_chaos.sc	29 Jun 2012 07:45:02 -0000
@@ -350,6 +350,9 @@ cat <<EOF
   .debug_typenames 0 : { *(.debug_typenames) }
   .debug_varnames  0 : { *(.debug_varnames) }
 
+  /* DWARF Extension.  */
+  .debug_macro    0 : { *(.debug_macro) } 
+  
   ${STACK_ADDR+${STACK}}
   ${ATTRS_SECTIONS}
   ${OTHER_SECTIONS}
Index: ld/scripttempl/elfd10v.sc
===================================================================
RCS file: /cvs/src/src/ld/scripttempl/elfd10v.sc,v
retrieving revision 1.15
diff -u -3 -p -r1.15 elfd10v.sc
--- ld/scripttempl/elfd10v.sc	10 Feb 2011 08:18:58 -0000	1.15
+++ ld/scripttempl/elfd10v.sc	29 Jun 2012 07:45:02 -0000
@@ -194,5 +194,13 @@ SECTIONS
   .debug_funcnames 0 : { *(.debug_funcnames) }
   .debug_typenames 0 : { *(.debug_typenames) }
   .debug_varnames  0 : { *(.debug_varnames) }
+
+  /* DWARF 3 */
+  .debug_pubtypes 0 : { *(.debug_pubtypes) }
+  .debug_ranges   0 : { *(.debug_ranges) }
+
+  /* DWARF Extension.  */
+  .debug_macro    0 : { *(.debug_macro) } 
+  
 }
 EOF
Index: ld/scripttempl/elfd30v.sc
===================================================================
RCS file: /cvs/src/src/ld/scripttempl/elfd30v.sc,v
retrieving revision 1.13
diff -u -3 -p -r1.13 elfd30v.sc
--- ld/scripttempl/elfd30v.sc	10 Feb 2011 08:18:58 -0000	1.13
+++ ld/scripttempl/elfd30v.sc	29 Jun 2012 07:45:02 -0000
@@ -216,6 +216,13 @@ SECTIONS
   .debug_loc      0 : { *(.debug_loc) }
   .debug_macinfo  0 : { *(.debug_macinfo) }
 
+  /* DWARF 3 */
+  .debug_pubtypes 0 : { *(.debug_pubtypes) }
+  .debug_ranges   0 : { *(.debug_ranges) }
+
+  /* DWARF Extension.  */
+  .debug_macro    0 : { *(.debug_macro) } 
+  
   PROVIDE (__stack = ${STACK_START_ADDR});
 }
 EOF
Index: ld/scripttempl/elfi370.sc
===================================================================
RCS file: /cvs/src/src/ld/scripttempl/elfi370.sc,v
retrieving revision 1.10
diff -u -3 -p -r1.10 elfi370.sc
--- ld/scripttempl/elfi370.sc	10 Feb 2011 08:18:58 -0000	1.10
+++ ld/scripttempl/elfi370.sc	29 Jun 2012 07:45:02 -0000
@@ -214,6 +214,13 @@ SECTIONS
   .debug_typenames 0 : { *(.debug_typenames) }
   .debug_varnames  0 : { *(.debug_varnames) }
 
+  /* DWARF 3 */
+  .debug_pubtypes 0 : { *(.debug_pubtypes) }
+  .debug_ranges   0 : { *(.debug_ranges) }
+
+  /* DWARF Extension.  */
+  .debug_macro    0 : { *(.debug_macro) } 
+  
   ${ATTRS_SECTIONS}
   ${OTHER_SECTIONS}
 }
Index: ld/scripttempl/elfm68hc11.sc
===================================================================
RCS file: /cvs/src/src/ld/scripttempl/elfm68hc11.sc,v
retrieving revision 1.17
diff -u -3 -p -r1.17 elfm68hc11.sc
--- ld/scripttempl/elfm68hc11.sc	10 Feb 2011 08:18:58 -0000	1.17
+++ ld/scripttempl/elfm68hc11.sc	29 Jun 2012 07:45:02 -0000
@@ -456,5 +456,12 @@ SECTIONS
   .debug_str      0 : { *(.debug_str) }
   .debug_loc      0 : { *(.debug_loc) }
   .debug_macinfo  0 : { *(.debug_macinfo) }
+
+  /* DWARF 3 */
+  .debug_pubtypes 0 : { *(.debug_pubtypes) }
+  .debug_ranges   0 : { *(.debug_ranges) }
+
+  /* DWARF Extension.  */
+  .debug_macro    0 : { *(.debug_macro) } 
 }
 EOF
Index: ld/scripttempl/elfm68hc12.sc
===================================================================
RCS file: /cvs/src/src/ld/scripttempl/elfm68hc12.sc,v
retrieving revision 1.19
diff -u -3 -p -r1.19 elfm68hc12.sc
--- ld/scripttempl/elfm68hc12.sc	10 Feb 2011 08:18:58 -0000	1.19
+++ ld/scripttempl/elfm68hc12.sc	29 Jun 2012 07:45:02 -0000
@@ -459,5 +459,12 @@ SECTIONS
   .debug_str      0 : { *(.debug_str) }
   .debug_loc      0 : { *(.debug_loc) }
   .debug_macinfo  0 : { *(.debug_macinfo) }
+
+  /* DWARF 3 */
+  .debug_pubtypes 0 : { *(.debug_pubtypes) }
+  .debug_ranges   0 : { *(.debug_ranges) }
+
+  /* DWARF Extension.  */
+  .debug_macro    0 : { *(.debug_macro) } 
 }
 EOF
Index: ld/scripttempl/elfxgate.sc
===================================================================
RCS file: /cvs/src/src/ld/scripttempl/elfxgate.sc,v
retrieving revision 1.1
diff -u -3 -p -r1.1 elfxgate.sc
--- ld/scripttempl/elfxgate.sc	3 May 2012 13:12:04 -0000	1.1
+++ ld/scripttempl/elfxgate.sc	29 Jun 2012 07:45:02 -0000
@@ -459,5 +459,12 @@ SECTIONS
   .debug_str      0 : { *(.debug_str) }
   .debug_loc      0 : { *(.debug_loc) }
   .debug_macinfo  0 : { *(.debug_macinfo) }
+
+  /* DWARF 3 */
+  .debug_pubtypes 0 : { *(.debug_pubtypes) }
+  .debug_ranges   0 : { *(.debug_ranges) }
+
+  /* DWARF Extension.  */
+  .debug_macro    0 : { *(.debug_macro) } 
 }
 EOF
Index: ld/scripttempl/elfxtensa.sc
===================================================================
RCS file: /cvs/src/src/ld/scripttempl/elfxtensa.sc,v
retrieving revision 1.25
diff -u -3 -p -r1.25 elfxtensa.sc
--- ld/scripttempl/elfxtensa.sc	24 May 2012 01:04:53 -0000	1.25
+++ ld/scripttempl/elfxtensa.sc	29 Jun 2012 07:45:02 -0000
@@ -574,6 +574,9 @@ cat <<EOF
   .debug_pubtypes 0 : { *(.debug_pubtypes) }
   .debug_ranges   0 : { *(.debug_ranges) }
 
+  /* DWARF Extension.  */
+  .debug_macro    0 : { *(.debug_macro) } 
+  
   ${TINY_DATA_SECTION}
   ${TINY_BSS_SECTION}
 
Index: ld/scripttempl/i386beos.sc
===================================================================
RCS file: /cvs/src/src/ld/scripttempl/i386beos.sc,v
retrieving revision 1.4
diff -u -3 -p -r1.4 i386beos.sc
--- ld/scripttempl/i386beos.sc	2 Jun 2011 13:43:23 -0000	1.4
+++ ld/scripttempl/i386beos.sc	29 Jun 2012 07:45:02 -0000
@@ -190,5 +190,12 @@ SECTIONS
   .debug_funcnames 0 ${RELOCATING+(NOLOAD)} : { *(.debug_funcnames) }
   .debug_typenames 0 ${RELOCATING+(NOLOAD)} : { *(.debug_typenames) }
   .debug_varnames  0 ${RELOCATING+(NOLOAD)} : { *(.debug_varnames) }
+
+  /* DWARF 3 */
+  .debug_pubtypes 0 : { *(.debug_pubtypes) }
+  .debug_ranges   0 : { *(.debug_ranges) }
+
+  /* DWARF Extension.  */
+  .debug_macro    0 : { *(.debug_macro) } 
 }
 EOF
Index: ld/scripttempl/i386go32.sc
===================================================================
RCS file: /cvs/src/src/ld/scripttempl/i386go32.sc,v
retrieving revision 1.9
diff -u -3 -p -r1.9 i386go32.sc
--- ld/scripttempl/i386go32.sc	9 Sep 2009 11:59:14 -0000	1.9
+++ ld/scripttempl/i386go32.sc	29 Jun 2012 07:45:02 -0000
@@ -75,5 +75,12 @@ SECTIONS
   .debug_str      0 : { *(.debug_str) }
   .debug_loc      0 : { *(.debug_loc) }
   .debug_macinfo  0 : { *(.debug_macinfo) }
+
+  /* DWARF 3 */
+  .debug_pubtypes 0 : { *(.debug_pubtypes) }
+  .debug_ranges   0 : { *(.debug_ranges) }
+
+  /* DWARF Extension.  */
+  .debug_macro    0 : { *(.debug_macro) } 
 }
 EOF
Index: ld/scripttempl/ia64vms.sc
===================================================================
RCS file: /cvs/src/src/ld/scripttempl/ia64vms.sc,v
retrieving revision 1.1
diff -u -3 -p -r1.1 ia64vms.sc
--- ld/scripttempl/ia64vms.sc	12 Apr 2012 07:35:07 -0000	1.1
+++ ld/scripttempl/ia64vms.sc	29 Jun 2012 07:45:02 -0000
@@ -122,6 +122,9 @@ SECTIONS
   .debug_pubtypes 0 : { *(.debug_pubtypes) }
   .debug_ranges   0 : { *(.debug_ranges) }
 
+  /* DWARF Extension.  */
+  .debug_macro    0 : { *(.debug_macro) } 
+  
   .note : { *(.vms.note) }
 
   /DISCARD/ : { *(.note) }
Index: ld/scripttempl/ip2k.sc
===================================================================
RCS file: /cvs/src/src/ld/scripttempl/ip2k.sc,v
retrieving revision 1.4
diff -u -3 -p -r1.4 ip2k.sc
--- ld/scripttempl/ip2k.sc	10 Feb 2011 08:18:58 -0000	1.4
+++ ld/scripttempl/ip2k.sc	29 Jun 2012 07:45:03 -0000
@@ -146,5 +146,12 @@ SECTIONS
 	.debug_str      0 : { *(.debug_str) }
 	.debug_loc      0 : { *(.debug_loc) }
 	.debug_macinfo  0 : { *(.debug_macinfo) }
+
+	/* DWARF 3 */
+	.debug_pubtypes 0 : { *(.debug_pubtypes) }
+	.debug_ranges   0 : { *(.debug_ranges) }
+
+	/* DWARF Extension.  */
+	.debug_macro    0 : { *(.debug_macro) } 
 }
 EOF
Index: ld/scripttempl/iq2000.sc
===================================================================
RCS file: /cvs/src/src/ld/scripttempl/iq2000.sc,v
retrieving revision 1.11
diff -u -3 -p -r1.11 iq2000.sc
--- ld/scripttempl/iq2000.sc	10 Feb 2011 08:18:58 -0000	1.11
+++ ld/scripttempl/iq2000.sc	29 Jun 2012 07:45:03 -0000
@@ -436,6 +436,13 @@ cat <<EOF
   .debug_typenames 0 : { *(.debug_typenames) }
   .debug_varnames  0 : { *(.debug_varnames) }
 
+  /* DWARF 3 */
+  .debug_pubtypes 0 : { *(.debug_pubtypes) }
+  .debug_ranges   0 : { *(.debug_ranges) }
+
+  /* DWARF Extension.  */
+  .debug_macro    0 : { *(.debug_macro) } 
+
   ${RELOCATING+${OTHER_RELOCATING_SECTIONS}}
 
   /* These must appear regardless of ${RELOCATING}.  */
Index: ld/scripttempl/mep.sc
===================================================================
RCS file: /cvs/src/src/ld/scripttempl/mep.sc,v
retrieving revision 1.10
diff -u -3 -p -r1.10 mep.sc
--- ld/scripttempl/mep.sc	24 May 2012 01:04:53 -0000	1.10
+++ ld/scripttempl/mep.sc	29 Jun 2012 07:45:03 -0000
@@ -436,6 +436,13 @@ cat <<EOF
   .debug_typenames 0 : { *(.debug_typenames) }
   .debug_varnames  0 : { *(.debug_varnames) }
 
+  /* DWARF 3 */
+  .debug_pubtypes 0 : { *(.debug_pubtypes) }
+  .debug_ranges   0 : { *(.debug_ranges) }
+
+  /* DWARF Extension.  */
+  .debug_macro    0 : { *(.debug_macro) } 
+
   ${STACK_ADDR+${STACK}}
   ${OTHER_SECTIONS}
   ${RELOCATING+${OTHER_END_SYMBOLS}}
Index: ld/scripttempl/mmo.sc
===================================================================
RCS file: /cvs/src/src/ld/scripttempl/mmo.sc,v
retrieving revision 1.10
diff -u -3 -p -r1.10 mmo.sc
--- ld/scripttempl/mmo.sc	10 Feb 2011 08:18:58 -0000	1.10
+++ ld/scripttempl/mmo.sc	29 Jun 2012 07:45:03 -0000
@@ -80,6 +80,13 @@ SECTIONS
   .debug_macinfo  0 : { *(.debug_macinfo) }
   .debug_ranges   0 : { *(.debug_ranges) }
 
+  /* DWARF 3 */
+  .debug_pubtypes 0 : { *(.debug_pubtypes) }
+  .debug_ranges   0 : { *(.debug_ranges) }
+
+  /* DWARF Extension.  */
+  .debug_macro    0 : { *(.debug_macro) } 
+
   .data ${RELOCATING+ ${DATA_ADDR}}:
   {
     ${RELOCATING+ PROVIDE(__Sdata = .);}
Index: ld/scripttempl/v850.sc
===================================================================
RCS file: /cvs/src/src/ld/scripttempl/v850.sc,v
retrieving revision 1.11
diff -u -3 -p -r1.11 v850.sc
--- ld/scripttempl/v850.sc	27 May 2011 10:47:46 -0000	1.11
+++ ld/scripttempl/v850.sc	29 Jun 2012 07:45:03 -0000
@@ -222,6 +222,13 @@ SECTIONS
   .debug_typenames 0	: { *(.debug_typenames) }
   .debug_varnames  0	: { *(.debug_varnames) }
 
+  /* DWARF 3 */
+  .debug_pubtypes 0 : { *(.debug_pubtypes) }
+  .debug_ranges   0 : { *(.debug_ranges) }
+
+  /* DWARF Extension.  */
+  .debug_macro    0 : { *(.debug_macro) } 
+
   /* User stack.  */
   .stack 0x200000	:
   {
Index: ld/scripttempl/xstormy16.sc
===================================================================
RCS file: /cvs/src/src/ld/scripttempl/xstormy16.sc,v
retrieving revision 1.16
diff -u -3 -p -r1.16 xstormy16.sc
--- ld/scripttempl/xstormy16.sc	10 Feb 2011 08:18:58 -0000	1.16
+++ ld/scripttempl/xstormy16.sc	29 Jun 2012 07:45:03 -0000
@@ -233,6 +233,13 @@ SECTIONS
   .debug_typenames 0 : { *(.debug_typenames) }
   .debug_varnames  0 : { *(.debug_varnames) }
 
+  /* DWARF 3 */
+  .debug_pubtypes 0 : { *(.debug_pubtypes) }
+  .debug_ranges   0 : { *(.debug_ranges) }
+
+  /* DWARF Extension.  */
+  .debug_macro    0 : { *(.debug_macro) } 
+
   ${RELOCATING+${OTHER_RELOCATING_SECTIONS}}
 
   /* These must appear regardless of ${RELOCATING}.  */

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