🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #848

gas-1.38 doesn't like symbol "LOGIN"

#848
From: James Tsillas
Date: Thu, 21 Jan 1993 16:52
40 lines
1356 bytes
I've built gas-1.38 to cross assemble to a sun3 from a sparc. When I
give it:

#NO_APP
gcc2_compiled.:
.text
        .even
.globl t
t:
        link a6,#0
        jbsr LOGIN
L1:
        unlk a6
        rts

and say: as68k -o test.o test.s

and then: nm test.o

I get:

00000000 t gcc2_compiled.
00000000 T t

It turns out that LOGIN get's defined somehow to a garbage value. THe
strange thing is that if I change LOGIN to some other name it works and
I've failed to find any mention of LOGIN in the gas-1.38 source.

Have I stumbled onto some arcane bug? I'm running SunOS 4.1.3.

-Jim.



--
	***  James Tsillas  jtsilla@damon.ccs.northeastern.edu   ***
	***      Work: (508)898-2800, Home: (617)641-0513        ***
	***        "He is after me. Jim is after him."           ***
	***            - Hop on Pop, Dr. Seuss                   ***
Technical Details
Message-ID: <JTSILLA.93Jan21115201@damon.ccs.northeastern.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!noc.near.net!lynx!random.ccs.northeastern.edu!news

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!sparky!uunet!noc.near.net!lynx!random.ccs.northeastern.edu!news
From: jtsilla@damon.ccs.northeastern.edu (James Tsillas)
Subject: gas-1.38 doesn't like symbol "LOGIN"
Message-ID: <JTSILLA.93Jan21115201@damon.ccs.northeastern.edu>
Sender: news@random.ccs.northeastern.edu
Nntp-Posting-Host: damon.ccs.northeastern.edu
Organization: Northeastern University, Boston, MA
Distribution: gnu
Date: Thu, 21 Jan 1993 16:52:01 GMT
Lines: 40