projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d038e04
)
Don't use larger alignment.
author
Anton Korobeynikov
<asl@math.spbu.ru>
Mon, 21 Jul 2008 18:25:17 +0000
(18:25 +0000)
committer
Anton Korobeynikov
<asl@math.spbu.ru>
Mon, 21 Jul 2008 18:25:17 +0000
(18:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53857
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/ELFTargetAsmInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/ELFTargetAsmInfo.cpp
b/lib/Target/ELFTargetAsmInfo.cpp
index 9ca9709293eca348af8e96b965bb62f38d41090e..d2314168bdc5f41826fae2ce493b39ae55cc5c9b 100644
(file)
--- a/
lib/Target/ELFTargetAsmInfo.cpp
+++ b/
lib/Target/ELFTargetAsmInfo.cpp
@@
-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->getPref
erredAlignment(GV
);
+ unsigned Align = TD->getPref
TypeAlignment(Type
);
if (Align < Size)
Align = Size;