[llvm-commits] [llvm-gcc-4.2] r46146 - /llvm-gcc-4.2/trunk/gcc/config/arm/arm.c
Lauro Ramos Venancio
lauro.venancio at gmail.com
Thu Jan 17 15:31:39 PST 2008
Author: laurov
Date: Thu Jan 17 17:31:38 2008
New Revision: 46146
URL: http://llvm.org/viewvc/llvm-project?rev=46146&view=rev
Log:
Fix my previous patch. It changed the behavior on TARGET_MACHO.
Modified:
llvm-gcc-4.2/trunk/gcc/config/arm/arm.c
Modified: llvm-gcc-4.2/trunk/gcc/config/arm/arm.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/config/arm/arm.c?rev=46146&r1=46145&r2=46146&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/config/arm/arm.c (original)
+++ llvm-gcc-4.2/trunk/gcc/config/arm/arm.c Thu Jan 17 17:31:38 2008
@@ -15167,9 +15167,11 @@
/* Darwin/mach-o: use a stub for dynamic references. */
#if TARGET_MACHO
if ((flag_pic || MACHO_DYNAMIC_NO_PIC_P)
- && ! machopic_data_defined_p (function_rtx))
- function_name =
- machopic_indirection_name (function_rtx, true);
+ && ! machopic_data_defined_p (function_rtx))
+ function_name =
+ machopic_indirection_name (function_rtx, true);
+ else
+ function_name = XSTR (function_rtx, 0);
#else
function_name = XSTR (function_rtx, 0);
#endif
More information about the llvm-commits
mailing list