Makefile (25768de50b1f2dbb6ea44bd5148a87fe2c9c3688) Makefile (40f6852ef2bffcd6fb3634cf71e6fbc2d1d6b768)
1# SPDX-License-Identifier: GPL-2.0
2all:
3
4include ../lib.mk
5
6.PHONY: all all_32 all_64 warn_32bit_failure clean
7
8UNAME_M := $(shell uname -m)

--- 118 unchanged lines hidden (view full) ---

127# check_initial_reg_state is special: it needs a custom entry, and it
128# needs to be static so that its interpreter doesn't destroy its initial
129# state.
130$(OUTPUT)/check_initial_reg_state_32: CFLAGS += -Wl,-ereal_start -static
131$(OUTPUT)/check_initial_reg_state_64: CFLAGS += -Wl,-ereal_start -static
132
133$(OUTPUT)/nx_stack_32: CFLAGS += -Wl,-z,noexecstack
134$(OUTPUT)/nx_stack_64: CFLAGS += -Wl,-z,noexecstack
1# SPDX-License-Identifier: GPL-2.0
2all:
3
4include ../lib.mk
5
6.PHONY: all all_32 all_64 warn_32bit_failure clean
7
8UNAME_M := $(shell uname -m)

--- 118 unchanged lines hidden (view full) ---

127# check_initial_reg_state is special: it needs a custom entry, and it
128# needs to be static so that its interpreter doesn't destroy its initial
129# state.
130$(OUTPUT)/check_initial_reg_state_32: CFLAGS += -Wl,-ereal_start -static
131$(OUTPUT)/check_initial_reg_state_64: CFLAGS += -Wl,-ereal_start -static
132
133$(OUTPUT)/nx_stack_32: CFLAGS += -Wl,-z,noexecstack
134$(OUTPUT)/nx_stack_64: CFLAGS += -Wl,-z,noexecstack
135
136$(OUTPUT)/amx_64: EXTRA_FILES += xstate.c