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
468e8dba
Commit
468e8dba
authored
Nov 26, 2001
by
David Edelsohn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more minimal-toc tweaking of output_mi_thunk.
From-SVN: r47367
parent
5652450c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletions
+7
-1
gcc/config/rs6000/rs6000.c
+7
-1
No files found.
gcc/config/rs6000/rs6000.c
View file @
468e8dba
...
@@ -8184,9 +8184,15 @@ output_mi_thunk (file, thunk_fndecl, delta, function)
...
@@ -8184,9 +8184,15 @@ output_mi_thunk (file, thunk_fndecl, delta, function)
assemble_name
(
file
,
fname
);
assemble_name
(
file
,
fname
);
putc
(
'\n'
,
file
);
putc
(
'\n'
,
file
);
text_section
();
text_section
();
if
(
TARGET_MINIMAL_TOC
)
asm_fprintf
(
file
,
(
TARGET_32BIT
)
?
"
\t
{l|lwz} %s,%s(%s)
\n
"
:
"
\t
ld %s,%s(%s)
\n
"
,
r12
,
TARGET_ELF
?
".LCTOC0@toc"
:
".LCTOC..1"
,
toc
);
asm_fprintf
(
file
,
(
TARGET_32BIT
)
?
"
\t
{l|lwz} %s,"
:
"
\t
ld %s,"
,
r12
);
asm_fprintf
(
file
,
(
TARGET_32BIT
)
?
"
\t
{l|lwz} %s,"
:
"
\t
ld %s,"
,
r12
);
assemble_name
(
file
,
buf
);
assemble_name
(
file
,
buf
);
asm_fprintf
(
file
,
"(%s)
\n
"
,
reg_names
[
2
]);
if
(
TARGET_ELF
&&
TARGET_MINIMAL_TOC
)
fputs
(
"-(.LCTOC1)"
,
file
);
asm_fprintf
(
file
,
"(%s)
\n
"
,
TARGET_MINIMAL_TOC
?
r12
:
toc
);
asm_fprintf
(
file
,
asm_fprintf
(
file
,
(
TARGET_32BIT
)
?
"
\t
{l|lwz} %s,0(%s)
\n
"
:
"
\t
ld %s,0(%s)
\n
"
,
(
TARGET_32BIT
)
?
"
\t
{l|lwz} %s,0(%s)
\n
"
:
"
\t
ld %s,0(%s)
\n
"
,
r0
,
r12
);
r0
,
r12
);
...
...
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