2014-03-23 18:40:31 +01:00
|
|
|
/* Copyright 2008-2009 Segher Boessenkool <segher@kernel.crashing.org>
|
|
|
|
This code is licensed to you under the terms of the GNU GPL, version 2;
|
|
|
|
see file COPYING or http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt */
|
|
|
|
|
|
|
|
OUTPUT_FORMAT("elf32-powerpc")
|
|
|
|
OUTPUT_ARCH(powerpc:common)
|
|
|
|
|
|
|
|
ENTRY(_start)
|
|
|
|
|
|
|
|
SECTIONS {
|
|
|
|
. = 0x93300000;
|
|
|
|
|
|
|
|
.start : { crt0.o(*) }
|
|
|
|
.text : { *(.text) }
|
|
|
|
.rodata : { *(.rodata .rodata.*)}
|
|
|
|
.data : { *(.data) }
|
|
|
|
|
|
|
|
__bss_start = .;
|
|
|
|
.bss : { *(.bss) }
|
|
|
|
__bss_end = .;
|
|
|
|
|
|
|
|
. = ALIGN(0x40);
|
2014-03-31 20:14:46 +02:00
|
|
|
__stack_end = .;
|
2014-03-23 18:40:31 +01:00
|
|
|
.stack : {
|
|
|
|
. += 0x8000;
|
2014-03-30 23:45:47 +02:00
|
|
|
__stack_top = .;
|
2014-03-23 18:40:31 +01:00
|
|
|
}
|
|
|
|
}
|