[Nasm-bugs] [Bug 3392786] New: Adding `--pragma "macho subsections_via_symbols"` causes invalid operand type errors.

noreply-nasm at dev.nasm.us noreply-nasm at dev.nasm.us
Mon Oct 25 14:46:17 PDT 2021


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

            Bug ID: 3392786
           Summary: Adding `--pragma "macho subsections_via_symbols"`
                    causes invalid operand type errors.
           Product: NASM
           Version: 2.15.xx
          Hardware: Macintosh
                OS: Mac OS
            Status: OPEN
          Severity: normal
          Priority: Medium
         Component: Assembler
          Assignee: nobody at nasm.us
          Reporter: afish at apple.com
                CC: chang.seok.bae at intel.com, gorcunov at gmail.com,
                    hpa at zytor.com, nasm-bugs at nasm.us
     Obtained from: Binary from nasm.us

Created attachment 411837
  --> https://bugzilla.nasm.us/attachment.cgi?id=411837&action=edit
nasm file

This is a code fragment from the edk2 open source and I used:
NASM version 2.15.05 compiled on Aug 28 2020

$ nasm -f macho64 MpFuncs.iii --pragma "macho subsections_via_symbols"
MpFuncs.iii:673: error: invalid operand type
MpFuncs.iii:674: error: invalid operand type
MpFuncs.iii:675: error: invalid operand type
$
$ nasm -f macho64 MpFuncs.iii
$

Passing --pragma "macho subsections_via_symbols" causes assembler syntax
errors?

-- 
You are receiving this mail because:
You are watching all bug changes.
You are on the CC list for the bug.


More information about the Nasm-bugs mailing list