mirror of
https://github.com/reactos/RosBE.git
synced 2024-11-26 21:00:28 +00:00
6e7529a7b5
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
70 lines
909 B
Plaintext
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)
|
|
}
|
|
}
|