Bogus position independent code(PIC) emitted for ColdFire v4e

Peter Barada pbarada@mail.wm.sps.mot.com
Fri Dec 6 17:59:00 GMT 2002


>Not that I can think of.  If you wrap the UNSPEC in a CONST, then it
>should be considered to be a 32-bit constant, and so will be accepted
>anywhere a 32-bit constant is.
>
>Which, for the '020 instruction set is ideal.  Carefully constructed
>predicates should be used to allow just the right combinations for 
>the coldfire.  E.g.
>
>	(const (unspec [(symbol_ref "foo")] UNSPEC_GOT))

Thanks for the info.  I'll start loking at implementing this over the
weekend.  Should I be concerned about @PLT stuff at this time or just
hope that its taken care of...


-- 
Peter Barada                                   Peter.Barada@motorola.com
Wizard                                         781-852-2768 (direct)
WaveMark Solutions(wholly owned by Motorola)   781-270-0193 (fax)



More information about the Gcc mailing list