mirror of
https://github.com/drasko/codezero.git
synced 2026-01-21 15:23:15 +01:00
Currently, the tid returned from kernel contains container id as well, which makes it sufficient to do inter-container syscalls without any preparation. The helpers added are for presentation purposes only. Container id is deleted so that the raw thread id is available for printing or similar.
26 lines
402 B
Plaintext
26 lines
402 B
Plaintext
/*
|
|
* Simple linker script for userspace or svc tasks.
|
|
*
|
|
* Copyright (C) 2007 Bahadir Balban
|
|
*/
|
|
|
|
virtual_base = %s;
|
|
|
|
/* First page before the env/args */
|
|
|
|
|
|
ENTRY(_start)
|
|
|
|
SECTIONS
|
|
{
|
|
. = virtual_base;
|
|
.text : { *(.text.head) *(.text) }
|
|
.rodata : { *(.rodata) }
|
|
.rodata1 : { *(.rodata1) }
|
|
. = ALIGN(4K);
|
|
.data : { *(.data) }
|
|
.got : { *(.got) }
|
|
.got.plt : { *(.got.plt) }
|
|
.bss : { *(.bss) }
|
|
}
|