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
db964bde
Commit
db964bde
authored
Oct 30, 2003
by
Richard Sandiford
Committed by
Richard Sandiford
Oct 30, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* config/mips/mips.c (mips_global_pointer): Don't try to use $25.
From-SVN: r73094
parent
54ab3303
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
+6
-1
gcc/ChangeLog
+4
-0
gcc/config/mips/mips.c
+2
-1
No files found.
gcc/ChangeLog
View file @
db964bde
2003-10-30 Richard Sandiford <rsandifo@redhat.com>
* config/mips/mips.c (mips_global_pointer): Don't try to use $25.
2003-10-30 Richard Henderson <rth@redhat.com>
2003-10-30 Richard Henderson <rth@redhat.com>
* config/mips/mips.c (mips_build_builtin_va_list): Use runtime
* config/mips/mips.c (mips_build_builtin_va_list): Use runtime
...
...
gcc/config/mips/mips.c
View file @
db964bde
...
@@ -6039,7 +6039,8 @@ mips_global_pointer (void)
...
@@ -6039,7 +6039,8 @@ mips_global_pointer (void)
for
(
regno
=
GP_REG_FIRST
;
regno
<=
GP_REG_LAST
;
regno
++
)
for
(
regno
=
GP_REG_FIRST
;
regno
<=
GP_REG_LAST
;
regno
++
)
if
(
!
regs_ever_live
[
regno
]
if
(
!
regs_ever_live
[
regno
]
&&
call_used_regs
[
regno
]
&&
call_used_regs
[
regno
]
&&
!
fixed_regs
[
regno
])
&&
!
fixed_regs
[
regno
]
&&
regno
!=
PIC_FUNCTION_ADDR_REGNUM
)
return
regno
;
return
regno
;
return
GLOBAL_POINTER_REGNUM
;
return
GLOBAL_POINTER_REGNUM
;
...
...
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