Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
eb939872
Commit
eb939872
authored
29 years ago
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(CONDITIONAL_REGISTER_USAGE): Don't mark pic reg as fixed.
From-SVN: r9889
parent
ffae286a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
16 deletions
+2
-16
gcc/config/m68k/m68k.h
+2
-16
No files found.
gcc/config/m68k/m68k.h
View file @
eb939872
...
...
@@ -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 */
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment