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
fcbe3b89
Commit
fcbe3b89
authored
Oct 24, 2002
by
Richard Henderson
Committed by
Richard Henderson
Oct 24, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* config/i386/i386.c (x86_output_mi_thunk): Fix x86_64 pic jump.
From-SVN: r58508
parent
1a86c850
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletions
+12
-1
gcc/ChangeLog
+4
-0
gcc/config/i386/i386.c
+8
-1
No files found.
gcc/ChangeLog
View file @
fcbe3b89
2002
-
10
-
24
Richard
Henderson
<
rth
@redhat
.
com
>
*
config
/
i386
/
i386
.
c
(
x86_output_mi_thunk
)
:
Fix
x86_64
pic
jump
.
2002
-
10
-
24
Kazu
Hirata
<
kazu
@cs
.
umass
.
edu
>
*
config
/
h8300
/
h8300
.
c
(
initial_offset
)
:
Simplify
by
using
...
...
gcc/config/i386/i386.c
View file @
fcbe3b89
...
...
@@ -14233,7 +14233,14 @@ x86_output_mi_thunk (file, thunk, delta, vcall_offset, function)
if
(
!
flag_pic
||
(
*
targetm
.
binds_local_p
)
(
function
))
output_asm_insn
(
"jmp
\t
%P0"
,
xops
);
else
output_asm_insn
(
"jmp
\t
*%P0@GOTPCREL(%%rip)"
,
xops
);
{
tmp
=
XEXP
(
xops
[
0
],
0
);
tmp
=
gen_rtx_UNSPEC
(
Pmode
,
gen_rtvec
(
1
,
tmp
),
UNSPEC_GOTPCREL
);
tmp
=
gen_rtx_CONST
(
Pmode
,
tmp
);
tmp
=
gen_rtx_MEM
(
QImode
,
tmp
);
xops
[
0
]
=
tmp
;
output_asm_insn
(
"jmp
\t
%A0"
,
xops
);
}
}
else
{
...
...
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