[llvm-commits] [llvm-gcc-4.2] r48546 - /llvm-gcc-4.2/trunk/gcc/config/i386/i386.c
Bill Wendling
isanbard at gmail.com
Wed Mar 19 11:18:00 PDT 2008
Author: void
Date: Wed Mar 19 13:17:59 2008
New Revision: 48546
URL: http://llvm.org/viewvc/llvm-project?rev=48546&view=rev
Log:
"darwin_stubs" is only available on Mach-O systems.
Modified:
llvm-gcc-4.2/trunk/gcc/config/i386/i386.c
Modified: llvm-gcc-4.2/trunk/gcc/config/i386/i386.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/config/i386/i386.c?rev=48546&r1=48545&r2=48546&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/config/i386/i386.c (original)
+++ llvm-gcc-4.2/trunk/gcc/config/i386/i386.c Wed Mar 19 13:17:59 2008
@@ -7679,7 +7679,14 @@
case SYMBOL_REF:
/* APPLE LOCAL axe stubs 5571540 */
- if (! TARGET_MACHO || ! darwin_stubs || TARGET_64BIT)
+ if (! TARGET_MACHO ||
+ /* LLVM LOCAL begin */
+#if TARGET_MACHO
+ /* darwin_stubs not available on non-Darwin systems */
+ ! darwin_stubs ||
+#endif
+ /* LLVM LOCAL end */
+ TARGET_64BIT)
output_addr_const (file, x);
else
{
@@ -9450,7 +9457,10 @@
{
int strict = (reload_in_progress || reload_completed);
/* APPLE LOCAL dynamic-no-pic */
- rtx insn, op0, op1;
+#if TARGET_MACHO
+ rtx insn;
+#endif
+ rtx op0, op1;
enum tls_model model;
op0 = operands[0];
More information about the llvm-commits
mailing list