OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* config/netbsd-aout.h (NETBSD_OS_CPP_BUILTINS_AOUT): Define
[pf3gnuchains/gcc-fork.git]
/
gcc
/
config
/
netbsd-elf.h
diff --git
a/gcc/config/netbsd-elf.h
b/gcc/config/netbsd-elf.h
index
7dd9ff3
..
6e69e80
100644
(file)
--- a/
gcc/config/netbsd-elf.h
+++ b/
gcc/config/netbsd-elf.h
@@
-19,6
+19,14
@@
along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+/* TARGET_OS_CPP_BUILTINS() common to all NetBSD ELF targets. */
+#define NETBSD_OS_CPP_BUILTINS_ELF() \
+ do \
+ { \
+ NETBSD_OS_CPP_BUILTINS_COMMON(); \
+ builtin_define ("__ELF__"); \
+ } \
+ while (0)
/* This defines which switch letters take arguments. On NetBSD, most
of the normal cases (defined by gcc.c) apply, and we also have -h*
/* This defines which switch letters take arguments. On NetBSD, most
of the normal cases (defined by gcc.c) apply, and we also have -h*