You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cilo/powerpc.lds

31 lines
344 B
Plaintext

OUTPUT_ARCH(powerpc:common)
ENTRY(_start)
EXTERN(_start)
PHDRS
{
text PT_LOAD FILEHDR PHDRS ;
}
SECTIONS
{
.text :
{
. = ALIGN(4096);
*(.text)
*(.rodata*)
*(.data*)
*(.sdata*)
*(.got2)
*(.bss)
*(.sbss)
} :text
/DISCARD/ :
{
*(.comment)
*(.note.GNU-stack)
*(.gnu.attributes)
}
}