i386-protos.h (ix86_use_pseudo_pic_reg): New.
authorIlya Enkovich <ilya.enkovich@intel.com>
Thu, 29 Jan 2015 12:24:06 +0000 (12:24 +0000)
committerIlya Enkovich <ienkovich@gcc.gnu.org>
Thu, 29 Jan 2015 12:24:06 +0000 (12:24 +0000)
commitd290bb1d72b5ef24be30d43abcaa17caa387c3c6
treec243f2fd2e0ea79c58cd180cf87aa906b319615e
parente11627e99afac67809c632f2ab030461129bdb02
i386-protos.h (ix86_use_pseudo_pic_reg): New.

* config/i386/i386-protos.h (ix86_use_pseudo_pic_reg): New.
* config/i386/i386.h (PIC_OFFSET_TABLE_REGNUM): Simplify by
using x86_use_pseudo_pic_reg.
* config/i386/i386.c (ix86_conditional_register_usage): Remove
support for fixed PIC register.
(ix86_use_pseudo_pic_reg): Not static any more.

Co-Authored-By: Uros Bizjak <ubizjak@gmail.com>
From-SVN: r220242
gcc/ChangeLog
gcc/config/i386/i386-protos.h
gcc/config/i386/i386.c
gcc/config/i386/i386.h