[Nasm-bugs] [Bug 3392311] beroset-p-637-invalid effective address

no-reply at bugzilla-nasm.gorcunov.org no-reply at bugzilla-nasm.gorcunov.org
Tue Jul 26 12:17:07 PDT 2016


https://bugzilla.nasm.us/show_bug.cgi?id=3392311

--- Comment #4 from Henrik <henrik at gramner.com> ---
(In reply to H. Peter Anvin from comment #3)
> I guess it comes down to recognizing when to generate a PC-relative
> relocation in a context where one would not normally occur.

That indeed seems to be the case. Yasm generates a R_X86_64_PC32/R_386_PC32
relocation when assembling "lea eax, [eax+foo-$$]".

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Nasm-bugs mailing list