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
2010-04-09 Kai Tietz <kai.tietz@onevision.com>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
config
/
netbsd.h
diff --git
a/gcc/config/netbsd.h
b/gcc/config/netbsd.h
index
2c078af
..
4f82809
100644
(file)
--- a/
gcc/config/netbsd.h
+++ b/
gcc/config/netbsd.h
@@
-1,12
+1,12
@@
/* Base configuration file for all NetBSD targets.
/* Base configuration file for all NetBSD targets.
- Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
- Free Software Foundation, Inc.
+ Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
,
+
2007
Free Software Foundation, Inc.
This file is part of GCC.
GCC is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This file is part of GCC.
GCC is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version
2
, or (at your option)
+the Free Software Foundation; either version
3
, or (at your option)
any later version.
GCC is distributed in the hope that it will be useful,
any later version.
GCC is distributed in the hope that it will be useful,
@@
-15,9
+15,8
@@
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
-along with GCC; see the file COPYING. If not, write to
-the Free Software Foundation, 59 Temple Place - Suite 330,
-Boston, MA 02111-1307, USA. */
+along with GCC; see the file COPYING3. If not see
+<http://www.gnu.org/licenses/>. */
/* TARGET_OS_CPP_BUILTINS() common to all NetBSD targets. */
#define NETBSD_OS_CPP_BUILTINS_COMMON() \
/* TARGET_OS_CPP_BUILTINS() common to all NetBSD targets. */
#define NETBSD_OS_CPP_BUILTINS_COMMON() \
@@
-156,8
+155,8
@@
Boston, MA 02111-1307, USA. */
fprintf ((STREAM), "void __fini() {\n\t%s();\n}\n", (FUNC)); \
} while (0)
fprintf ((STREAM), "void __fini() {\n\t%s();\n}\n", (FUNC)); \
} while (0)
-#undef TARGET_
HAS_F_SETLKW
-#define TARGET_
HAS_F_SETLKW
+#undef TARGET_
POSIX_IO
+#define TARGET_
POSIX_IO
/* Handle #pragma weak and #pragma pack. */
/* Handle #pragma weak and #pragma pack. */
@@
-181,7
+180,7
@@
Boston, MA 02111-1307, USA. */
\f
/* Attempt to turn on execute permission for the stack. This may be
\f
/* Attempt to turn on execute permission for the stack. This may be
- used by
INITIALIZE_TRAMPOLINE o
f the target needs it (that is,
+ used by
TARGET_TRAMPOLINE_INIT i
f the target needs it (that is,
if the target machine can change execute permissions on a page).
There is no way to query the execute permission of the stack, so
if the target machine can change execute permissions on a page).
There is no way to query the execute permission of the stack, so
@@
-225,3
+224,6
@@
__enable_execute_stack (void *addr) \
/* 7 == PROT_READ | PROT_WRITE | PROT_EXEC */ \
(void) mprotect (page, end - page, 7); \
}
/* 7 == PROT_READ | PROT_WRITE | PROT_EXEC */ \
(void) mprotect (page, end - page, 7); \
}
+
+/* Define this so we can compile MS code for use with WINE. */
+#define HANDLE_PRAGMA_PACK_PUSH_POP 1