mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-26 08:51:08 +00:00
7f73e5e879
This patch moves details about the stack allocation and organization the base-internal headers. Thereby, I replaced the notion of "thread contexts" by "stacks" as this term is much more intuitive. The fact that we place thread-specific information at the bottom of the stack is not worth introducing new terminology. Issue #1832
21 lines
588 B
Makefile
21 lines
588 B
Makefile
#
|
|
# Specifics for the Linux-specific Genode components
|
|
#
|
|
|
|
#
|
|
# Startup code to be used when building a program and linker script that is
|
|
# specific for Linux. We also reserve the stack area via a segment in
|
|
# the program under Linux to prevent clashes with vdso.
|
|
#
|
|
ifneq ($(USE_HOST_LD_SCRIPT),yes)
|
|
LD_TEXT_ADDR ?= 0x01000000
|
|
LD_SCRIPT_STATIC = $(call select_from_repositories,src/ld/genode.ld) \
|
|
$(call select_from_repositories,src/ld/stack_area.nostdlib.ld)
|
|
else
|
|
LD_SCRIPT_STATIC ?=
|
|
endif
|
|
|
|
ifneq ($(filter hardening_tool_chain, $(SPECS)),)
|
|
CC_OPT += -fPIC
|
|
endif
|