Re: RFC: Adding VxWorks PIC support to various backends

2007-03-02 Thread Richard Henderson
On Fri, Mar 02, 2007 at 02:12:30PM +, Richard Sandiford wrote: > CodeSourcery is gearing up to submit support for the VxWorks RTP PIC > model. Six targets are affected: arm, i386, mips, rs6000, sh and sparc. > All this code is conditional on TARGET_VXWORKS_RTP being true and refers > to two ot

Re: RFC: Adding VxWorks PIC support to various backends

2007-03-02 Thread Ian Lance Taylor
Richard Sandiford <[EMAIL PROTECTED]> writes: > Ian Lance Taylor <[EMAIL PROTECTED]> writes: > > Richard Sandiford <[EMAIL PROTECTED]> writes: > >> 1) Wrap it in #ifdef TARGET_VXWORKS_RTP. > >> > >> 2) Provide an always-false definition of TARGET_VXWORKS_RTP in > >> arm.h, i386.h, etc.

Re: RFC: Adding VxWorks PIC support to various backends

2007-03-02 Thread Richard Sandiford
Ian Lance Taylor <[EMAIL PROTECTED]> writes: > Richard Sandiford <[EMAIL PROTECTED]> writes: >> 1) Wrap it in #ifdef TARGET_VXWORKS_RTP. >> >> 2) Provide an always-false definition of TARGET_VXWORKS_RTP in >> arm.h, i386.h, etc. Also provide dummy definitions of the >> VXWORKS_GOTT_

Re: RFC: Adding VxWorks PIC support to various backends

2007-03-02 Thread Ian Lance Taylor
Richard Sandiford <[EMAIL PROTECTED]> writes: > 1) Wrap it in #ifdef TARGET_VXWORKS_RTP. > > 2) Provide an always-false definition of TARGET_VXWORKS_RTP in > arm.h, i386.h, etc. Also provide dummy definitions of the > VXWORKS_GOTT_* macros. > > 3) Provide an always-false definit