Files
codezero/conts/posix/test0/include/test_exec_linker.lds.in
Bahadir Balban 6fa4884a5a Changes since April
Clean up of build directories.
Simplifications to capability model.
2010-06-01 15:08:13 +03:00

37 lines
573 B
Plaintext

/*
* Simple linker script for userspace or svc tasks.
*
* Copyright (C) 2007 Bahadir Balban
*/
virtual_base = %s;
/* First page before the env/args */
OUTPUT_ARCH(arm)
ENTRY(_start)
PHDRS
{
rx PT_LOAD;
rw PT_LOAD;
}
SECTIONS
{
. = virtual_base;
/* RX, RO sections */
.text : { *(.text.head) *(.text) } : rx =0x90909090
.rodata : { *(.rodata) } : rx =0x90909090
.rodata1 : { *(.rodata1) } : rx =0x90909090
. = ALIGN(4K);
/* RW sections */
.data : { *(.data) } : rw
.got : { *(.got) } : rw
.got.plt : { *(.got.plt) } :rw
.bss : { *(.bss) } : rw
}