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
6cb64c6a
Commit
6cb64c6a
authored
Apr 07, 1995
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(TRAMPOLINE_TEMPLATE, TRANSFER_FROM_TRAMPOLINE): Fix assembler syntax
errors. From-SVN: r9336
parent
bd8cb5e2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
gcc/config/ns32k/ns32k.h
+5
-4
No files found.
gcc/config/ns32k/ns32k.h
View file @
6cb64c6a
...
@@ -755,7 +755,7 @@ enum reg_class { NO_REGS, GENERAL_REGS, FLOAT_REGS, GEN_AND_FP_REGS,
...
@@ -755,7 +755,7 @@ enum reg_class { NO_REGS, GENERAL_REGS, FLOAT_REGS, GEN_AND_FP_REGS,
of a trampoline, leaving space for the variable parts. */
of a trampoline, leaving space for the variable parts. */
/* On the 32k, the trampoline looks like this:
/* On the 32k, the trampoline looks like this:
addr
.
,r2
addr
0(pc)
,r2
jump @__trampoline
jump @__trampoline
.int STATIC
.int STATIC
.int FUNCTION
.int FUNCTION
...
@@ -765,7 +765,7 @@ operands on the 32k are stored). */
...
@@ -765,7 +765,7 @@ operands on the 32k are stored). */
#define TRAMPOLINE_TEMPLATE(FILE) \
#define TRAMPOLINE_TEMPLATE(FILE) \
{ \
{ \
fprintf (FILE, "\taddr
.
,r2\n" ); \
fprintf (FILE, "\taddr
0(pc)
,r2\n" ); \
fprintf (FILE, "\tjump " ); \
fprintf (FILE, "\tjump " ); \
PUT_ABSOLUTE_PREFIX (FILE); \
PUT_ABSOLUTE_PREFIX (FILE); \
fprintf (FILE, "__trampoline\n" ); \
fprintf (FILE, "__trampoline\n" ); \
...
@@ -798,9 +798,10 @@ operands on the 32k are stored). */
...
@@ -798,9 +798,10 @@ operands on the 32k are stored). */
void \
void \
__transfer_from_trampoline () \
__transfer_from_trampoline () \
{ \
{ \
asm ("___trampoline:"); \
asm (".globl __trampoline"); \
asm ("__trampoline:"); \
asm ("movd 16(r2),tos"); \
asm ("movd 16(r2),tos"); \
asm ("movd 12(r2),r
2
"); \
asm ("movd 12(r2),r
1
"); \
asm ("ret 0"); \
asm ("ret 0"); \
}
}
...
...
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