在学习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.
本文探讨了使用YASM进行DLL构建时遇到的VC++ v8链接器bug,该bug导致带有绝对地址的符号无法正确链接。文章详细介绍了受影响的LEA指令形式,并提供了一种替代方案。
1850

被折叠的 条评论
为什么被折叠?



