]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
elfcopy: Handle objects without a ".shstrtab" section string table
authoremaste <emaste@FreeBSD.org>
Sat, 13 Jun 2015 14:24:31 +0000 (14:24 +0000)
committeremaste <emaste@FreeBSD.org>
Sat, 13 Jun 2015 14:24:31 +0000 (14:24 +0000)
commit9d2a9401e66e5e2fff78d0a246f2c2a564c56ed8
tree295900a385c4db5d24870b663ee541bf3e70258b
parent77a3f16a9762f3efba549cedd477734a0d77badd
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