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
c6f9b9a1
Commit
c6f9b9a1
authored
Apr 24, 2001
by
Nick Clifton
Committed by
Nick Clifton
Apr 24, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
If a SYMBOL_REF is in the constant pool, use the pool's SYMBOL_REF.
From-SVN: r41518
parent
b201442f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
gcc/ChangeLog
+3
-0
gcc/dwarf2out.c
+6
-0
No files found.
gcc/ChangeLog
View file @
c6f9b9a1
2001
-
04
-
24
Nick
Clifton
<
nickc
@cambridge
.
redhat
.
com
>
2001
-
04
-
24
Nick
Clifton
<
nickc
@cambridge
.
redhat
.
com
>
*
dwarf2out
.
c
(
mem_loc_descriptor
)
:
If
a
SYMBOL_REF
is
in
the
constant
pool
,
use
the
pool
'
s
SYMBOL_REF
instead
.
*
config
/
v850
/
v850
.
h
(
STRICT_ALIGNMENT
)
:
Always
set
,
even
for
the
*
config
/
v850
/
v850
.
h
(
STRICT_ALIGNMENT
)
:
Always
set
,
even
for
the
v850e
.
v850e
.
...
...
gcc/dwarf2out.c
View file @
c6f9b9a1
...
@@ -7117,6 +7117,12 @@ mem_loc_descriptor (rtl, mode)
...
@@ -7117,6 +7117,12 @@ mem_loc_descriptor (rtl, mode)
pool. */
pool. */
case
CONST
:
case
CONST
:
case
SYMBOL_REF
:
case
SYMBOL_REF
:
/* Alternatively, the symbol in the constant pool can be referenced
by a different symbol. */
if
(
GET_CODE
(
rtl
)
==
SYMBOL_REF
&&
CONSTANT_POOL_ADDRESS_P
(
rtl
))
rtl
=
get_pool_constant
(
rtl
);
mem_loc_result
=
new_loc_descr
(
DW_OP_addr
,
0
,
0
);
mem_loc_result
=
new_loc_descr
(
DW_OP_addr
,
0
,
0
);
mem_loc_result
->
dw_loc_oprnd1
.
val_class
=
dw_val_class_addr
;
mem_loc_result
->
dw_loc_oprnd1
.
val_class
=
dw_val_class_addr
;
mem_loc_result
->
dw_loc_oprnd1
.
v
.
val_addr
=
save_rtx
(
rtl
);
mem_loc_result
->
dw_loc_oprnd1
.
v
.
val_addr
=
save_rtx
(
rtl
);
...
...
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