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
e04546dc
Commit
e04546dc
authored
Dec 06, 2001
by
Nick Clifton
Committed by
Nick Clifton
Dec 06, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restore definition of STRUCT_VALUE_REGNUM,
From-SVN: r47721
parent
69da3e3a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
0 deletions
+16
-0
gcc/ChangeLog
+5
-0
gcc/config/arm/arm.h
+11
-0
No files found.
gcc/ChangeLog
View file @
e04546dc
2001
-
12
-
06
Nick
Clifton
<
nickc
@cambridge
.
redhat
.
com
>
*
config
/
arm
/
arm
.
h
(
STRUCT_VALUE
)
:
Suppress
definition
.
(
STRUCT_VALUE_REGNUM
)
:
Restore
definition
.
2001
-
12
-
06
Andrew
MacLeod
<
amacleod
@redhat
.
com
>
2001
-
12
-
06
Andrew
MacLeod
<
amacleod
@redhat
.
com
>
*
flow
.
c
(
find_regno_partial
)
:
Return
register
,
not
the
expression
*
flow
.
c
(
find_regno_partial
)
:
Return
register
,
not
the
expression
...
...
gcc/config/arm/arm.h
View file @
e04546dc
...
@@ -905,8 +905,19 @@ extern const char * structure_size_string;
...
@@ -905,8 +905,19 @@ extern const char * structure_size_string;
/* Return the regiser number of the N'th (integer) argument. */
/* Return the regiser number of the N'th (integer) argument. */
#define ARG_REGISTER(N) (N - 1)
#define ARG_REGISTER(N) (N - 1)
#if 0 /* FIXME: The ARM backend has special code to handle structure
returns, and will reserve its own hidden first argument. So
if this macro is enabled a *second* hidden argument will be
reserved, which will break binary compatability with old
toolchains and also thunk handling. One day this should be
fixed. */
/* RTX for structure returns. NULL means use a hidden first argument. */
/* RTX for structure returns. NULL means use a hidden first argument. */
#define STRUCT_VALUE 0
#define STRUCT_VALUE 0
#else
/* Register in which address to store a structure value
is passed to a function. */
#define STRUCT_VALUE_REGNUM ARG_REGISTER (1)
#endif
/* Specify the registers used for certain standard purposes.
/* Specify the registers used for certain standard purposes.
The values of these macros are register numbers. */
The values of these macros are register numbers. */
...
...
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