[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 10:11:14 PDT 2016


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

Henrik <henrik at gramner.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |henrik at gramner.com

--- Comment #2 from Henrik <henrik at gramner.com> ---
I was trying to find a workaround to this and I can add that the same problem
applies to EQU as well, albeit with a different error message ("error: invalid
operand type").

Sample code:
    extern foo
    bar equ foo-$$

x264 with PIC enabled can currently not be compiled when using nasm since it
relies on this functionality in several places to calculate offsets that will
be resolved to constants at link-time. This is unfortunate since we'd like to
be able to write code using newer instructions that aren't supported in yasm.

For example:
https://git.videolan.org/?p=x264.git;a=blob;f=common/x86/cabac-a.asm;h=baa820aaa855c5083b3e8912ea71e1a1f31ae9cb;hb=HEAD#l108

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


More information about the Nasm-bugs mailing list