constify to_open
[deliverable/binutils-gdb.git] / ld / scripttempl / ia64vms.sc
index b0b1c42a17d591265644da024fbd7612baf2e868..ba50f66fbdda91f9bd4e1e1fee6b5bf837c363eb 100644 (file)
@@ -16,14 +16,14 @@ SECTIONS
 
   \$DATA\$ ALIGN (${BLOCKSIZE}) : {
     *(\$DATA\$ .data .data.*)
-    *(\$BSS\$ .bss)
+    *(\$BSS\$ .bss .bss.*)
   }
 
   /* Code segment.  Note: name must be \$CODE\$ */
   ${RELOCATING+. = ALIGN (${PAGESIZE});}
 
   \$CODE\$ ALIGN (${BLOCKSIZE}) : {
-    *(\$CODE\$ .text)
+    *(\$CODE\$ .text .text.*)
   }
   .plt ALIGN (8) : {
     *(.plt)
@@ -35,7 +35,7 @@ SECTIONS
   /* RO initialized data.  */
   \$LITERAL\$ ALIGN (${BLOCKSIZE}) : {
     *(\$LITERAL\$)
-    *(\$READONLY\$ .rodata)
+    *(\$READONLY\$ .rodata .rodata.*)
     *(.jcr)
     *(.ctors)
     *(.dtors)
@@ -53,7 +53,7 @@ SECTIONS
   ${RELOCATING+. = ALIGN (${PAGESIZE});}
 
   .srodata : {
-    *(.srodata)
+    *(.srodata .srodata.*)
   }
   .got ALIGN (8) : {
     *(.got)
@@ -71,7 +71,7 @@ SECTIONS
 
   \$RW_SHORT\$ ALIGN (${BLOCKSIZE}) : {
     *(.sdata .sdata.*)
-    *(.sbss)
+    *(.sbss .sbss.*)
   }
 
   ${RELOCATING+. = ALIGN (${PAGESIZE});}
@@ -104,26 +104,13 @@ SECTIONS
   .gnu.version_r : { *(.gnu.version_r) }
   .rela.IA_64.pltoff : { *(.rela.IA_64.pltoff) }
 
-  /* DWARF 2 */
-  .debug_info     0 : { *(.debug_info${RELOCATING+ .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) }
-  .debug_aranges  0 : { *(.debug_aranges) }
-  .debug_pubnames 0 : { *(.debug_pubnames) }
-  .trace_info     0 : { *(.trace_info) }
-  .trace_abbrev   0 : { *(.trace_abbrev) }
-  .trace_aranges  0 : { *(.trace_aranges) }
-
-  /* DWARF 3 */
-  .debug_pubtypes 0 : { *(.debug_pubtypes) }
-  .debug_ranges   0 : { *(.debug_ranges) }
+EOF
+
+. $srcdir/scripttempl/DWARF.sc
 
+cat <<EOF  
   .note : { *(.vms.note) }
 
-  /DISCARD/ : { *(.note) }
+  /DISCARD/ : { *(.note) *(.vms_display_name_info) }
 }
 EOF
This page took 0.025581 seconds and 4 git commands to generate.