commit | 533c207f9d2da6d913c4b10f6f757fe9d6367b10 | [log] [tgz] |
---|---|---|
author | David Srbecky <dsrbecky@google.com> | Wed Apr 22 12:20:22 2015 +0100 |
committer | David Srbecky <dsrbecky@google.com> | Wed Apr 22 16:56:23 2015 +0100 |
tree | 1e2c1bf5c91898e785398a3d66e7e7570e8b29db | |
parent | 8d1ba74fe48703fc2b5a5920dd5eea0c65db5b15 [diff] |
Simplify template parameters of Elf classes. The ELF specification defines several types which differ between 32-bit ELF and 64-bit ELF. We used to template all ELF-related methods on all of those types which was very verbose. This CL wraps all the types as typedefs in ElfTypes32 and ElfTypes64. One of those wrappers is then used as the template parameter. Change-Id: I65247c2c79d92a7c4799e988cf3e4a1b10eb4788