This is the mail archive of the gcc-patches@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: [2/2] Add VxWorks PIC support to i386


On Tue, Mar 06, 2007 at 06:17:42PM +0000, Richard Sandiford wrote:
> 	* config/i386/i386.c (output_set_got): Add a GOT initialization
> 	sequence for VxWorks PIC.
> 	(legitimate_pic_address_disp_p): Allow UNSPEC_GOT wrappers
> 	around labels as well as symbols.  Use gotoff_operand instead
> 	of local_symbolic_operand.
> 	(legitimize_pic_address): Use gotoff_operand instead of
> 	local_symbolic_operand.  Use @GOT accesses for labels as
> 	well as symbols.
> 	(ix86_output_addr_diff_elt): Use PC-relative rather than
> 	GP-relative offsets for VxWorks PIC.
> 	(ix86_expand_move): Use legitimize_pic_address instead
> 	of legitimize_address.  Use op0 as a temporary register if
> 	no_new_pseudos.
> 	* config/i386/i386.md (tablejump): Use PC-relative rather than
> 	GP-relative offsets for VxWorks PIC.
> 	* config/i386/predicates.md (gotoff_operand): New predicate.

Ok.



r~


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