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: Corbin Champion
Subject: Re: using --output-type dyn on an arm executable
Date: Fri, 7 Jun 2013 19:37:59 -0700

Why is the option presented?  What value does it have if not supported? 

That said, what I really want is to have an existing executable load to a higher/different address than default.  Do you know of a way to do that?

Thanks,
Corbin

On Jun 7, 2013 5:47 AM, "nick clifton" <address@hidden> wrote:
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]