2011-12-22 15:19:25 +00:00
|
|
|
#
|
|
|
|
# Specifics for 64-bit x86
|
|
|
|
#
|
|
|
|
SPECS += x86 64bit
|
|
|
|
|
|
|
|
#
|
|
|
|
# x86-specific Genode headers
|
|
|
|
#
|
2015-09-03 12:55:05 +00:00
|
|
|
REP_INC_DIR += include/spec/x86
|
|
|
|
REP_INC_DIR += include/spec/x86_64
|
2011-12-22 15:19:25 +00:00
|
|
|
|
2012-06-06 08:19:48 +00:00
|
|
|
CC_MARCH ?= -m64
|
|
|
|
|
2012-09-05 12:51:31 +00:00
|
|
|
#
|
|
|
|
# Avoid wasting almost 4 MiB by telling the linker that the max page size is
|
|
|
|
# 4K. Otherwise, the linker would align the text segment to a 4M boundary,
|
|
|
|
# effectively adding 4M of zeros to each binary.
|
|
|
|
#
|
|
|
|
# See http://sourceware.org/ml/binutils/2009-04/msg00099.html
|
|
|
|
#
|
2015-06-25 15:52:25 +00:00
|
|
|
LD_MARCH ?= -melf_x86_64
|
2012-09-05 12:51:31 +00:00
|
|
|
|
2017-04-01 17:49:30 +00:00
|
|
|
NIM_CPU ?= amd64
|
|
|
|
|
2017-04-07 08:48:02 +00:00
|
|
|
include $(BASE_DIR)/mk/spec/64bit.mk
|
|
|
|
include $(BASE_DIR)/mk/spec/x86.mk
|