[Top] [All Lists]

Re: Can't execute any MIPS binary

To: Matteo Croce <>
Subject: Re: Can't execute any MIPS binary
From: David Daney <>
Date: Wed, 13 Feb 2008 09:31:29 -0800
In-reply-to: <>
Original-recipient: rfc822;
References: <> <> <>
User-agent: Thunderbird (X11/20071115)
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

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