linux-mips
[Top] [All Lists]

Re: indyIRQ.S

To: tsbogend@alpha.franken.de (Thomas Bogendoerfer)
Subject: Re: indyIRQ.S
From: Ralf Baechle <ralf@mailhost.uni-koblenz.de>
Date: Wed, 6 Aug 1997 11:25:54 +0200 (MET DST)
Cc: shaver@neon.ingenia.ca, linux@cthulhu.engr.sgi.com
In-reply-to: <199708052111.XAA01741@alpha.franken.de> from "Thomas Bogendoerfer" at Aug 5, 97 11:11:49 pm
Sender: owner-linux@cthulhu.engr.sgi.com
> > mips-linux-gcc -D__KERNEL__ -I/export/sgi-linux/kernel/linux/include 
> > -D__GOGOGO__ -c indyIRQ.S -o indyIRQ.o
> > indyIRQ.S: Assembler messages:
> > indyIRQ.S:72: Warning: No .cprestore pseudo-op used in PIC code
> > [...] 
> > Any ideas?
> 
> yes, add a -fno-pic to your CFLAGS. The default for the current mips-linux-gcc
> is to produce PIC code and most of the .S files aren't prepared to be compiled
> this way.

None will compile not will the linker accept mixtures of PIC and non-PIC
object files.  I suppose the cause is didling with the makefiles since
-G 0 -mno-abicalls -fno-pic is default for MIPS.

  Ralf

<Prev in Thread] Current Thread [Next in Thread>
  • indyIRQ.S, Mike Shaver
    • Re: indyIRQ.S, Ralf Baechle <=