[Top] [All Lists]

Re: indyIRQ.S

To: (Thomas Bogendoerfer)
Subject: Re: indyIRQ.S
From: Ralf Baechle <>
Date: Wed, 6 Aug 1997 11:25:54 +0200 (MET DST)
In-reply-to: <> from "Thomas Bogendoerfer" at Aug 5, 97 11:11:49 pm
> > 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.


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