Skip to contentSkip to conversation

indyIRQ.S

DISCUSSION Ralf Baechle 1 participant 1 message Aug 6, 1997 1 message not in the archive MIPS

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 9 lines
Quoted 5 lines

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