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
b7f37b10
Commit
b7f37b10
authored
Jan 11, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(output_prolog): Update debug reg map when we have -mkernel-registers.
From-SVN: r6382
parent
e9b5e15f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
gcc/config/a29k/a29k.c
+10
-0
No files found.
gcc/config/a29k/a29k.c
View file @
b7f37b10
...
@@ -1204,6 +1204,16 @@ output_prolog (file, size)
...
@@ -1204,6 +1204,16 @@ output_prolog (file, size)
a29k_debug_reg_map
[
R_AR
(
i
)]
=
R_LR
(
a29k_regstack_size
+
i
+
2
);
a29k_debug_reg_map
[
R_AR
(
i
)]
=
R_LR
(
a29k_regstack_size
+
i
+
2
);
}
}
/* If using kernel register map, swap numbers for kernel and user
registers. */
if
(
TARGET_KERNEL_REGISTERS
)
for
(
i
=
0
;
i
<
32
;
i
++
)
{
int
tem
=
a29k_debug_reg_map
[
i
];
a29k_debug_reg_map
[
i
]
=
a29k_debug_reg_map
[
R_KR
(
i
)];
a29k_debug_reg_map
[
R_KR
(
i
)]
=
tem
;
}
/* Compute memory stack size. Add in number of bytes that the we should
/* Compute memory stack size. Add in number of bytes that the we should
push and pretend the caller did and the size of outgoing arguments.
push and pretend the caller did and the size of outgoing arguments.
Then round to a doubleword boundary. */
Then round to a doubleword boundary. */
...
...
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