* scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end.
authorDJ Delorie <dj@redhat.com>
Wed, 6 Dec 2000 16:39:51 +0000 (16:39 +0000)
committerDJ Delorie <dj@redhat.com>
Wed, 6 Dec 2000 16:39:51 +0000 (16:39 +0000)
Set DWARF2 sections to a VMA of zero.

ld/ChangeLog
ld/scripttempl/i386go32.sc

index 6624b00a63439518bb6dbd9c1de23715cb96bcaa..d09924c1299830a246572fc844ed274e5763df8d 100644 (file)
@@ -1,3 +1,8 @@
+2000-12-06  Mark Elbrecht  <snowball3@bigfoot.com>
+
+       * scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end.
+       Set DWARF2 sections to a VMA of zero.
+
 2000-12-01      Joel Sherrill <joel@OARcorp.com>
 
         * configure.tgt (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*):
index 330e4d3acd494b3160b92a7f6352cd8d89ab3d8b..ac67b92296c10078929e7e1c6d688bf7456ca26a 100644 (file)
@@ -27,7 +27,7 @@ SECTIONS
     *(.const*)
     *(.ro*)
     ${RELOCATING+*(.gnu.linkonce.r*)}
-    ${RELOCATING+etext  =  . ; _etext = . ;}
+    ${RELOCATING+etext  =  . ; PROVIDE(_etext = .) ;}
     ${RELOCATING+. = ALIGN(${SEGMENT_SIZE});}
   }
   .data ${RELOCATING+ ${DATA_ALIGNMENT}} : {
@@ -48,7 +48,7 @@ SECTIONS
     ${RELOCATING+LONG(0);}
 
     ${RELOCATING+*(.gnu.linkonce.d*)}
-    ${RELOCATING+edata  =  . ; _edata = . ;}
+    ${RELOCATING+edata  =  . ; PROVIDE(_edata = .) ;}
     ${RELOCATING+. = ALIGN(${SEGMENT_SIZE});}
   }
   ${CONSTRUCTING+${RELOCATING-$CTOR}}
@@ -57,8 +57,18 @@ SECTIONS
   {                                    
     *(.bss)
     *(COMMON)
-    ${RELOCATING+ end = . ; _end = . ;}
+    ${RELOCATING+ end = . ; PROVIDE(_end = .) ;}
     ${RELOCATING+ . = ALIGN(${SEGMENT_SIZE});}
   }
+  /* DWARF 2 */
+  .debug_aranges  0 : { *(.debug_aranges) }
+  .debug_pubnames 0 : { *(.debug_pubnames) }
+  .debug_info     0 : { *(.debug_info) *(.gnu.linkonce.wi.*) }
+  .debug_abbrev   0 : { *(.debug_abbrev) }
+  .debug_line     0 : { *(.debug_line) }
+  .debug_frame    0 : { *(.debug_frame) }
+  .debug_str      0 : { *(.debug_str) }
+  .debug_loc      0 : { *(.debug_loc) }
+  .debug_macinfo  0 : { *(.debug_macinfo) }
 }
 EOF
This page took 0.030392 seconds and 4 git commands to generate.