]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - ld/scripttempl/aix.sc
This commit was manufactured by cvs2svn to create branch
[thirdparty/binutils-gdb.git] / ld / scripttempl / aix.sc
index ec67ee149ca6b9b80f3a3ef7a30356942f9892c8..cdd3eac8139f77b907d398f5cd24d749caf306e8 100644 (file)
@@ -2,14 +2,16 @@
 # AIX always uses shared libraries.  The section VMA appears to be
 # unimportant.  The native linker aligns the sections on boundaries
 # specified by the -H option.
+
 cat <<EOF
-OUTPUT_FORMAT("${OUTPUT_FORMAT}")
 OUTPUT_ARCH(${ARCH})
 ${RELOCATING+${LIB_SEARCH_DIRS}}
 ENTRY(__start)
 SECTIONS
 {
   .pad 0 : { *(.pad) }
+
+  . = 0x10000000;
   .text ${RELOCATING-0} : {
     ${RELOCATING+PROVIDE (_text = .);}
     *(.text)
@@ -22,12 +24,17 @@ SECTIONS
     *(.tb)
     ${RELOCATING+PROVIDE (_etext = .);}
   }
-  .data 0 : {
+  . = ALIGN (0x10000000);
+  .data . : {
     ${RELOCATING+PROVIDE (_data = .);}
     *(.data)
     *(.rw)
     *(.sv)
+    *(.sv64)
+    *(.sv3264)
     *(.ua)
+    . = ALIGN(4);
+    ${CONSTRUCTING+CONSTRUCTORS}
     *(.ds)
     *(.tc0)
     *(.tc)
@@ -35,6 +42,7 @@ SECTIONS
     ${RELOCATING+PROVIDE (_edata = .);}
   }
   .bss : {
+    *(.tocbss)
     *(.bss)
     *(.bs)
     *(.uc)
@@ -42,10 +50,12 @@ SECTIONS
     ${RELOCATING+PROVIDE (_end = .);}
     ${RELOCATING+PROVIDE (end = .);}
   }
-  .loader 0 : {
+
+  .loader : {
     *(.loader)
   }
-  .debug 0 : {
+  
+  .debug : {
     *(.debug)
   }
 }