🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #12084

Lattice 5.02 asm BUG

#12084
From: Ken Lorber
Date: Sun, 02 Apr 1989 12:55
18 lines
742 bytes
Try this 3 liner:
	section __MERGED,BSS
	dc.l	1
	end
Assemble with:
	asm foo.a

asm will not complain (note that there is a dc in a BSS segment) and
will create a bad object file (it emits the value for the dc after the
HUNK_BSS and proper length).

Workaround: don't make any typos :-)

Share and Enjoy,	
	Ken Lorber

keni@brillig.umd.edu	 uunet!brillig!keni
Technical Details
Message-ID: <16671@mimsy.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!haven!mimsy!keni

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!haven!mimsy!keni
From: keni@mimsy.UUCP (Ken Lorber)
Newsgroups: comp.sys.amiga.tech
Subject: Lattice 5.02 asm BUG
Keywords: asm BSS bad object file
Message-ID: <16671@mimsy.UUCP>
Date: 2 Apr 89 12:55:05 GMT
Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742
Lines: 18