aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorIain Sandoe <iains@gcc.gnu.org>2010-12-18 09:14:05 +0000
committerIain Sandoe <iains@gcc.gnu.org>2010-12-18 09:14:05 +0000
commit927b679cfb9d57a6b2e555ce0b2e348cb5c649b2 (patch)
tree9e63ec7afe9ca21f76e9480577a13a12e9b3e0a7 /gcc
parent3a9f56e8c835b0d26e533eb78d3f4caec82050ce (diff)
downloadgcc-927b679cfb9d57a6b2e555ce0b2e348cb5c649b2.zip
gcc-927b679cfb9d57a6b2e555ce0b2e348cb5c649b2.tar.gz
gcc-927b679cfb9d57a6b2e555ce0b2e348cb5c649b2.tar.bz2
darwin.h (GCC_DRIVER_HOST_INITIALIZATION): Only expose when not building for target.
gcc: * config/darwin.h (GCC_DRIVER_HOST_INITIALIZATION): Only expose when not building for target. From-SVN: r168017
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/darwin.h5
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 94dafa7..9637406 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2010-12-18 Iain Sandoe <iains@gcc.gnu.org>
+
+ * config/darwin.h (GCC_DRIVER_HOST_INITIALIZATION):
+ Only expose when not building for target.
+
2010-12-17 Joseph Myers <joseph@codesourcery.com>
* config/netbsd.opt, config/netbsd-elf.opt: New files.
diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h
index ba61740..a2694b8 100644
--- a/gcc/config/darwin.h
+++ b/gcc/config/darwin.h
@@ -963,10 +963,11 @@ __enable_execute_stack (void *addr) \
#define TARGET_HAS_TARGETCM 1
-extern void darwin_driver_init (unsigned int *decoded_options_count,
- struct cl_decoded_option **decoded_options);
+#ifndef USED_FOR_TARGET
+extern void darwin_driver_init (unsigned int *,struct cl_decoded_option **);
#define GCC_DRIVER_HOST_INITIALIZATION \
darwin_driver_init (&decoded_options_count, &decoded_options)
+#endif
/* The Apple assembler and linker do not support constructor priorities. */
#undef SUPPORTS_INIT_PRIORITY