I'm trying to compile a BSP program written in C, and I'm getting this weird error message:
/tmp/ccEDn8lx.s: Assembler messages:
/tmp/ccEDn8lx.s:141: Error: illegal immediate register operand (%rip)
Code: http://pastebin.com/cuz026ji
Does anyone know what would cause this?