Makefile (dfc3095cec27f402c183da920f4733785e4c873d) Makefile (688de017efaab8a7764ab2c05ce7128d0361023b)
1# This file is included by the global makefile so that you can add your own
2# architecture-specific flags and dependencies.
3#
4# This file is subject to the terms and conditions of the GNU General Public
5# License. See the file "COPYING" in the main directory of this archive
6# for more details.
7#
8# Copyright (C) 1994 by Linus Torvalds

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

205
206# Never use string load/store instructions as they are
207# often slow when they are implemented at all
208KBUILD_CFLAGS += $(call cc-option,-mno-string)
209
210cpu-as-$(CONFIG_40x) += -Wa,-m405
211cpu-as-$(CONFIG_44x) += -Wa,-m440
212cpu-as-$(CONFIG_ALTIVEC) += $(call as-option,-Wa$(comma)-maltivec)
1# This file is included by the global makefile so that you can add your own
2# architecture-specific flags and dependencies.
3#
4# This file is subject to the terms and conditions of the GNU General Public
5# License. See the file "COPYING" in the main directory of this archive
6# for more details.
7#
8# Copyright (C) 1994 by Linus Torvalds

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

205
206# Never use string load/store instructions as they are
207# often slow when they are implemented at all
208KBUILD_CFLAGS += $(call cc-option,-mno-string)
209
210cpu-as-$(CONFIG_40x) += -Wa,-m405
211cpu-as-$(CONFIG_44x) += -Wa,-m440
212cpu-as-$(CONFIG_ALTIVEC) += $(call as-option,-Wa$(comma)-maltivec)
213cpu-as-$(CONFIG_E500) += -Wa,-me500
213cpu-as-$(CONFIG_PPC_E500) += -Wa,-me500
214
215# When using '-many -mpower4' gas will first try and find a matching power4
216# mnemonic and failing that it will allow any valid mnemonic that GAS knows
217# about. GCC will pass -many to GAS when assembling, clang does not.
218# LLVM IAS doesn't understand either flag: https://github.com/ClangBuiltLinux/linux/issues/675
219# but LLVM IAS only supports ISA >= 2.06 for Book3S 64 anyway...
220cpu-as-$(CONFIG_PPC_BOOK3S_64) += $(call as-option,-Wa$(comma)-mpower4) $(call as-option,-Wa$(comma)-many)
221cpu-as-$(CONFIG_PPC_E500MC) += $(call as-option,-Wa$(comma)-me500mc)

--- 205 unchanged lines hidden ---
214
215# When using '-many -mpower4' gas will first try and find a matching power4
216# mnemonic and failing that it will allow any valid mnemonic that GAS knows
217# about. GCC will pass -many to GAS when assembling, clang does not.
218# LLVM IAS doesn't understand either flag: https://github.com/ClangBuiltLinux/linux/issues/675
219# but LLVM IAS only supports ISA >= 2.06 for Book3S 64 anyway...
220cpu-as-$(CONFIG_PPC_BOOK3S_64) += $(call as-option,-Wa$(comma)-mpower4) $(call as-option,-Wa$(comma)-many)
221cpu-as-$(CONFIG_PPC_E500MC) += $(call as-option,-Wa$(comma)-me500mc)

--- 205 unchanged lines hidden ---