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
6cfb8aa5
Commit
6cfb8aa5
authored
Jul 28, 1995
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change every occurance of #if __mips>=3 to #ifdef __mips64.
From-SVN: r10179
parent
4c876b4f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
gcc/ginclude/va-mips.h
+6
-6
No files found.
gcc/ginclude/va-mips.h
View file @
6cfb8aa5
...
...
@@ -29,7 +29,7 @@ typedef char * __gnuc_va_list;
#define __va_ellipsis
#endif
#if
__mips>=3
#if
def __mips64
#define __va_rounded_size(__TYPE) \
(((sizeof (__TYPE) + 8 - 1) / 8) * 8)
#else
...
...
@@ -54,7 +54,7 @@ typedef char * __gnuc_va_list;
#else
#define va_alist __builtin_va_alist
#if
__mips>=3
#if
def __mips64
/* This assumes that `long long int' is always a 64 bit type. */
#define va_dcl long long int __builtin_va_alist; __va_ellipsis
#else
...
...
@@ -78,11 +78,11 @@ void va_end (__gnuc_va_list); /* Defined in libgcc.a */
/* We cast to void * and then to TYPE * because this avoids
a warning about increasing the alignment requirement. */
/* The __mips
>=3
cases are reversed from the 32 bit cases, because the standard
/* The __mips
64
cases are reversed from the 32 bit cases, because the standard
32 bit calling convention left-aligns all parameters smaller than a word,
whereas the __mips
>=3
calling convention does not (and hence they are
whereas the __mips
64
calling convention does not (and hence they are
right aligned). */
#if
__mips>=3
#if
def __mips64
#ifdef __MIPSEB__
#define va_arg(__AP, __type) \
((__type *) (void *) (__AP = (char *) ((((__PTRDIFF_TYPE__)__AP + 8 - 1) & -8) \
...
...
@@ -94,7 +94,7 @@ void va_end (__gnuc_va_list); /* Defined in libgcc.a */
*(__type *) (void *) (__AP - __va_rounded_size (__type)))
#endif
#else
/* not __mips
>=3
*/
#else
/* not __mips
64
*/
#ifdef __MIPSEB__
/* For big-endian machines. */
...
...
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