Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!rphroy!kyzyl!tkacik From: tkacik@kyzyl.mi.org (Tom Tkacik) Newsgroups: comp.sys.3b1 Subject: Re: assembling with gas Message-ID: <334@kyzyl.mi.org> Date: 5 May 91 14:08:57 GMT References: <1991May4.040336.10403@texrex.uucp> Organization: Somewhere in Royal Oak, MI Lines: 18 In article <1991May4.040336.10403@texrex.uucp>, rmfowler@texrex.uucp (Rex Fowler) writes: > What I'm wanting to do is see if gas is able to assemble teval.s > from the perl 4.0.0.3 distribution. eval.c compiled fine but the > tainted version (teval.c) won't (ie. Branch offset too remote) > > If you've ever tried to compile perl, you know what I'm talking about. > perl 3.0 pl44 wasn't much problem but 4.0 has got me stumped. I just took a quick look at the man page for as(1). There is a -j switch to as(1) that "invokes the long-jump assembler." This looks like it should solve your problem with the branch offsets being too long. I have not tried this, so let us know if it works. -- Tom Tkacik | tkacik@kyzyl.mi.org | To rent this space, call 1-800-555-QUIP. ...!rphroy!kyzyl!tkacik |