Relocation truncated to fit: IMAGE_REL_AMD64_ADDR32 against `.bss’ – Assembly x86-64 error
Assembler: NASM x86-64 Linker: GNU ld Platform: Windows I tried moving HANDLE type, from GetStdHandle function from Windows API, into quadword memory value and I faced this error: Relocation truncated to fit: IMAGE_REL_AMD64_ADDR32 against ‘.bss’. I’ve made research and found out that most of the time, this error comes from bad sizes – moving invalid […]