🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #2371

problem on the NeXT

#2371
From: "Douglas C. Schmidt"
Date: Sat, 11 Mar 1989 05:19
40 lines
1120 bytes
The NeXT assembler can't grok the .single pseudo-op:

Here's what happens:
----------------------------------------
#NO_APP
gcc_compiled.:
.text
	.even
LC0:
	.single 0r1.02093899999999990000e+05
	.even
LC1:
	.double 0r8.98498247000000030000e-01
	.even
.globl _main
_main:
	link a6,#-12
	movel LC0,a6@(-4)
	movel LC1,a6@(-12)
	movel LC1+4,a6@(-8)
	fmoves a6@(-4),fp0
	fmuld a6@(-12),fp0
	fmoved fp0,sp@-
	jbsr _foo
L1:
	unlk a6
	rts
----------------------------------------

Diagnostics:

----------------------------------------
test.s:6:Unknown pseudo-op
test.s:6:Rest of line ignored. 1st junk character valued 48.
----------------------------------------

changing .single to .double fixes this.

Doug
Technical Details
Message-ID: <8903102119.aa18032@PARIS.ICS.UCI.EDU>
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!uunet!tut.cis.ohio-state.edu!siam.ics.uci.edu!schmidt

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!uunet!tut.cis.ohio-state.edu!siam.ics.uci.edu!schmidt
From: schmidt@siam.ics.uci.edu ("Douglas C. Schmidt")
Newsgroups: gnu.gcc.bug
Subject: problem on the NeXT
Message-ID: <8903102119.aa18032@PARIS.ICS.UCI.EDU>
Date: 11 Mar 89 05:19:56 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 40