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
4b69f385
Commit
4b69f385
authored
Jan 08, 2002
by
Nick Clifton
Committed by
Nick Clifton
Jan 08, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
If a symbol ref is in the constant pool, use the pool's version of the symbol instead.
From-SVN: r48625
parent
57d1019b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
0 deletions
+19
-0
gcc/ChangeLog
+5
-0
gcc/dbxout.c
+14
-0
No files found.
gcc/ChangeLog
View file @
4b69f385
2002-01-08 Nick Clifton <nickc@cambridge.redhat.com>
* dbxout.c (dbxout_symbol_location): If a symbol ref is in the
constant pool, use the pool's version of the symbol instead.
2002-01-07 Richard Henderson <rth@redhat.com>
* regrename.c (find_oldest_value_reg): Ignore the value chain if
...
...
gcc/dbxout.c
View file @
4b69f385
...
...
@@ -2164,6 +2164,20 @@ dbxout_symbol_location (decl, type, suffix, home)
current_sym_code
=
DBX_STATIC_CONST_VAR_CODE
;
else
{
/* Some ports can transform a symbol ref into a label ref,
because the symbol ref is too far away and has to be
dumped into a constant pool. Alternatively, the symbol
in the constant pool might be referenced by a different
symbol. */
if
(
GET_CODE
(
current_sym_addr
)
==
SYMBOL_REF
&&
CONSTANT_POOL_ADDRESS_P
(
current_sym_addr
))
{
rtx
tmp
=
get_pool_constant
(
current_sym_addr
);
if
(
GET_CODE
(
tmp
)
==
SYMBOL_REF
)
current_sym_addr
=
tmp
;
}
/* Ultrix `as' seems to need this. */
#ifdef DBX_STATIC_STAB_DATA_SECTION
data_section
();
...
...
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