genode/repos/base-linux/src/ld/stack_area.nostdlib.ld

29 lines
609 B
Plaintext
Raw Normal View History

2011-12-22 16:19:25 +01:00
/*
* \brief Linux-specific linker script additions (STDLIB = no)
* \author Christian Helmuth
* \date 2010-09-22
*/
/*
2013-01-10 21:44:47 +01:00
* Copyright (C) 2010-2013 Genode Labs GmbH
2011-12-22 16:19:25 +01:00
*
* This file is part of the Genode OS framework, which is distributed
* under the terms of the GNU General Public License version 2.
*/
PHDRS
{
stack_area PT_LOAD FLAGS(0);
2011-12-22 16:19:25 +01:00
}
SECTIONS
{
. = 0x40000000;
_stack_area_start = .;
/*
* Since Linux loads ldso page aligned, we align the stack area after
* loading to a 1 MiB boundary, therefore we reserve one MiB more here.
*/
.stack_area : { . += 0x10100000; } : stack_area
2011-12-22 16:19:25 +01:00
}