Assembler messages: operand out of range
Qwertylex opened this issue · 0 comments
Qwertylex commented
All of the following projects fail to assemble on jor1k but work fine on x86
end up with very similar error:
and also:
<nn.c> https://gist.github.com/Qwertylex/8da95c27fa66af0401becd4837d03513
~ $ gcc -std=gnu99 nn.c
/tmp/ccjjkNEG.s: Assembler messages:
/tmp/ccjjkNEG.s:141: Error: operand out of range (1073741758 not between -33554432 and 33554431)
/tmp/ccjjkNEG.s:144: Error: operand out of range (1073741716 not between -33554432 and 33554431)
~ $
see lines 141 and 144 of <nn.s> https://gist.github.com/Qwertylex/75785601962e1d8ca1986fd7f88a6de6 for the lines mentioned in the above error...
and fseek-test:
https://github.com/ECE2524/fseek-test
~ $ make
gcc -Wall -Wextra -pedantic -D_XOPEN_SOURCE=700 -c -o fdaccess.o fdaccess.c
/tmp/ccHHMpHG.s: Assembler messages:
/tmp/ccHHMpHG.s:62: Error: operand out of range (1073741805 not between -33554432 and 33554431)
make: *** [fdaccess.o] Error 1
~ $