Bug 816494 part 1 - When inserting a section before or after another, also insert it in the segments containing that other. r=nfroyd,a=akeybl
Bug 816494 part 2 - Move the PT_LOAD splitting logic in elfhack.cpp. r=nfroyd,a=akeybl

Also, section offsets are not adjusted until the split is done.
Bug 816494 part 3 - Allocate Elf instance on stack in do_file(). r=nfroyd,a=akeybl
Bug 816494 part 4 - Add a -r option to elfhack that re-merges the split PT_LOADs. r=nfroyd,a=akeybl

Sections are positioned accordingly, which means the resulting ELF binary will
have a big gap full of zero between .rel.plt and .plt.
Bug 822584 - Run elfhack on packaged binaries instead of built binaries. r=ted,a=akeybl
Bug 822584 - Workaround in elfhack to accomodate for breakpad not handling the memory mapping induced by the elfhack/bionic linker combination. r=nfroyd,a=akeybl
Bug 822584 - Enable elfhack workaround for breakpad on b2g/gonk. r=ted,a=akeybl