Don't use larger alignment.

llvm-svn: 53857
This commit is contained in:
Anton Korobeynikov 2008-07-21 18:25:17 +00:00
parent d004505b74
commit b35f9b2819
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ ELFTargetAsmInfo::MergeableStringSection(const GlobalVariable *GV) const {
if (Size <= 16) {
// We also need alignment here
const TargetData *TD = ETM->getTargetData();
unsigned Align = TD->getPreferredAlignment(GV);
unsigned Align = TD->getPrefTypeAlignment(Type);
if (Align < Size)
Align = Size;