patchelf (rubygems):   A simple utility for modifying existing ELF executables and libraries. 
Keywords: elf|patch|ruby