Author: arty
Date: Fri Jan 5 08:45:52 2007
New Revision: 25301
URL:
http://svn.reactos.org/svn/reactos?rev=25301&view=rev
Log:
ldscript used to link reactos ppc executables.
Added:
branches/powerpc/reactos/tools/ppc-build/ldscript
Added: branches/powerpc/reactos/tools/ppc-build/ldscript
URL:
http://svn.reactos.org/svn/reactos/branches/powerpc/reactos/tools/ppc-build…
==============================================================================
--- branches/powerpc/reactos/tools/ppc-build/ldscript (added)
+++ branches/powerpc/reactos/tools/ppc-build/ldscript Fri Jan 5 08:45:52 2007
@@ -1,0 +1,62 @@
+/* Default linker script, for normal executables */
+OUTPUT_FORMAT("elf32-powerpc", "elf32-powerpc",
+ "elf32-powerpc")
+OUTPUT_ARCH(powerpc:common)
+SECTIONS
+{
+ .text :
+ {
+ __text_start__ = .;
+ *(.text)
+ *(init)
+ *(INIT)
+ __text_end__ = .;
+ }
+ .data :
+ {
+ *(.data)
+ *(.data2)
+ *(.rdata)
+ *(.sdata)
+ *(.pdata)
+ }
+ .rodata :
+ {
+ *(.rodata)
+ }
+ .idata :
+ {
+ SORT(*)(.idata$2)
+ SORT(*)(.idata$3)
+ LONG(0); LONG(0); LONG(0); LONG(0); LONG(0);
+ SORT(*)(.idata$4)
+ SORT(*)(.idata$5)
+ SORT(*)(.idata$6)
+ SORT(*)(.idata$7)
+ }
+ .edata :
+ {
+ *(.edata)
+ }
+ .bss :
+ {
+ *(.bss)
+ *(COMMON)
+ }
+ .rela.text :
+ {
+ *(.rela.text)
+ }
+ .rela.data :
+ {
+ *(.rela.data)
+ }
+ .rela.rodata :
+ {
+ *(.rela.rodata)
+ }
+ .rela.got2 :
+ {
+ *(.rela.got2)
+ }
+}