[llvm] r198451 - [Mips]Work around MIPS linker issues exposed by commit r198087 until bug 18360 is resolved

Jack Carter jack.carter at imgtec.com
Fri Jan 3 14:18:43 PST 2014


Author: jacksprat
Date: Fri Jan  3 16:18:43 2014
New Revision: 198451

URL: http://llvm.org/viewvc/llvm-project?rev=198451&view=rev
Log:
[Mips]Work around MIPS linker issues exposed by commit r198087 until bug 18360 is resolved

Modified:
    llvm/trunk/Makefile.rules

Modified: llvm/trunk/Makefile.rules
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/Makefile.rules?rev=198451&r1=198450&r2=198451&view=diff
==============================================================================
--- llvm/trunk/Makefile.rules (original)
+++ llvm/trunk/Makefile.rules Fri Jan  3 16:18:43 2014
@@ -611,9 +611,11 @@ endif
 # By default, strip dead symbols at link time
 ifneq ($(HOST_OS), $(filter $(HOST_OS), Cygwin MingW))
 ifneq ($(HOST_OS),Darwin)
+ifneq ($(HOST_ARCH),Mips)
   CXX.Flags += -ffunction-sections -fdata-sections
 endif
 endif
+endif
 ifndef NO_DEAD_STRIP
   ifeq ($(HOST_OS),Darwin)
     LD.Flags += -Wl,-dead_strip





More information about the llvm-commits mailing list