Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/2] toolchain/mips: add the mips64 tuple
Date: Sun, 15 Jul 2012 01:02:14 +0200	[thread overview]
Message-ID: <20120715010214.56f95807@skate> (raw)
In-Reply-To: <1342268918-3235-2-git-send-email-gustavo@zacarias.com.ar>

Le Sat, 14 Jul 2012 09:28:38 -0300,
Gustavo Zacarias <gustavo@zacarias.com.ar> a ?crit :

> We need to use mips64 in the tuple for 64-bit variants (N32, N64 and O64
> ABIs), otherwise we get assembly failures.
> 
> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
> ---
>  target/Config.in.arch |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/target/Config.in.arch b/target/Config.in.arch
> index bad0f4c..ae90a1d 100644
> --- a/target/Config.in.arch
> +++ b/target/Config.in.arch
> @@ -600,6 +600,8 @@ config BR2_ARCH
>  	default "i686"		if BR2_x86_athlon_4
>  	default "m68k"		if BR2_m68k
>  	default "microblaze"	if BR2_microblaze
> +	default "mips64"	if (BR2_MIPS_ABI64 || BR2_MIPS_OABI64 || BR2_MIPS_ABI32) && BR2_mips
> +	default "mips64el"	if (BR2_MIPS_ABI64 || BR2_MIPS_OABI64 || BR2_MIPS_ABI32) && BR2_mipsel
>  	default "mips"		if BR2_mips
>  	default "mipsel"	if BR2_mipsel
>  	default "powerpc"	if BR2_powerpc

So basically all ABIs except o32 are mips64 ABIs ?

I think it would be good to add a help text below each ABI to explain
its use case, the bitness of the kernel, etc.

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

  reply	other threads:[~2012-07-14 23:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-14 12:28 [Buildroot] [PATCH 1/2] toolchain/mips: kill EABI and fix N32 Gustavo Zacarias
2012-07-14 12:28 ` [Buildroot] [PATCH 2/2] toolchain/mips: add the mips64 tuple Gustavo Zacarias
2012-07-14 23:02   ` Thomas Petazzoni [this message]
2012-07-14 13:03 ` [Buildroot] [PATCH 1/2] toolchain/mips: kill EABI and fix N32 Thomas Petazzoni
2012-07-14 19:44   ` Gustavo Zacarias

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120715010214.56f95807@skate \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox