Subject: Turning off pic/abicalls on mips?
To: None <tech-toolchain@netbsd.org>
From: Simon Burge <simonb@telstra.com.au>
List: tech-toolchain
Date: 03/17/1999 01:05:00
I'm moving the pmax bootblocks over to using libsa/libkern,
but run into a little problem.  In bsd.lib.mk, there's an
unconditional

	AINC+=-DPIC -DABICALLS

for mips.  Other ports use APICFLAGS for setting PIC, but
for the mips we use PIC code _all_ the time.  However, I
don't want PIC code for the bootblocks.

I'm thinking of making this conditional on something like
"MIPS_NO_PIC_MODE", so we can really truly override this if
we know what we're doing.

Comments or better ideas?

Simon.