[Nasm-bugs] [Bug 3392564] New: Infinite dashes written to map file when section name is too long
noreply-nasm at gorcunov.org
noreply-nasm at gorcunov.org
Tue Apr 2 12:50:07 PDT 2019
https://bugzilla.nasm.us/show_bug.cgi?id=3392564
Bug ID: 3392564
Summary: Infinite dashes written to map file when section name
is too long
Product: NASM
Version: 2.15 (development)
Hardware: All
OS: Linux
Status: OPEN
Severity: normal
Priority: Medium
Component: Assembler
Assignee: nobody at nasm.us
Reporter: pushbx at 38.de
CC: chang.seok.bae at intel.com, gorcunov at gmail.com,
hpa at zytor.com, nasm-bugs at nasm.us
Obtained from: Built from git using configure, From OS distribution
$ cat test.asm
%ifdef _MAP
[map all _MAP]
%endif
section
F23456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
$ nasm -v
NASM version 2.15rc0 compiled on Dec 30 2018
$ nasm test.asm -o test.bin -l test.lst
$ nasm test.asm -o test.bin -l test.lst -D_MAP=test.map
^C
$ head --bytes 1536 test.map
- NASM Map file ---------------------------------------------------------------
Source file: test.asm
Output file: test.bin
-- Program origin -------------------------------------------------------------
00000000
-- Sections (summary) ---------------------------------------------------------
Vstart Start Stop Length Class Name
0 0 0 00000000 progbits .text
0 0 0 00000000 progbits
F23456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
-- Sections (detailed) --------------------------------------------------------
---- Section .text ------------------------------------------------------------
class: progbits
length: 0
start: 0
align: not defined
follows: not defined
vstart: 0
valign: not defined
vfollows: not defined
---- Section
F23456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------$
$ /usr/bin/nasm -v
NASM version 2.12.01
$ /usr/bin/nasm test.asm -o test.bin -l test.lst
$ /usr/bin/nasm test.asm -o test.bin -l test.lst -D_MAP=test.map
^C
$ head --bytes 1536 test.map
- NASM Map file ---------------------------------------------------------------
Source file: test.asm
Output file: test.bin
-- Program origin -------------------------------------------------------------
00000000
-- Sections (summary) ---------------------------------------------------------
Vstart Start Stop Length Class Name
0 0 0 00000000 progbits .text
0 0 0 00000000 progbits
F23456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
-- Sections (detailed) --------------------------------------------------------
---- Section .text ------------------------------------------------------------
class: progbits
length: 0
start: 0
align: not defined
follows: not defined
vstart: 0
valign: not defined
vfollows: not defined
---- Section
F23456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------$
$
--
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