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
8acd7d30
Commit
8acd7d30
authored
Apr 30, 1997
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(override_options): Set mips_split_addresses only if
TARGET_SPLIT_ADDRESSES is set. From-SVN: r14000
parent
f009b725
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
gcc/config/mips/mips.c
+7
-2
No files found.
gcc/config/mips/mips.c
View file @
8acd7d30
...
@@ -3672,10 +3672,15 @@ override_options ()
...
@@ -3672,10 +3672,15 @@ override_options ()
mips_section_threshold
=
0x7fffffff
;
mips_section_threshold
=
0x7fffffff
;
}
}
/* This optimization requires a linker that can support a R_MIPS_LO16
relocation which is not immediately preceeded by a R_MIPS_HI16 relocation.
GNU ld has this support, but not all other MIPS linkers do, so we enable
this optimization only if the user requests it, or if GNU ld is the
standard linker for this configuration. */
/* ??? This does not work when target addresses are DImode.
/* ??? This does not work when target addresses are DImode.
This is because we are missing DImode high/lo_sum patterns. */
This is because we are missing DImode high/lo_sum patterns. */
if
(
TARGET_GAS
&&
TARGET_SPLIT_ADDRESSES
&&
optimize
&&
!
flag_pic
if
(
TARGET_GAS
&&
optimize
&&
!
flag_pic
&&
Pmode
==
SImode
)
&&
Pmode
==
SImode
)
mips_split_addresses
=
1
;
mips_split_addresses
=
1
;
else
else
mips_split_addresses
=
0
;
mips_split_addresses
=
0
;
...
...
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