bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: using --output-type dyn on an arm executable


From: nick clifton
Subject: Re: using --output-type dyn on an arm executable
Date: Fri, 07 Jun 2013 13:46:41 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:20.0) Gecko/20100101 Firefox/20.0 SeaMonkey/2.17.1

Hi Corbin,

I have had success modifying and running a executable after changing it to
a shared object via the use of *elfedit --output-type dyn /bin/grep* for an
i386.

But, I get a segmentation fault whenever I do similar for executables on an
arm based machine.

Sorry, but this is not a supported feature. In fact I think that you were quite lucky to have it work in your i386 environment.

If you really want to create a shared executable you will need to build it that way. Just changing the type in the ELF header is not going to work.

Cheers
  Nick




reply via email to

[Prev in Thread] Current Thread [Next in Thread]