xtensa: use -mlongcalls instead of --longcalls
gcc only understands -mlongcalls form of this option, xcc understands both. Use -mlongcalls for building with both xcc and gcc. Change-Id: I93f65ccbc97429ae564f1986120b37ce205ee38c Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
This commit is contained in:
parent
ac430f9595
commit
a0fa4f3265
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
ccflags-y += -I$(srctree)/kernel/unified/include
|
||||
asflags-y += -I$(srctree)/kernel/unified/include --longcalls
|
||||
asflags-y += -I$(srctree)/kernel/unified/include -mlongcalls
|
||||
|
||||
ifdef CONFIG_ATOMIC_OPERATIONS_C
|
||||
# Use C routines from kernel/atomic_c.c
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
asflags-y := -c -xassembler-with-cpp $(XTENSA_INCLUDE) $(flagBoardType) -mtext-section-literals --longcalls
|
||||
asflags-y := -c -xassembler-with-cpp $(XTENSA_INCLUDE) $(flagBoardType) -mtext-section-literals -mlongcalls
|
||||
obj-y = reset-vector.o
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue