This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Bogus position independent code(PIC) emitted for ColdFire v4e


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]