Fix overlapping bug of program header segments on fixPhdr. (#618) master
authorSasha NĂ­colas <sasha@cs.wisc.edu>
Thu, 15 Aug 2019 22:47:12 +0000 (17:47 -0500)
committerTim Haines <thaines.astro@gmail.com>
Thu, 15 Aug 2019 22:47:12 +0000 (17:47 -0500)
commit62cf981cb4c2cc8f8d1f72d693f25c0ac6e52dd4
treec7bb2376029875ce64d68ef75abfbbd470acab29
parent8c333ece5442ea406207d4c02c3654d587db6821
Fix overlapping bug of program header segments on fixPhdr. (#618)

This fix is making the update of the program headers in two passes. First, we need to update the addresses, and then insert the new created segment.
symtabAPI/src/emitElf.C
symtabAPI/src/emitElf.h