diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1995-06-06 14:58:13 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1995-06-06 14:58:13 -0400 |
commit | eb9398721e16658df51f148be39660dfcf481418 (patch) | |
tree | 008a1a5ff955c8776a4634175b6c66757a12cfeb /gcc | |
parent | ffae286a5cba64f5819f9378719423ad0d8de44b (diff) | |
download | gcc-eb9398721e16658df51f148be39660dfcf481418.zip gcc-eb9398721e16658df51f148be39660dfcf481418.tar.gz gcc-eb9398721e16658df51f148be39660dfcf481418.tar.bz2 |
(CONDITIONAL_REGISTER_USAGE): Don't mark pic reg as fixed.
From-SVN: r9889
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/m68k/m68k.h | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/gcc/config/m68k/m68k.h b/gcc/config/m68k/m68k.h index 37ea244..59128b7 100644 --- a/gcc/config/m68k/m68k.h +++ b/gcc/config/m68k/m68k.h @@ -344,21 +344,9 @@ extern int target_flags; compiler's mitts completely off it. We don't bother to zero it out of register classes. If neither TARGET_FPA or TARGET_68881 is set, the compiler won't touch since no instructions that use these - registers will be valid. + registers will be valid. */ - Reserve PIC_OFFSET_TABLE_REGNUM (a5) for doing PIC relocation if - position independent code is being generated by making it a - fixed register */ - -#ifndef SUPPORT_SUN_FPA - -#define CONDITIONAL_REGISTER_USAGE \ -{ \ - if (flag_pic) \ - fixed_regs[PIC_OFFSET_TABLE_REGNUM] = 1; \ -} - -#else /* defined SUPPORT_SUN_FPA */ +#ifdef SUPPORT_SUN_FPA #define CONDITIONAL_REGISTER_USAGE \ { \ @@ -378,8 +366,6 @@ extern int target_flags; if (TEST_HARD_REG_BIT (x, i)) \ fixed_regs[i] = call_used_regs[i] = 1; \ } \ - if (flag_pic) \ - fixed_regs[PIC_OFFSET_TABLE_REGNUM] = 1; \ } #endif /* defined SUPPORT_SUN_FPA */ |