🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #49902

PIC code with gas

#49902
From: Paul T. Marquis
Date: Fri, 03 Dec 1993 19:39
15 lines
1264 bytes
I have just installed gcc 2.5.5 on a SPARC 10, using gas 2.2 and gnu-ld
2.2, and have a problem assembling code with gas that has been compiled
using position independent code (-fPIC).  The assembler first comes back
with an unrecognized option (-k), but I believe this is because the
assembler for the 386i required the -k option for position independent
code.  I then get something like the following error:

Error: Attempt to get value of unresolved symbol L0

The assembly code generated by gcc assembles fine using as.  Any ideas?
Thanks for your help.

--
Paul, the Edge, Marquis
pmarquis@iddis.com
Technical Details
Message-ID: <IDDPTM.93Dec3143900@iddss1.iddis.com>
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!usenet.ins.cwru.edu!nigel.msen.com!math.fu-berlin.de!news.fu-berlin.de!iddptm

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,3be9dffdfd2446d7,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-12-03 12:27:23 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!usenet.ins.cwru.edu!nigel.msen.com!math.fu-berlin.de!news.fu-berlin.de!iddptm
From: iddptm@iddss1.iddis.com (Paul T. Marquis)
Subject: PIC code with gas
Message-ID: <IDDPTM.93Dec3143900@iddss1.iddis.com>
Sender: news@math.fu-berlin.de (Math Department)
Nntp-Posting-Host: iddss1.iddis.com
Organization: I.D.D. Informations Services
Date: Fri, 3 Dec 1993 19:39:00 GMT
Lines: 15