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
84e884e9
Commit
84e884e9
authored
Jul 12, 1997
by
Jason Merrill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
From-SVN: r14413
parent
1f2d8f51
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
gcc/config/sparc/sparc.c
+4
-3
No files found.
gcc/config/sparc/sparc.c
View file @
84e884e9
...
@@ -3231,7 +3231,8 @@ output_function_prologue (file, size, leaf_function)
...
@@ -3231,7 +3231,8 @@ output_function_prologue (file, size, leaf_function)
int
offset
,
real_offset
,
n_regs
;
int
offset
,
real_offset
,
n_regs
;
char
*
base
;
char
*
base
;
real_offset
=
offset
=
-
apparent_fsize
+
frame_base_offset
;
real_offset
=
-
apparent_fsize
;
offset
=
-
apparent_fsize
+
frame_base_offset
;
if
(
offset
<
-
4096
||
offset
+
num_gfregs
*
4
>
4096
)
if
(
offset
<
-
4096
||
offset
+
num_gfregs
*
4
>
4096
)
{
{
/* ??? This might be optimized a little as %g1 might already have a
/* ??? This might be optimized a little as %g1 might already have a
...
@@ -4898,7 +4899,7 @@ sparc_flat_output_function_prologue (file, size)
...
@@ -4898,7 +4899,7 @@ sparc_flat_output_function_prologue (file, size)
sparc_flat_save_restore
(
file
,
sp_str
,
reg_offset
,
sparc_flat_save_restore
(
file
,
sp_str
,
reg_offset
,
gmask
&
~
(
FRAME_POINTER_MASK
|
RETURN_ADDR_MASK
),
gmask
&
~
(
FRAME_POINTER_MASK
|
RETURN_ADDR_MASK
),
current_frame_info
.
fmask
,
current_frame_info
.
fmask
,
"st"
,
"std"
,
0
);
"st"
,
"std"
,
-
size
);
}
}
else
else
{
{
...
@@ -4960,7 +4961,7 @@ sparc_flat_output_function_prologue (file, size)
...
@@ -4960,7 +4961,7 @@ sparc_flat_output_function_prologue (file, size)
sparc_flat_save_restore
(
file
,
sp_str
,
offset
,
sparc_flat_save_restore
(
file
,
sp_str
,
offset
,
gmask
&
~
(
FRAME_POINTER_MASK
|
RETURN_ADDR_MASK
),
gmask
&
~
(
FRAME_POINTER_MASK
|
RETURN_ADDR_MASK
),
current_frame_info
.
fmask
,
current_frame_info
.
fmask
,
"st"
,
"std"
,
size
-
size1
);
"st"
,
"std"
,
-
size1
);
fprintf
(
file
,
"
\t
set %d,%s
\n\t
sub %s,%s,%s
\n
"
,
fprintf
(
file
,
"
\t
set %d,%s
\n\t
sub %s,%s,%s
\n
"
,
size
-
size1
,
t1_str
,
sp_str
,
t1_str
,
sp_str
);
size
-
size1
,
t1_str
,
sp_str
,
t1_str
,
sp_str
);
#ifdef DWARF2_DEBUGGING_INFO
#ifdef DWARF2_DEBUGGING_INFO
...
...
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