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
6b66447a
Commit
6b66447a
authored
20 years ago
by
Nick Clifton
Committed by
Nick Clifton
20 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(fr30_setup_incoming_varargs): Change arguments to match
TARGET_SETUP_INCOMING_VARARGS prototype. From-SVN: r84197
parent
874a4e75
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
14 deletions
+18
-14
gcc/ChangeLog
+5
-0
gcc/config/fr30/fr30.c
+13
-14
No files found.
gcc/ChangeLog
View file @
6b66447a
2004-07-07 Nick Clifton <nickc@redhat.com>
* config/fr30/fr30.c (fr30_setup_incoming_varargs): Change
arguments to match TARGET_SETUP_INCOMING_VARARGS prototype.
2004-07-07 Nathan Sidwell <nathan@codesourcery.com>
* vec.h: Fix the example use.
...
...
This diff is collapsed.
Click to expand it.
gcc/config/fr30/fr30.c
View file @
6b66447a
...
...
@@ -146,15 +146,15 @@ static rtx fr30_pass_by_value (tree, tree);
#endif
/* Initialize the GCC target structure. */
#undef TARGET_ASM_ALIGNED_HI_OP
#undef
TARGET_ASM_ALIGNED_HI_OP
#define TARGET_ASM_ALIGNED_HI_OP "\t.hword\t"
#undef TARGET_ASM_ALIGNED_SI_OP
#undef
TARGET_ASM_ALIGNED_SI_OP
#define TARGET_ASM_ALIGNED_SI_OP "\t.word\t"
#undef TARGET_PROMOTE_PROTOTYPES
#undef
TARGET_PROMOTE_PROTOTYPES
#define TARGET_PROMOTE_PROTOTYPES hook_bool_tree_true
#undef TARGET_SETUP_INCOMING_VARARGS
#undef
TARGET_SETUP_INCOMING_VARARGS
#define TARGET_SETUP_INCOMING_VARARGS fr30_setup_incoming_varargs
struct
gcc_target
targetm
=
TARGET_INITIALIZER
;
...
...
@@ -413,27 +413,26 @@ fr30_expand_epilogue (void)
ARG_REGS_USED_SO_FAR has *not* been updated for the last named argument
which has type TYPE and mode MODE, and we rely on this fact. */
void
fr30_setup_incoming_varargs
(
CUMULATIVE_ARGS
arg_regs_used_so_far
,
int
int_
mode
,
fr30_setup_incoming_varargs
(
CUMULATIVE_ARGS
*
arg_regs_used_so_far
,
enum
machine_mode
mode
,
tree
type
ATTRIBUTE_UNUSED
,
int
*
pretend_size
)
int
*
pretend_size
,
int
second_time
ATTRIBUTE_UNUSED
)
{
enum
machine_mode
mode
=
(
enum
machine_mode
)
int_mode
;
int
size
;
int
size
;
/* All BLKmode values are passed by reference. */
if
(
mode
==
BLKmode
)
abort
();
/* ??? This run-time test as well as the code inside the if
statement is probably unnecessary. */
if
(
targetm
.
calls
.
strict_argument_naming
(
&
arg_regs_used_so_far
))
if
(
targetm
.
calls
.
strict_argument_naming
(
arg_regs_used_so_far
))
/* If TARGET_STRICT_ARGUMENT_NAMING returns true, then the last named
arg must not be treated as an anonymous arg. */
arg_regs_used_so_far
+=
fr30_num_arg_regs
(
int_
mode
,
type
);
size
=
FR30_NUM_ARG_REGS
-
arg_regs_used_so_far
;
arg_regs_used_so_far
+=
fr30_num_arg_regs
(
mode
,
type
);
size
=
FR30_NUM_ARG_REGS
-
(
*
arg_regs_used_so_far
)
;
if
(
size
<=
0
)
return
;
...
...
This diff is collapsed.
Click to expand it.
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