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
095fa594
Commit
095fa594
authored
22 years ago
by
Stuart Hastings
Committed by
Stuart Hastings
22 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* config/i386/i386.c (x86_output_mi_thunk) Add Darwin/x86 support.
From-SVN: r61755
parent
1e4c04e0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
+15
-0
gcc/ChangeLog
+4
-0
gcc/config/i386/i386.c
+11
-0
No files found.
gcc/ChangeLog
View file @
095fa594
2002
-
01
-
24
Stuart
Hastings
<
stuart
@apple
.
com
>
*
config
/
i386
/
i386
.
c
(
x86_output_mi_thunk
)
Add
Darwin
/
x86
support
.
2003
-
01
-
25
Michael
Hayes
<
m
.
hayes
@elec
.
canterbury
.
ac
.
nz
>
*
config
/
c4x
/
c4x
.
md
(
UNSPEC_BU
)
:
New
constants
.
...
...
This diff is collapsed.
Click to expand it.
gcc/config/i386/i386.c
View file @
095fa594
...
...
@@ -14801,6 +14801,17 @@ 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
#if defined TARGET_MACHO
if
(
TARGET_MACHO
)
{
char
*
ip
=
IDENTIFIER_POINTER
(
DECL_ASSEMBLER_NAME
(
function
));
tmp
=
gen_rtx_SYMBOL_REF
(
Pmode
,
machopic_stub_name
(
ip
));
tmp
=
gen_rtx_MEM
(
QImode
,
tmp
);
xops
[
0
]
=
tmp
;
output_asm_insn
(
"jmp
\t
%0"
,
xops
);
}
else
#endif
/* TARGET_MACHO */
{
tmp
=
gen_rtx_REG
(
SImode
,
2
/* ECX */
);
output_set_got
(
tmp
);
...
...
This diff is collapsed.
Click to expand it.
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