linux-mips
[Top] [All Lists]

Re: [PATCH] mips/loongson: unify compiler flags and load location for Lo

To: Andreas Barth <aba@not.so.argh.org>, linux-mips@linux-mips.org, debian-mips@lists.debian.org
Subject: Re: [PATCH] mips/loongson: unify compiler flags and load location for Loongson 2E and 2F
From: Matt Turner <mattst88@gmail.com>
Date: Thu, 25 Aug 2011 19:44:57 -0400
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=ak6GK0p3IOK6/jG35LxfcuMlVTcC8cfYq3/ggFRHZxc=; b=VE+99aIfe5q/bbx9+hJ8C/WgZUJJ32hkWQflrNW01+xVwXuGon8a7AdJ1aClCxyFKD j7V7eEoZO6CdQxWvx8u6p6VbT7ASGJl7ujSJWtt/jwsL8eddm4LcsOEy7fzTs63Tawz0 ekSSF869v5TpbGDlwwMDvPacRwHbZq0LxGe+g=
In-reply-to: <20110825080054.GA10459@mails.so.argh.org>
References: <20110821010513.GZ2657@mails.so.argh.org> <20110825080054.GA10459@mails.so.argh.org>
Sender: linux-mips-bounce@linux-mips.org
On Thu, Aug 25, 2011 at 4:00 AM, Andreas Barth <aba@not.so.argh.org> wrote:
> This patch starts to merge the Loongson 2E and 2F code together with the
> goal to produce a binary kernel image that can run on both machines. As
> code compiled for 2E cannot run on 2F and vice versa, the usage of cpu
> dependend code is optionally now (and old behaviour is default).
>
> The load address is unified as well, and the 2F workarounds can be enabled
> while compiling on a 2E machine (disabled there by default).
>
> Signed-off-by: Andreas Barth <aba@not.so.argh.org>

I think we can simplify this a bit. How about something like what I've
attached? (I didn't touch the load location stuff)

Thanks,
Matt

Attachment: 0001-mips-loongson-unify-compiler-flags.patch
Description: Text Data

<Prev in Thread] Current Thread [Next in Thread>