Fix for rewriting static binaries on FreeBSD.
authorDan McNulty <mcnulty@cs.wisc.edu>
Wed, 11 Aug 2010 21:25:00 +0000 (16:25 -0500)
committerDan McNulty <mcnulty@cs.wisc.edu>
Wed, 11 Aug 2010 21:25:00 +0000 (16:25 -0500)
commit44d72a333c193bc18a5f11838db5e4c4d3d3fc8b
tree10e1997281cda6a5233259f37388ad86731b5fc9
parentbf7dcb0f16ff2738ad9d64b1827f8baf439aef2f
Fix for rewriting static binaries on FreeBSD.

Static binaries do not always have a TLS program header on FreeBSD.
When linking in a library that has TLS, a TLS program header needs
to be created in the rewritten binary.
symtabAPI/src/emitElf-64.C
symtabAPI/src/emitElf.C