Edit

Share via


Linker Tools Error LNK2013

fixup type fixup overflow. Target 'symbol name' is out of range

The linker cannot fit the necessary address or offset into the given instruction because the target symbol is too far away from the instruction's location.

You can resolve this problem by creating multiple images or by using the /ORDER option so the instruction and target are closer together.

When the symbol name is a user-defined symbol (and not a compiler-generated symbol), you can also try the following actions to resolve the error:

  • Change the static function to be non-static.

  • Rename the code section containing the static function to be the same as the caller.

Use DUMPBIN /SYMBOLS, to see if a function is static.