"Error LNK2017 'ADDR32' relocation to '.data' invalid without /LARGEADDRESSAWARE:NO"
I'm posting links to my small assembly code, should someone want to take a look. I'm declaring this function as
Code: Select all
extern "C" void pit_interrupt();
Maybe it's also meaningful in some way, I loaded the kernel at a higher-half 64bit address.
https://pastebin.com/d9VzKe9r (main assembly file)
https://pastebin.com/99kySJFY (included macros.inc)
EDIT: Also, it's really strange, but a similar code actually seemed to work when using MASM instead of NASM .