aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>2006-03-31 01:16:47 +0000
committergeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>2006-03-31 01:16:47 +0000
commit7c55bb42786e7a517b7670898720fbc15cb8df56 (patch)
tree5344895de8321bb4eabc54826ee1202cd8b1d01f
parent65751be2dcfb294ebee3024803b2d24318bc596c (diff)
Radar 4495520
* config/darwin.h (LINK_COMMAND_SPEC): Don't try to protect %S with !Zdynamiclib. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/apple-local-200502-branch@112559 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/darwin.h3
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e417c2a78f9..81fd604165f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2006-03-30 Geoffrey Keating <geoffk@apple.com>
+
+ Radar 4495520
+ * config/darwin.h (LINK_COMMAND_SPEC): Don't try to protect %S with
+ !Zdynamiclib.
+
2006-03-24 Geoffrey Keating <geoffk@apple.com>
Radar 4485597
diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h
index bed6e1194e1..57fb9ceab43 100644
--- a/gcc/config/darwin.h
+++ b/gcc/config/darwin.h
@@ -367,7 +367,8 @@ do { \
%l %X %{d} %{s} %{t} %{Z} \
%{!Zdynamiclib:%{A} %{e*} %{m} %{N} %{n} %{r} %{u*} %{x} %{z}} \
%{@:-o %f%u.out}%{!@:%{o*}%{!o:-o a.out}} \
- %{!Zdynamiclib:%{!A:%{!nostdlib:%{!nostartfiles:%S}}}} \
+"/* APPLE LOCAL mainline 2006-04-01 4495520 */"\
+ %{!A:%{!nostdlib:%{!nostartfiles:%S}}} \
"/* APPLE LOCAL add fcreate-profile */"\
%{L*} %(link_libgcc) %o %{fprofile-arcs|fprofile-generate|fcreate-profile:-lgcov} \
"/* APPLE LOCAL nested functions 4357979 */"\