[Nasm-bugs] [Bug 3392499] New: macho: documentation bug text instead of code

noreply-nasm at gorcunov.org noreply-nasm at gorcunov.org
Thu Jul 12 09:54:01 PDT 2018


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

            Bug ID: 3392499
           Summary: macho: documentation bug text instead of code
           Product: NASM
           Version: 2.14 (development)
          Hardware: Macintosh
                OS: Mac OS
            Status: OPEN
          Severity: normal
          Priority: Medium
         Component: Documentation
          Assignee: nobody at nasm.us
          Reporter: zenith432 at users.sourceforge.net
                CC: gorcunov at gmail.com, hpa at zytor.com, nasm-bugs at nasm.us
     Obtained from: Binary from nasm.us

In section 7.8.1 of the manual, lists macho section flags as
data, text, mixed, bss, zerofill, no_dead_strip, live_support,
strip_static_syms, debug

>From output/outmacho.c
    { "data", S_REGULAR },
    { "code", S_REGULAR|S_ATTR_SOME_INSTRUCTIONS|S_ATTR_PURE_INSTRUCTIONS },
    { "mixed", S_REGULAR|S_ATTR_SOME_INSTRUCTIONS },
    { "bss", S_ZEROFILL },
    { "zerofill", S_ZEROFILL },
    { "no_dead_strip", NO_TYPE|S_ATTR_NO_DEAD_STRIP },
    { "live_support", NO_TYPE|S_ATTR_LIVE_SUPPORT },
    { "strip_static_syms", NO_TYPE|S_ATTR_STRIP_STATIC_SYMS },
    { "debug", NO_TYPE|S_ATTR_DEBUG },

So the flag name is code, not text.  The flag name text is not recognized.

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


More information about the Nasm-bugs mailing list