Makefile (d93618da6b6d453c6a9684a3460ffd51b9b4ef2e) | Makefile (68c76ad4a9571a2b603665c85cf8229bcf04982a) |
---|---|
1# 2# arch/arm64/Makefile 3# 4# This file is included by the global makefile so that you can add your own 5# architecture-specific flags and dependencies. 6# 7# This file is subject to the terms and conditions of the GNU General Public 8# License. See the file "COPYING" in the main directory of this archive --- 31 unchanged lines hidden (view full) --- 40 $(compat_vdso) $(cc_has_k_constraint) 41KBUILD_CFLAGS += $(call cc-disable-warning, psabi) 42KBUILD_AFLAGS += $(compat_vdso) 43 44KBUILD_CFLAGS += $(call cc-option,-mabi=lp64) 45KBUILD_AFLAGS += $(call cc-option,-mabi=lp64) 46 47# Avoid generating .eh_frame* sections. | 1# 2# arch/arm64/Makefile 3# 4# This file is included by the global makefile so that you can add your own 5# architecture-specific flags and dependencies. 6# 7# This file is subject to the terms and conditions of the GNU General Public 8# License. See the file "COPYING" in the main directory of this archive --- 31 unchanged lines hidden (view full) --- 40 $(compat_vdso) $(cc_has_k_constraint) 41KBUILD_CFLAGS += $(call cc-disable-warning, psabi) 42KBUILD_AFLAGS += $(compat_vdso) 43 44KBUILD_CFLAGS += $(call cc-option,-mabi=lp64) 45KBUILD_AFLAGS += $(call cc-option,-mabi=lp64) 46 47# Avoid generating .eh_frame* sections. |
48ifneq ($(CONFIG_UNWIND_TABLES),y) |
|
48KBUILD_CFLAGS += -fno-asynchronous-unwind-tables -fno-unwind-tables 49KBUILD_AFLAGS += -fno-asynchronous-unwind-tables -fno-unwind-tables | 49KBUILD_CFLAGS += -fno-asynchronous-unwind-tables -fno-unwind-tables 50KBUILD_AFLAGS += -fno-asynchronous-unwind-tables -fno-unwind-tables |
51else 52KBUILD_CFLAGS += -fasynchronous-unwind-tables 53KBUILD_AFLAGS += -fasynchronous-unwind-tables 54endif |
|
50 51ifeq ($(CONFIG_STACKPROTECTOR_PER_TASK),y) 52prepare: stack_protector_prepare 53stack_protector_prepare: prepare0 54 $(eval KBUILD_CFLAGS += -mstack-protector-guard=sysreg \ 55 -mstack-protector-guard-reg=sp_el0 \ 56 -mstack-protector-guard-offset=$(shell \ 57 awk '{if ($$2 == "TSK_STACK_CANARY") print $$3;}' \ --- 158 unchanged lines hidden --- | 55 56ifeq ($(CONFIG_STACKPROTECTOR_PER_TASK),y) 57prepare: stack_protector_prepare 58stack_protector_prepare: prepare0 59 $(eval KBUILD_CFLAGS += -mstack-protector-guard=sysreg \ 60 -mstack-protector-guard-reg=sp_el0 \ 61 -mstack-protector-guard-offset=$(shell \ 62 awk '{if ($$2 == "TSK_STACK_CANARY") print $$3;}' \ --- 158 unchanged lines hidden --- |