mirror of
https://github.com/drasko/codezero.git
synced 2026-01-12 02:43:15 +01:00
30 lines
476 B
Plaintext
30 lines
476 B
Plaintext
/*
|
|
* Loader linker script that contains kernel and container images
|
|
*
|
|
* Copyright (C) 2008-2009 B Labs Ltd.
|
|
*/
|
|
|
|
load_address = %s;
|
|
ENTRY(_start)
|
|
|
|
SECTIONS
|
|
{
|
|
. = load_address;
|
|
.text : { *(.text.head) *(.text) }
|
|
.rodata : { *(.rodata) }
|
|
.rodata1 : { *(.rodata1) }
|
|
.data :
|
|
{
|
|
_start_kernel = .;
|
|
*(.kernel)
|
|
_end_kernel = .;
|
|
|
|
_start_containers = .;
|
|
*(.containers)
|
|
_end_containers = .;
|
|
*(.data)
|
|
}
|
|
.got : { *(.got) *(.got.plt) }
|
|
.bss : { *(.bss) }
|
|
}
|