RE: [PATCH 7/7] [ARC] Consolidate PIC implementation.

2017-07-17 Thread Claudiu Zissulescu
> Looks like a good clean up. > > Thanks, > Andrew Committed, thank you for your review, Claudiu

Re: [PATCH 7/7] [ARC] Consolidate PIC implementation.

2017-07-13 Thread Andrew Burgess
* Claudiu Zissulescu [2017-06-01 15:34:57 +0200]: > This patch refactors a number of functions and compiler hooks into using a > single function which checks if a rtx is suited for pic or not. Removed > functions are arc_legitimate_pc_offset_p and arc_legitimate_pic_operand_p > beeing replaced b

[PATCH 7/7] [ARC] Consolidate PIC implementation.

2017-06-01 Thread Claudiu Zissulescu
This patch refactors a number of functions and compiler hooks into using a single function which checks if a rtx is suited for pic or not. Removed functions are arc_legitimate_pc_offset_p and arc_legitimate_pic_operand_p beeing replaced by calls to arc_legitimate_pic_addr_p. Thus we have an unitary