您好,请问出现这个错误可能是因为什么。。。。。。
slave.c:16: warning: passing argument 5 of 'athread_get' discards qualifiers from pointer target type
slave.c:17: warning: passing argument 5 of 'athread_get' discards qualifiers from pointer target type
slave.c:18: warning: passing argument 5 of 'athread_get' discards qualifiers from pointer target type
slave.c:19: warning: passing argument 5 of 'athread_get' discards qualifiers from pointer target type
slave.c:33: warning: passing argument 5 of 'athread_put' discards qualifiers from pointer target type
slave.c:11: warning: unused variable 'y'
slave.c:11: warning: unused variable 'x'
/tmp/ccspin#.qvgvx5.s: Assembler messages:
/tmp/ccspin#.qvgvx5.s:21: Warning: make sure the slave code is in .text1 section, not .text section
/tmp/ccspin#.qvgvx5.s:26: Warning: make sure the slave code is in .text1 section, not .text section
/tmp/ccspin#.qvgvx5.s:77: Error: unknown opcode setfpec0' /tmp/ccspin#.qvgvx5.s:78: Error: unknown opcode
setfpec0'
/tmp/ccspin#.qvgvx5.s:82: Error: unknown opcode setfpec3' /tmp/ccspin#.qvgvx5.s:90: Error: unknown opcode
setfpec0'
/tmp/ccspin#.qvgvx5.s:144: Error: unknown opcode setfpec3' /tmp/ccspin#.qvgvx5.s:151: Error: unknown opcode
setfpec0'
/tmp/ccspin#.qvgvx5.s:181: Error: unknown opcode setfpec3' /tmp/ccspin#.qvgvx5.s:187: Error: unknown opcode
setfpec0'
/tmp/ccspin#.qvgvx5.s:218: Error: unknown opcode setfpec3' /tmp/ccspin#.qvgvx5.s:224: Error: unknown opcode
setfpec0'
/tmp/ccspin#.qvgvx5.s:234: Error: unknown opcode setfpec3' /tmp/ccspin#.qvgvx5.s:240: Error: unknown opcode
setfpec0'
/tmp/ccspin#.qvgvx5.s:367: Error: inappropriate arguments for opcode ldl' /tmp/ccspin#.qvgvx5.s:372: Error: inappropriate arguments for opcode
ldl'
/tmp/ccspin#.qvgvx5.s:376: Error: inappropriate arguments for opcode ldl' /tmp/ccspin#.qvgvx5.s:380: Error: inappropriate arguments for opcode
ldl'
/tmp/ccspin#.qvgvx5.s:385: Error: inappropriate arguments for opcode ldl' /tmp/ccspin#.qvgvx5.s:389: Error: inappropriate arguments for opcode
ldl'
/tmp/ccspin#.qvgvx5.s:393: Error: inappropriate arguments for opcode ldl' /tmp/ccspin#.qvgvx5.s:403: Error: inappropriate arguments for opcode
stl'
/tmp/ccspin#.qvgvx5.s:459: Error: unknown opcode setfpec3' /tmp/ccspin#.qvgvx5.s:466: Error: unknown opcode
setfpec0'
/tmp/ccspin#.qvgvx5.s:496: Error: unknown opcode `setfpec3'
/tmp/ccspin#.qvgvx5.s:536: Warning: make sure the slave code is in .text1 section, not .text section