[llvm-commits] [llvm-gcc-4.2] r92949 - in /llvm-gcc-4.2/trunk/gcc: ChangeLog.apple config/darwin.h
Jim Grosbach
grosbach at apple.com
Thu Jan 7 13:59:11 PST 2010
Author: grosbach
Date: Thu Jan 7 15:59:10 2010
New Revision: 92949
URL: http://llvm.org/viewvc/llvm-project?rev=92949&view=rev
Log:
pass -force_load to the linker on Darwin
Modified:
llvm-gcc-4.2/trunk/gcc/ChangeLog.apple
llvm-gcc-4.2/trunk/gcc/config/darwin.h
Modified: llvm-gcc-4.2/trunk/gcc/ChangeLog.apple
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/ChangeLog.apple?rev=92949&r1=92948&r2=92949&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/ChangeLog.apple (original)
+++ llvm-gcc-4.2/trunk/gcc/ChangeLog.apple Thu Jan 7 15:59:10 2010
@@ -1,3 +1,9 @@
+2010-01-07 Jim Grosbach <grosbach at apple.com>
+
+ Radar 7519550
+ * config/darwin.h (TARGET_OPTION_TRANSLATE_TABLE,
+ WORD_SWITCH_TAKES_ARG, LINK_SPEC): Add -force_load.
+
2009-12-04 Jim Grosbach <grosbach at apple.com>
Radar 6930582
Modified: llvm-gcc-4.2/trunk/gcc/config/darwin.h
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/config/darwin.h?rev=92949&r1=92948&r2=92949&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/config/darwin.h (original)
+++ llvm-gcc-4.2/trunk/gcc/config/darwin.h Thu Jan 7 15:59:10 2010
@@ -134,6 +134,8 @@
#define TARGET_OPTION_TRANSLATE_TABLE \
{ "-all_load", "-Zall_load" }, \
+ /* APPLE LOCAL 7519550 -force_load */ \
+ { "-force_load", "-Zforce_load" }, \
{ "-allowable_client", "-Zallowable_client" }, \
{ "-arch_errors_fatal", "-Zarch_errors_fatal" }, \
{ "-bind_at_load", "-Zbind_at_load" }, \
@@ -257,6 +259,8 @@
#undef WORD_SWITCH_TAKES_ARG
#define WORD_SWITCH_TAKES_ARG(STR) \
(DEFAULT_WORD_SWITCH_TAKES_ARG (STR) ? 1 : \
+ /* APPLE LOCAL 7519550 -force_load */ \
+ !strcmp (STR, "Zforce_load") ? 1 : \
!strcmp (STR, "Zallowable_client") ? 1 : \
!strcmp (STR, "arch") ? 1 : \
!strcmp (STR, "arch_only") ? 1 : \
@@ -416,6 +420,8 @@
%{private_bundle:%e-private_bundle not allowed with -dynamiclib} \
} \
%{Zall_load:-all_load} \
+ "/* APPLE LOCAL 7519550 -force_load */" \
+ %{Zforce_load*:-force_load %*} \
%{Zallowable_client*:-allowable_client %*} \
%{Zbind_at_load:-bind_at_load} \
%{Zarch_errors_fatal:-arch_errors_fatal} \
More information about the llvm-commits
mailing list