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
dafe6cf1
Commit
dafe6cf1
authored
Jun 11, 1992
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(RETURN_IN_MEMORY): Do nothing for structs and unions.
From-SVN: r1192
parent
81359be5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
gcc/config/sparc/sparc.h
+4
-3
No files found.
gcc/config/sparc/sparc.h
View file @
dafe6cf1
...
@@ -383,10 +383,11 @@ extern int leaf_function;
...
@@ -383,10 +383,11 @@ extern int leaf_function;
#define FINALIZE_PIC finalize_pic ()
#define FINALIZE_PIC finalize_pic ()
/* Sparc ABI says that quad-precision floats and all structures are returned
/* Sparc ABI says that quad-precision floats and all structures are returned
in memory. */
in memory. We go along regarding floats, but for structures
we follow GCC's normal policy. Use -fpcc-struct-value
if you want to follow the ABI. */
#define RETURN_IN_MEMORY(TYPE) \
#define RETURN_IN_MEMORY(TYPE) \
(TREE_CODE (TYPE) == RECORD_TYPE || TREE_CODE (TYPE) == UNION_TYPE \
(TYPE_MODE (TYPE) == TFmode)
|| TYPE_MODE (TYPE) == TFmode)
/* Functions which return large structures get the address
/* Functions which return large structures get the address
to place the wanted value at offset 64 from the frame.
to place the wanted value at offset 64 from the frame.
...
...
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