mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01:00
linux: stack-area handling with recent Linux kernels
We moved the stack-area segment 128 MiB behind text and data to comply with assumptions in the kernel ELF loader. This commit also reenables static binaries on linux and removes the unused stack_area.stdlib.ld script. Fixes #2521
This commit is contained in:
@@ -63,7 +63,12 @@ CXX_LINK_OPT += $(CC_MARCH)
|
||||
#
|
||||
# Generic linker script for statically linked binaries
|
||||
#
|
||||
ifneq ($(filter linux, $(SPECS)),)
|
||||
LD_SCRIPT_STATIC ?= $(BASE_DIR)/src/ld/genode.ld \
|
||||
$(call select_from_repositories,src/ld/stack_area.ld)
|
||||
else
|
||||
LD_SCRIPT_STATIC ?= $(BASE_DIR)/src/ld/genode.ld
|
||||
endif
|
||||
|
||||
include $(BASE_DIR)/mk/generic.mk
|
||||
include $(BASE_DIR)/mk/base-libs.mk
|
||||
|
||||
Reference in New Issue
Block a user