mirror of
https://github.com/drasko/codezero.git
synced 2026-01-16 04:43:16 +01:00
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.
22 lines
382 B
Plaintext
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) }
|
|
}
|