summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>2010-04-29 03:18:30 +0000
committermrs <mrs@138bc75d-0d04-0410-961f-82ee72b054a4>2010-04-29 03:18:30 +0000
commita5fc34f11592debbf862b82d16e9ce5c364afb5d (patch)
tree617d6451275fa72989fa93ee57b7992cac166a26
parent6a6156dad4b756d6a2fd53b72be91a7296f6fa71 (diff)
downloadppe42-gcc-a5fc34f11592debbf862b82d16e9ce5c364afb5d.tar.gz
ppe42-gcc-a5fc34f11592debbf862b82d16e9ce5c364afb5d.zip
* config/i386/darwin.h (CC1_SPEC): Ignore -mdynamic-no-pic for
now. Fixes stubify-1.mm on i686-apple-darwin*. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158852 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/i386/darwin.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7fcbf0474db..f36d5edc266 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2010-04-28 Mike Stump <mikestump@comcast.net>
+
+ * config/i386/darwin.h (CC1_SPEC): Ignore -mdynamic-no-pic for
+ now.
+
2010-04-28 Eric Botcazou <ebotcazou@adacore.com>
* lto-streamer-in.c (unpack_ts_type_value_fields): Replace test for
diff --git a/gcc/config/i386/darwin.h b/gcc/config/i386/darwin.h
index f95d9c9d94d..f2c8984ab84 100644
--- a/gcc/config/i386/darwin.h
+++ b/gcc/config/i386/darwin.h
@@ -92,6 +92,7 @@ along with GCC; see the file COPYING3. If not see
#undef CC1_SPEC
#define CC1_SPEC "%(cc1_cpu) \
+ %<mdynamic-no-pic " /* For now, we just ignore this flag */ " \
%{!mkernel:%{!static:%{!mdynamic-no-pic:-fPIC}}} \
%{!mmacosx-version-min=*:-mmacosx-version-min=%(darwin_minversion)} \
%{g: %{!fno-eliminate-unused-debug-symbols: -feliminate-unused-debug-symbols }}"
OpenPOWER on IntegriCloud