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
192ea533
Commit
192ea533
authored
Mar 25, 2013
by
Walter Lee
Committed by
Walter Lee
Mar 25, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Switch eh data to always use pc relative/indirect encoding, to avoid
relocations of unaligned words. From-SVN: r197073
parent
855e0d0b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
11 deletions
+10
-11
gcc/ChangeLog
+7
-0
gcc/config/tilegx/tilegx.c
+2
-7
gcc/config/tilepro/tilepro.c
+1
-4
No files found.
gcc/ChangeLog
View file @
192ea533
2013-03-25 Walter Lee <walt@tilera.com>
* config/tilegx/tilegx.c (tilegx_asm_preferred_eh_data_format):
Use indirect/pcrel encoding.
* config/tilepro/tilepro.c (tilepro_asm_preferred_eh_data_format):
Ditto.
2013-03-25 Steve Ellcey <sellcey@mips.com>
* config/mips/mmips-cpus.def (74kc, 74kf2_1, 74kf, 74kf, 74kf1_1,
...
...
gcc/config/tilegx/tilegx.c
View file @
192ea533
...
...
@@ -4786,13 +4786,8 @@ tilegx_reorg (void)
int
tilegx_asm_preferred_eh_data_format
(
int
code
ATTRIBUTE_UNUSED
,
int
global
)
{
if
(
flag_pic
)
{
int
type
=
TARGET_32BIT
?
DW_EH_PE_sdata4
:
DW_EH_PE_sdata8
;
return
(
global
?
DW_EH_PE_indirect
:
0
)
|
DW_EH_PE_pcrel
|
type
;
}
else
return
DW_EH_PE_absptr
;
int
type
=
TARGET_32BIT
?
DW_EH_PE_sdata4
:
DW_EH_PE_sdata8
;
return
(
global
?
DW_EH_PE_indirect
:
0
)
|
DW_EH_PE_pcrel
|
type
;
}
...
...
gcc/config/tilepro/tilepro.c
View file @
192ea533
...
...
@@ -4338,10 +4338,7 @@ tilepro_reorg (void)
int
tilepro_asm_preferred_eh_data_format
(
int
code
ATTRIBUTE_UNUSED
,
int
global
)
{
if
(
flag_pic
)
return
(
global
?
DW_EH_PE_indirect
:
0
)
|
DW_EH_PE_pcrel
|
DW_EH_PE_sdata4
;
else
return
DW_EH_PE_absptr
;
return
(
global
?
DW_EH_PE_indirect
:
0
)
|
DW_EH_PE_pcrel
|
DW_EH_PE_sdata4
;
}
...
...
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