grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PPC64 mlongcall gcc flag


From: Robert Millan
Subject: Re: PPC64 mlongcall gcc flag
Date: Wed, 5 Nov 2008 10:43:53 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

On Tue, Nov 04, 2008 at 06:48:26PM -0500, Pavel Roskin wrote:
> Index: configure.ac
> ===================================================================
> --- configure.ac      (revision 1893)
> +++ configure.ac      (working copy)
> @@ -291,6 +291,11 @@
>        TARGET_CFLAGS="$TARGET_CFLAGS -malign-jumps=1 -malign-loops=1 
> -malign-functions=1"
>      fi
>    fi
> +
> +  # Force long calls on PowerPC.
> +  if test "x$target_cpu" = xpowerpc; then
> +    TARGET_CFLAGS="$TARGET_CFLAGS -mlongcall"
> +  fi
>  fi

IIRC we had a case/esac stanza for $target_cpu already.  Shouldn't this be added
there instead?

-- 
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]