Simplify now that we always use an alignment of 2 for ELF files.
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 2 Jun 2015 12:05:27 +0000 (12:05 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 2 Jun 2015 12:05:27 +0000 (12:05 +0000)
commit9751e35f20e6ec207444ad5cc94cf86b4874e4f3
treec0e9b8c1f28953c4d52ec32b33db127decbfe07c
parent6b35bec8ef1a534a0dd0e76a3b95305209b8dfbe
Simplify now that we always use an alignment of 2 for ELF files.

This saves 123144 bytes out of llvm-nm on powerpc64le.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238824 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Object/ELF.h
include/llvm/Object/ELFObjectFile.h
include/llvm/Object/ELFTypes.h
include/llvm/Support/Compiler.h
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
lib/Object/ELFObjectFile.cpp
tools/llvm-readobj/ELFDumper.cpp
tools/yaml2obj/yaml2elf.cpp