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
993cd990
Commit
993cd990
authored
Jul 18, 1996
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(function_prologue): Use FUNCTION_NAME_ALREADY_DECLARED.
(function_epilogue): Likewise. From-SVN: r12522
parent
f8ea2d94
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletions
+6
-1
gcc/config/mips/mips.c
+6
-1
No files found.
gcc/config/mips/mips.c
View file @
993cd990
...
...
@@ -5060,18 +5060,21 @@ function_prologue (file, size)
ASM_OUTPUT_SOURCE_LINE
(
file
,
DECL_SOURCE_LINE
(
current_function_decl
));
#endif
inside_function
=
1
;
#ifndef FUNCTION_NAME_ALREADY_DECLARED
/* Get the function name the same way that toplev.c does before calling
assemble_start_function. This is needed so that the name used here
exactly matches the name used in ASM_DECLARE_FUNCTION_NAME. */
fnname
=
XSTR
(
XEXP
(
DECL_RTL
(
current_function_decl
),
0
),
0
);
inside_function
=
1
;
fputs
(
"
\t
.ent
\t
"
,
file
);
assemble_name
(
file
,
fnname
);
fputs
(
"
\n
"
,
file
);
assemble_name
(
file
,
fnname
);
fputs
(
":
\n
"
,
file
);
#endif
fprintf
(
file
,
"
\t
.frame
\t
%s,%d,%s
\t\t
# vars= %d, regs= %d/%d, args= %d, extra= %d
\n
"
,
reg_names
[
(
frame_pointer_needed
)
?
FRAME_POINTER_REGNUM
:
STACK_POINTER_REGNUM
],
...
...
@@ -5458,6 +5461,7 @@ function_epilogue (file, size)
}
}
#ifndef FUNCTION_NAME_ALREADY_DECLARED
/* Get the function name the same way that toplev.c does before calling
assemble_start_function. This is needed so that the name used here
exactly matches the name used in ASM_DECLARE_FUNCTION_NAME. */
...
...
@@ -5466,6 +5470,7 @@ function_epilogue (file, size)
fputs
(
"
\t
.end
\t
"
,
file
);
assemble_name
(
file
,
fnname
);
fputs
(
"
\n
"
,
file
);
#endif
if
(
TARGET_STATS
)
{
...
...
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