This commit fixes bug 491, elfutils on redhat linux
authorchadd <chadd>
Fri, 18 Mar 2005 04:34:56 +0000 (04:34 +0000)
committerchadd <chadd>
Fri, 18 Mar 2005 04:34:56 +0000 (04:34 +0000)
commit39af335fcff8959deba2fe018144d7935b3f2f36
tree1a82ad88d89b7ef48beb5371afe5829944d6489b
parent2bb26738de7c70ba1433e3e23fb49cb237591475
This commit fixes bug 491, elfutils on redhat linux
not allowing the Program header table to be placed
after section in the elf file.

This also fixes many of the problems of shared libs
moving around for the mutated binary.  prelink is used
in linux and dldump is used in solaris.

 CVS: ----------------------------------------------------------------------
21 files changed:
dyninstAPI/h/BPatch.h
dyninstAPI/sparc-sun-solaris2.8/Makefile
dyninstAPI/sparc-sun-solaris2.9/Makefile
dyninstAPI/src/BPatch.C
dyninstAPI/src/addLibrary.C
dyninstAPI/src/addLibraryLinux.C
dyninstAPI/src/addLibraryLinux.h
dyninstAPI/src/editSharedLibrary.C [new file with mode: 0644]
dyninstAPI/src/editSharedLibrary.h [new file with mode: 0644]
dyninstAPI/src/linux-x86.C
dyninstAPI/src/linuxDL.C
dyninstAPI/src/process.C
dyninstAPI/src/process.h
dyninstAPI/src/saveSharedLibrary.C
dyninstAPI/src/saveSharedLibrary.h
dyninstAPI/src/solaris.C
dyninstAPI/src/writeBackElf.C
dyninstAPI/src/writeBackElf.h
dyninstAPI/tests/src/test9.C
dyninstAPI/tests/src/test9.mutatee.c
dyninstAPI_RT/src/RTmutatedBinary_ELF.c