现在的位置: 首页 > 综合 > 正文

VC++ V8 linker的一个bug

2013年10月20日 ⁄ 综合 ⁄ 共 390字 ⁄ 字号 评论关闭

在学习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.

抱歉!评论已关闭.