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


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to