summaryrefslogtreecommitdiff
path: root/gcc/config/darwin.h
diff options
context:
space:
mode:
authorechristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4>2007-05-03 02:09:58 +0000
committerechristo <echristo@138bc75d-0d04-0410-961f-82ee72b054a4>2007-05-03 02:09:58 +0000
commit29686c2c57c9dcd45b26420a190cfd7350715a54 (patch)
treed91fa1dd7b23f4070c6c1d17a4d37974cbbe08b9 /gcc/config/darwin.h
parent0c37b1ffe9551cd092d2c469346b0fb16faf56d0 (diff)
downloadgcc-29686c2c57c9dcd45b26420a190cfd7350715a54.tar.gz
2007-05-02 Eric Christopher <echristo@apple.com>
* config/darwin.h (TARGET_OPTION_TRANSLATE_TABLE): Translate -shared to -Zdynamiclib. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@124372 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/darwin.h')
-rw-r--r--gcc/config/darwin.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h
index 6512a0f5aed..773787e3d29 100644
--- a/gcc/config/darwin.h
+++ b/gcc/config/darwin.h
@@ -147,6 +147,7 @@ extern GTY(()) int darwin_ms_struct;
{ "-multiply_defined", "-Zmultiply_defined" }, \
{ "-multi_module", "-Zmulti_module" }, \
{ "-static", "-static -Wa,-static" }, \
+ { "-shared", "-Zdynamiclib" }, \
{ "-single_module", "-Zsingle_module" }, \
{ "-unexported_symbols_list", "-Zunexported_symbols_list" }, \
SUBTARGET_OPTION_TRANSLATE_TABLE