Subject: Re: indyIRQ.S

From: Ralf Baechle <[email-masked]>
Date: Wed, 6 Aug 1997 11:25:54 +0200 (MET DST)

> > 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