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
f0451e26
Commit
f0451e26
authored
Dec 11, 2001
by
Jakub Jelinek
Committed by
Jakub Jelinek
Dec 11, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* unwind-dw2.c (execute_cfa_program): Fix DW_CFA_restore handling.
From-SVN: r47881
parent
a3bcfa67
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
gcc/ChangeLog
+4
-0
gcc/unwind-dw2.c
+3
-3
No files found.
gcc/ChangeLog
View file @
f0451e26
2001
-
12
-
11
Jakub
Jelinek
<
jakub
@redhat
.
com
>
*
unwind
-
dw2
.
c
(
execute_cfa_program
)
:
Fix
DW_CFA_restore
handling
.
2001
-
12
-
10
Roger
Sayle
<
roger
@eyesopen
.
com
>
*
builtins
.
c
(
expand_builtin
)
:
Use
a
switch
statement
to
list
...
...
gcc/unwind-dw2.c
View file @
f0451e26
...
...
@@ -711,9 +711,9 @@ execute_cfa_program (const unsigned char *insn_ptr,
_Unwind_Word
reg
,
utmp
;
_Unwind_Sword
offset
,
stmp
;
if
(
insn
&
DW_CFA_advance_loc
)
if
(
(
insn
&
0xc0
)
==
DW_CFA_advance_loc
)
fs
->
pc
+=
(
insn
&
0x3f
)
*
fs
->
code_align
;
else
if
(
insn
&
DW_CFA_offset
)
else
if
(
(
insn
&
0xc0
)
==
DW_CFA_offset
)
{
reg
=
insn
&
0x3f
;
insn_ptr
=
read_uleb128
(
insn_ptr
,
&
utmp
);
...
...
@@ -721,7 +721,7 @@ execute_cfa_program (const unsigned char *insn_ptr,
fs
->
regs
.
reg
[
reg
].
how
=
REG_SAVED_OFFSET
;
fs
->
regs
.
reg
[
reg
].
loc
.
offset
=
offset
;
}
else
if
(
insn
&
DW_CFA_restore
)
else
if
(
(
insn
&
0xc0
)
==
DW_CFA_restore
)
{
reg
=
insn
&
0x3f
;
fs
->
regs
.
reg
[
reg
].
how
=
REG_UNSAVED
;
...
...
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