mirror of
https://github.com/genodelabs/genode.git
synced 2025-05-09 03:52:56 +00:00
* move stack area to static address at beginning of binary * set ELF type of linker from shared to executable fixes #3479
32 lines
530 B
Plaintext
32 lines
530 B
Plaintext
/*
|
|
* \brief Linux-specific linker script additions
|
|
* \author Christian Helmuth
|
|
* \date 2010-09-22
|
|
*/
|
|
|
|
/*
|
|
* Copyright (C) 2010-2017 Genode Labs GmbH
|
|
*
|
|
* This file is part of the Genode OS framework, which is distributed
|
|
* under the terms of the GNU Affero General Public License version 3.
|
|
*/
|
|
|
|
PHDRS
|
|
{
|
|
stack_area PT_LOAD FLAGS(0);
|
|
}
|
|
|
|
SECTIONS
|
|
{
|
|
/*
|
|
* Start of Linux binary and stack area
|
|
*/
|
|
. = 0x40000000; /* 1GB */
|
|
_stack_area_start = .;
|
|
|
|
/*
|
|
* 256 MB
|
|
*/
|
|
.stack_area : { . += 0x10000000; } : stack_area
|
|
}
|