VC++ V8 linker的一个bug

在学习yasm的时候,从它的主页上看到下面一段话

There appears to be a linker bug in the VC++ v8 linker that prevents symbols with absolute addresses being linked in DLL builds. This means, for example, that LEA instructions of the general form:

   lea rax,[rax+symbol]

cannot be used for DLL builds. The following general form has to be used instead:

   lea rcx,[symbol wrt rip]
   lea rax,[rax+rcx]

This limitation may also cause problems with other instructions that use absolute addresses.

你可能感兴趣的:(VC++ V8 linker的一个bug)