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
9c849d2a
Commit
9c849d2a
authored
Apr 14, 1997
by
David Edelsohn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change hardcoded .mcount to RS6000_MCOUNT
From-SVN: r13905
parent
977eef43
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
gcc/config/rs6000/rs6000.c
+3
-3
No files found.
gcc/config/rs6000/rs6000.c
View file @
9c849d2a
...
@@ -2837,7 +2837,7 @@ first_reg_to_save ()
...
@@ -2837,7 +2837,7 @@ first_reg_to_save ()
break
;
break
;
/* If profiling, then we must save/restore every register that contains
/* If profiling, then we must save/restore every register that contains
a parameter before/after the .mcount call. Use registers from 30 down
a parameter before/after the .
__
mcount call. Use registers from 30 down
to 23 to do this. Don't use the frame pointer in reg 31.
to 23 to do this. Don't use the frame pointer in reg 31.
For now, save enough room for all of the parameter registers. */
For now, save enough room for all of the parameter registers. */
...
@@ -2870,7 +2870,7 @@ rs6000_makes_calls ()
...
@@ -2870,7 +2870,7 @@ rs6000_makes_calls ()
{
{
rtx
insn
;
rtx
insn
;
/* If we are profiling, we will be making a call to mcount. */
/* If we are profiling, we will be making a call to
__
mcount. */
if
(
profile_flag
)
if
(
profile_flag
)
return
1
;
return
1
;
...
@@ -4317,7 +4317,7 @@ output_function_profiler (file, labelno)
...
@@ -4317,7 +4317,7 @@ output_function_profiler (file, labelno)
ASM_GENERATE_INTERNAL_LABEL
(
buf
,
"LPC"
,
labelno
);
ASM_GENERATE_INTERNAL_LABEL
(
buf
,
"LPC"
,
labelno
);
asm_fprintf
(
file
,
"
\t
{l|lwz} %s,"
,
reg_names
[
3
]);
asm_fprintf
(
file
,
"
\t
{l|lwz} %s,"
,
reg_names
[
3
]);
assemble_name
(
file
,
buf
);
assemble_name
(
file
,
buf
);
asm_fprintf
(
file
,
"(%s)
\n\t
bl
.mcount
\n
"
,
reg_names
[
2
]
);
asm_fprintf
(
file
,
"(%s)
\n\t
bl
%s
\n
"
,
reg_names
[
2
],
RS6000_MCOUNT
);
/* Restore parameter registers. */
/* Restore parameter registers. */
...
...
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