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
29bd4eb3
Commit
29bd4eb3
authored
Feb 03, 1995
by
Michael Meissner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix indirect function pointers on eABI.
From-SVN: r8857
parent
59be85d7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
gcc/config/rs6000/rs6000.md
+6
-0
No files found.
gcc/config/rs6000/rs6000.md
View file @
29bd4eb3
...
...
@@ -4587,10 +4587,13 @@
operands
[
0
]
= XEXP (operands
[
0
]
, 0);
if (GET_CODE (operands
[
0
]
) != SYMBOL_REF)
{
#ifndef USING_SVR4_H
/
* AIX function pointers are really pointers to a three word area *
/
rtx temp = gen_reg_rtx (SImode);
emit_insn (gen_call_via_ptr (temp, force_reg (SImode, operands[0])));
operands[0] = temp;
#endif /* !USING_SVR4_H */
}
}")
...
...
@@ -4608,10 +4611,13 @@
operands
[
1
]
= XEXP (operands
[
1
]
, 0);
if (GET_CODE (operands
[
1
]
) != SYMBOL_REF)
{
#ifndef USING_SVR4_H
/
* AIX function pointers are really pointers to a three word area *
/
rtx temp = gen_reg_rtx (SImode);
emit_insn (gen_call_via_ptr (temp, force_reg (SImode, operands[1])));
operands[1] = temp;
#endif /* !USING_SVR4_H */
}
}")
...
...
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