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
ada818fd
Commit
ada818fd
authored
Jun 20, 2018
by
Maya Rashish
Committed by
Gerald Pfeifer
Jun 20, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ginclude/stddef.h: Limit #include <machine/ansi.h> to NetBSD.
From-SVN: r261797
parent
9f5361c8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
15 deletions
+9
-15
gcc/ChangeLog
+4
-0
gcc/ginclude/stddef.h
+5
-15
No files found.
gcc/ChangeLog
View file @
ada818fd
2018-06-20 Maya Rashish <coypu@sdf.org>
* ginclude/stddef.h: Limit #include <machine/ansi.h> to NetBSD.
2018-06-20 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2018-06-20 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/aarch64/aarch64-tuning-flags.def (no_ldp_stp_qregs): New.
* config/aarch64/aarch64-tuning-flags.def (no_ldp_stp_qregs): New.
...
...
gcc/ginclude/stddef.h
View file @
ada818fd
...
@@ -46,9 +46,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
...
@@ -46,9 +46,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
/* This avoids lossage on SunOS but only if stdtypes.h comes first.
/* This avoids lossage on SunOS but only if stdtypes.h comes first.
There's no way to win with the other order! Sun lossage. */
There's no way to win with the other order! Sun lossage. */
/* On 4.3bsd-net2, make sure ansi.h is included, so we have
#if defined(__NetBSD__)
one less case to deal with in the following. */
#if defined (__BSD_NET2__) || defined (____386BSD____) || (defined (__FreeBSD__) && (__FreeBSD__ < 5)) || defined(__NetBSD__)
#include <machine/ansi.h>
#include <machine/ansi.h>
#endif
#endif
/* On FreeBSD 5, machine/ansi.h does not exist anymore... */
/* On FreeBSD 5, machine/ansi.h does not exist anymore... */
...
@@ -56,11 +54,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
...
@@ -56,11 +54,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#include <sys/_types.h>
#include <sys/_types.h>
#endif
#endif
/* In 4.3bsd-net2, machine/ansi.h defines these symbols, which are
#if defined(__NetBSD__)
defined if the corresponding type is *not* defined.
FreeBSD-2.1 defines _MACHINE_ANSI_H_ instead of _ANSI_H_.
NetBSD defines _I386_ANSI_H_ and _X86_64_ANSI_H_ instead of _ANSI_H_ */
#if defined(_ANSI_H_) || defined(_MACHINE_ANSI_H_) || defined(_X86_64_ANSI_H_) || defined(_I386_ANSI_H_)
#if !defined(_SIZE_T_) && !defined(_BSD_SIZE_T_)
#if !defined(_SIZE_T_) && !defined(_BSD_SIZE_T_)
#define _SIZE_T
#define _SIZE_T
#endif
#endif
...
@@ -87,7 +81,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
...
@@ -87,7 +81,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#undef _WCHAR_T_
#undef _WCHAR_T_
#undef _BSD_WCHAR_T_
#undef _BSD_WCHAR_T_
#endif
#endif
#endif
/* defined(_
ANSI_H_) || defined(_MACHINE_ANSI_H_) || defined(_X86_64_ANSI_H_) || defined(_I386_ANSI_H
_) */
#endif
/* defined(_
_NetBSD_
_) */
/* Sequent's header files use _PTRDIFF_T_ in some conflicting way.
/* Sequent's header files use _PTRDIFF_T_ in some conflicting way.
Just ignore it. */
Just ignore it. */
...
@@ -359,11 +353,7 @@ typedef __WINT_TYPE__ wint_t;
...
@@ -359,11 +353,7 @@ typedef __WINT_TYPE__ wint_t;
#undef __need_wint_t
#undef __need_wint_t
#endif
#endif
/* In 4.3bsd-net2, leave these undefined to indicate that size_t, etc.
#if defined(__NetBSD__)
are already defined. */
/* BSD/OS 3.1 and FreeBSD [23].x require the MACHINE_ANSI_H check here. */
/* NetBSD 5 requires the I386_ANSI_H and X86_64_ANSI_H checks here. */
#if defined(_ANSI_H_) || defined(_MACHINE_ANSI_H_) || defined(_X86_64_ANSI_H_) || defined(_I386_ANSI_H_)
/* The references to _GCC_PTRDIFF_T_, _GCC_SIZE_T_, and _GCC_WCHAR_T_
/* The references to _GCC_PTRDIFF_T_, _GCC_SIZE_T_, and _GCC_WCHAR_T_
are probably typos and should be removed before 2.8 is released. */
are probably typos and should be removed before 2.8 is released. */
#ifdef _GCC_PTRDIFF_T_
#ifdef _GCC_PTRDIFF_T_
...
@@ -391,7 +381,7 @@ typedef __WINT_TYPE__ wint_t;
...
@@ -391,7 +381,7 @@ typedef __WINT_TYPE__ wint_t;
#undef _WCHAR_T_
#undef _WCHAR_T_
#undef _BSD_WCHAR_T_
#undef _BSD_WCHAR_T_
#endif
#endif
#endif
/* _
ANSI_H_ || _MACHINE_ANSI_H_ || _X86_64_ANSI_H_ || _I386_ANSI_H
_ */
#endif
/* _
_NetBSD_
_ */
#endif
/* __sys_stdtypes_h */
#endif
/* __sys_stdtypes_h */
...
...
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