mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-24 08:33:39 +00:00
Don't use larger alignment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53857 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d038e04188
commit
d493b043c4
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user