Added logic in emitElf.C and Object-elf.C to preserve the order of strings
authormadhavi <madhavi@cs.wisc.edu>
Fri, 17 Apr 2009 19:32:27 +0000 (14:32 -0500)
committermadhavi <madhavi@cs.wisc.edu>
Fri, 17 Apr 2009 19:32:27 +0000 (14:32 -0500)
commit0972d0fe9316a18024d3b19bfa9ffcf19cf6c105
tree759bffecbdd7b8ebf70627032a0d18b71525e024
parent8288aa0c3e3c8784c4b5d62c9d1285f7cffe64f5
Added logic in emitElf.C and Object-elf.C to preserve the order of strings
in dynstr section, as it appears in the original binary. New symbols and
strings that we create as part of binary rewriting (Version entries, targ* etc)
are appended to the end of the dynstr section and corresponding links are
setup.
symtabAPI/h/Symbol.h
symtabAPI/src/Object-elf.C
symtabAPI/src/emitElf-64.C
symtabAPI/src/emitElf-64.h
symtabAPI/src/emitElf.C
symtabAPI/src/emitElf.h