RosBE/RosBE-PPC/ldscript
Art Yerkes 6e7529a7b5 RosBE-PPC package. Needed for building ReactOS for PPC.
Install it by running './install.sh $HOME/rosbe-ppc' and then run 
'$HOME/rosbe-ppc/rosbe' to get a shell with the right environment to build.
You can just do 'make -k install' (not everything builds) to get enough to help
porting.

A big endian registry maker (pyhive) and nls swapper (pynls) are provided to 
seed registry hives and nls files.

svn path=/trunk/tools/RosBE/; revision=542
2007-11-15 22:38:36 +00:00

70 lines
909 B
Plaintext

/* 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)
*(.got2)
*(.eh_frame)
}
.idata :
{
*(.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 :
{
*(.sbss)
*(.bss)
*(COMMON)
}
.rsrc :
{
*(.rsrc)
}
.rela.text :
{
*(.rela.text)
}
.rela.data :
{
*(.rela.data)
}
.rela.rodata :
{
*(.rela.rodata)
}
.rela.got2 :
{
*(.rela.got2)
}
}