linux-mips
[Top] [All Lists]

Re: Ask help:why my 64-bit ELF file could not run at the 64-bit mips

To: linux-mips@linux-mips.org
Subject: Re: Ask help:why my 64-bit ELF file could not run at the 64-bit mips cpu
From: Jian Wang <dominicwj@gmail.com>
Date: Thu, 22 Apr 2010 23:31:34 +0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:content-type; bh=eD7mGdvVc72lOOdPdhssbBSkj92pV6qXDjegyIz6mVA=; b=WyA58wRn1z7ZC3DrqRbn/cb+39kPzwehWORTiT72SgOZUpB3fPnoJqnxX2DH7xGE/E eprMzjxZagUnY0TPbiH0BRJtFgck+aW9r3zrYoxD9DPQ4ZiXhd+EqePFpr/PF2Q/MOkQ GCz82kBILW2C8zXYNc4Qy/b4cCarJcOFxpbbg=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=JbMQygmfIUDHJzR32WW52QSCGOf7kSGnf9B1yZjFYdO0Yi/7jrqfxzcGdLu/p463bT wy4Cwu/LAmFxS2JB1HYSNRomoinnZxSNp195AdgEHw3DvwB0BBKatapzLNhW1ZzDFw9R ztTKn907fzClbBoJtVTTGvK/92Ab6LcO1xjaU=
In-reply-to: <j2sdf5e30c51004172251z9fd01867h562b99c1f1044c26@mail.gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <j2sdf5e30c51004172251z9fd01867h562b99c1f1044c26@mail.gmail.com>
Sender: linux-mips-bounce@linux-mips.org
Hi,

 I have a 64-bit mips cpu, and compiled a 64-bit application, but this
 application could not run. (the target is running Linux)
 The details is:
 1)if I compile the application with -mabi=n64, this program could not
 run, when I run it in the shell, it prompts "command not found"
 2)but if I compile the application with -mabi=n32, it runs well and
 gives the correct result.

 I am wondering why with "-mabi=n64", this program could not run? I
 checked the CP0(status register), Bit px=0b0, KX=0b1, SX=0b1, UX=0b1,
 it seems that in User Mode, it accepts 64-bit operation.

 Anybody could give me some help? Any comments is much appreciated!!

 BR/Dominic

<Prev in Thread] Current Thread [Next in Thread>
  • Re: Ask help:why my 64-bit ELF file could not run at the 64-bit mips cpu, Jian Wang <=