Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: David Daney <ddaney@avtrex.com>
To: Matteo Croce <technoboy85@gmail.com>
Cc: linux-mips@linux-mips.org
Subject: Re: Can't execute any MIPS  binary
Date: Wed, 13 Feb 2008 09:31:29 -0800	[thread overview]
Message-ID: <47B32971.1000509@avtrex.com> (raw)
In-Reply-To: <200802131721.11392.technoboy85@gmail.com>

Matteo Croce wrote:
> Il Wednesday 13 February 2008 00:54:21 hai scritto:
>> You should be able to run the binary if run a binary editor on it and 
>> clear the mips32 flag (i.e. change the flags from 0x50001007 to just 
>> 0x1007).
> 
> Solved by changing flags from 0x50001007 to 0x5, thanks :)

I think that you only want to clear the mips32 part (that is the part 
keeping the elf exec from working).  I would leave all the other bits as 
they were.

In other words, probably the flags should be 0x1007, instead of 0x5.

Although it may not really matter.  It has been several years since I 
studied the code.

David Daney

  reply	other threads:[~2008-02-13 17:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-12 23:34 Can't execute any MIPS binary Matteo Croce
     [not found] ` <47B22E4F.4070308@vudu.com>
2008-02-12 23:49   ` Matteo Croce
2008-02-12 23:54 ` David Daney
2008-02-13 16:21   ` Matteo Croce
2008-02-13 17:31     ` David Daney [this message]
2008-02-21 22:40 ` Michael Wood

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=47B32971.1000509@avtrex.com \
    --to=ddaney@avtrex.com \
    --cc=linux-mips@linux-mips.org \
    --cc=technoboy85@gmail.com \
    /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