Added boot_loader.ld file (same as stage2.ld for ppc).

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7292 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2004-04-22 00:53:55 +00:00
parent b747c3b791
commit 90323acc2d

View File

@ -0,0 +1,32 @@
OUTPUT_FORMAT("elf32-powerpc", "elf32-powerpc", "elf32-powerpc")
OUTPUT_ARCH(powerpc)
ENTRY(_start)
SECTIONS
{
. = 0x102000 + SIZEOF_HEADERS;
/* text/read-only data */
.text : { *(.text .gnu.linkonce.t.*) }
__ctor_list = .;
.ctors : { *(.ctors) }
__ctor_end = .;
.rodata : { *(.rodata) }
/* writable data */
. = ALIGN(0x1000);
__data_start = .;
.data : { *(.data .gnu.linkonce.d.*) }
/* unintialized data (in same segment as writable data) */
__bss_start = .;
.bss : { *(.bss) }
. = ALIGN(0x1000);
_end = . ;
/* Strip unnecessary stuff */
/DISCARD/ : { *(.comment .note .eh_frame .dtors) }
}