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
1065f0ab
Commit
1065f0ab
authored
29 years ago
by
Doug Evans
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
__sparc_v9__ renamed to __arch64__
From-SVN: r11324
parent
f6a048b9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
gcc/ginclude/va-sparc.h
+9
-9
No files found.
gcc/ginclude/va-sparc.h
View file @
1065f0ab
...
...
@@ -6,7 +6,7 @@
#ifndef __GNUC_VA_LIST
#define __GNUC_VA_LIST
#ifdef __
sparc_v9
__
#ifdef __
arch64
__
typedef
long
long
__va_greg
;
typedef
double
__va_freg
;
typedef
struct
{
...
...
@@ -26,7 +26,7 @@ typedef char * __gnuc_va_list;
i.e., we have to pass a `va_list' to vsprintf. */
typedef
void
*
__gnuc_va_list
;
#endif
#endif
/* not __
sparc_v9
__ */
#endif
/* not __
arch64
__ */
#endif
/* not __GNUC_VA_LIST */
/* If this is for internal libc use, don't define anything but
...
...
@@ -35,7 +35,7 @@ typedef void * __gnuc_va_list;
#ifdef _STDARG_H
#ifdef __
sparc_v9
__
#ifdef __
arch64
__
#define va_start(AP, LASTARG) \
__extension__ \
({ \
...
...
@@ -57,14 +57,14 @@ __extension__ \
#define va_start(AP, LASTARG) \
(__builtin_saveregs (), AP = ((char *) __builtin_next_arg (LASTARG)))
#endif
#endif
/* not __
sparc_v9
__ */
#endif
/* not __
arch64
__ */
#else
#define va_alist __builtin_va_alist
#define va_dcl int __builtin_va_alist;...
#ifdef __
sparc_v9
__
#ifdef __
arch64
__
#define va_start(AP) \
__extension__ \
({ \
...
...
@@ -84,7 +84,7 @@ __extension__ \
#define va_start(AP) \
(__builtin_saveregs (), (AP) = ((char *) &__builtin_va_alist))
#endif
#endif
/* not __
sparc_v9
__ */
#endif
/* not __
arch64
__ */
#endif
...
...
@@ -129,7 +129,7 @@ enum __va_type_classes {
in the stack are made to be word-aligned; for an aggregate that is
not word-aligned, we advance the pointer to the first non-reg slot. */
#ifdef __
sparc_v9
__
#ifdef __
arch64
__
#define va_arg(pvar,TYPE) \
__extension__ \
...
...
@@ -173,7 +173,7 @@ __extension__ \
} \
(TYPE *) __result;}))
#else
/* not __
sparc_v9
__ */
#else
/* not __
arch64
__ */
#define __va_rounded_size(TYPE) \
(((sizeof (TYPE) + sizeof (int) - 1) / sizeof (int)) * sizeof (int))
...
...
@@ -198,6 +198,6 @@ __extension__ \
(TYPE *) (void *) __u.__d; }) \
: ((pvar) = (char *)(pvar) + __va_rounded_size (TYPE), \
((TYPE *) (void *) ((char *)(pvar) - __va_rounded_size (TYPE)))));}))
#endif
/* not __
sparc_v9
__ */
#endif
/* not __
arch64
__ */
#endif
/* defined (_STDARG_H) || defined (_VARARGS_H) */
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