Files
codezero/conts/posix/test0/include/test_exec_linker.lds
Bahadir Balban 1aa31bc9d5 We have all posix programs getting compiled.
A lot of hassles on standard c library, mock-up libc, and libposix
headers taken from uClibc clashing has been worked around.

Next:
 - Linker scripts need fixing and adjusting.
 - Bootdesc needs to be generated.
 - Per-container compilation scripts need connecting.
2009-09-29 23:06:29 +03:00

22 lines
382 B
Plaintext

/*
* Simple linker script for userspace or svc tasks.
*
* Copyright (C) 2007 Bahadir Balban
*/
virtual_base = 0x10000000;
__stack = (0x20000000 - 0x1000 - 8); /* First page before the env/args */
ENTRY(_start)
SECTIONS
{
. = virtual_base;
.text : { *(.text.head) *(.text) }
.rodata : { *(.rodata) }
.rodata1 : { *(.rodata1) }
.data : { *(.data) }
.bss : { *(.bss) }
}