]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
elfcopy: Handle objects without a ".shstrtab" section string table
authorEd Maste <emaste@FreeBSD.org>
Sat, 13 Jun 2015 14:24:31 +0000 (14:24 +0000)
committerEd Maste <emaste@FreeBSD.org>
Sat, 13 Jun 2015 14:24:31 +0000 (14:24 +0000)
commit619ba3b41634db404b3699bf677285350ddf00a0
tree295900a385c4db5d24870b663ee541bf3e70258b
parent5b889f3ddb2ba2454a57c607e498ad9b193308ce
elfcopy: Handle objects without a ".shstrtab" section string table

As of LLVM revision 238073, LLVM stores symbols and section names in
the same string table.  From the upstream commit mesage:

  With the scheme of naming sections like ".text.foo" where foo is a
  symbol, there is a big potential saving in using a single one.

This is a cherry-pick of ELF Tool Chain revision 3225.

Sponsored by: The FreeBSD Foundation
contrib/elftoolchain/elfcopy/sections.c