View Single Post
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#226
Originally Posted by jurop88 View Post
scratchbox with linaro gcc 4.7.2 here
Use default gcc which is in scratchbox.

Or replace "smc #1" instruction with it hardcoded opcode, it is ".word 0xe1600071".

In upstream kernel there is special way for fixing "file.o":

Code:
plus_sec := $(call as-instr,.arch_extension sec,+sec)
AFLAGS_file.o			:=-Wa,-march=armv7-a$(plus_sec)
 

The Following 3 Users Say Thank You to pali For This Useful Post: