summaryrefslogtreecommitdiff
path: root/ltcf-cxx.sh
diff options
context:
space:
mode:
authorgeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-03 00:52:18 +0000
committergeoffk <geoffk@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-03 00:52:18 +0000
commit3ff2e84908256390a817f081b045cff337260ff1 (patch)
tree8f5dad005756752c4055726b4b94227340ec6e4a /ltcf-cxx.sh
parent00b0a4358855737dfd4c6f8e0de2a20dfef4338f (diff)
downloadgcc-3ff2e84908256390a817f081b045cff337260ff1.tar.gz
Index: ChangeLog
2004-08-02 Geoffrey Keating <geoffk@apple.com> * ltcf-cxx.sh: On Darwin, make archive multi-module, and don't use -all_load flag. Index: gcc/ChangeLog 2004-08-02 Geoffrey Keating <geoffk@apple.com> * dwarf2out.c (output_call_frame_info): Don't change data format due to TARGET_USES_WEAK_UNWIND_INFO. Always refer to the local label. Use 'true' not '1'. * doc/install.texi (powerpc-*-darwin*): Mention cctools version required. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85461 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'ltcf-cxx.sh')
-rw-r--r--ltcf-cxx.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/ltcf-cxx.sh b/ltcf-cxx.sh
index ce28177ee11..7edeb864b17 100644
--- a/ltcf-cxx.sh
+++ b/ltcf-cxx.sh
@@ -254,7 +254,8 @@ case $host_os in
;;
esac
output_verbose_link_cmd='echo'
- archive_cmds='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
+
+ archive_cmds='$CXX -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
# Don't fix this by using the ld -exported_symbols_list flag,
@@ -264,7 +265,6 @@ case $host_os in
hardcode_direct=no
hardcode_automatic=yes
hardcode_shlibpath_var=unsupported
- whole_archive_flag_spec='-all_load $convenience'
link_all_deplibs=yes
;;