[Nasm-bugs] [Bug 3392647] New: Logic error when compile directive 'global' without directive 'section' when generate COFF

noreply-nasm at dev.nasm.us noreply-nasm at dev.nasm.us
Tue Jan 21 08:20:53 PST 2020


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

            Bug ID: 3392647
           Summary: Logic error when compile directive 'global' without
                    directive 'section' when generate COFF
           Product: NASM
           Version: 2.15 (development)
          Hardware: All
                OS: All
            Status: OPEN
          Severity: normal
          Priority: Medium
         Component: Assembler
          Assignee: nobody at nasm.us
          Reporter: bc-info at styx.cabel.net
                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

If compiled source contain global labels, but NOT contain directive SEGMENT,
generated coff-object file contain symbol (of this labels) referenced to
'UNKNOWN" section (e.g. symbols is 'extern', nor 'public').

Example
---
global _name
_name: ret
---
nasm -f winXX
produce 'extern' symbol '_name'

-- 
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