sparc.h (CONDITIONAL_REGISTER_USAGE): Don't use PIC_OFFSET_TABLE_REGNUM for register allocation when -fPIC.

Wed Feb 24 11:26:41 1999  Vladimir N. Makarov  <vmakarov@cygnus.com>
	* config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Don't use
 	PIC_OFFSET_TABLE_REGNUM for register allocation when -fPIC.

From-SVN: r25397
This commit is contained in:
Vladimir N. Makarov 1999-02-24 08:33:57 +00:00 committed by Vladimir Makarov
parent 7a48ce6d73
commit c7b2eb810e
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
Wed Feb 24 11:26:41 1999 Vladimir N. Makarov <vmakarov@cygnus.com>
* config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Don't use
PIC_OFFSET_TABLE_REGNUM for register allocation when -fPIC.
Tue Feb 23 16:24:19 CET 1999 Marc Lehmann <pcg@goof.com>
* config/i386/i386.md: fix typoe.

View File

@ -1003,6 +1003,11 @@ if (TARGET_ARCH64 \
#define CONDITIONAL_REGISTER_USAGE \
do \
{ \
if (flag_pic) \
{ \
fixed_regs[PIC_OFFSET_TABLE_REGNUM] = 1; \
call_used_regs[PIC_OFFSET_TABLE_REGNUM] = 1; \
} \
if (TARGET_ARCH32) \
{ \
fixed_regs[5] = 1; \