commit | 5bc722ef77d0c04693f05a89cc6e583fb29b3368 | [log] [tgz] |
---|---|---|
author | Duncan Sands <baldrick@free.fr> | Wed Jul 22 10:35:05 2009 +0000 |
committer | Duncan Sands <baldrick@free.fr> | Wed Jul 22 10:35:05 2009 +0000 |
tree | 8347cd7939040469cefbdf405280273b8dd2e9f0 | |
parent | 7931b909e988eccc92181e9b7cccd70dd7f40d72 [diff] [blame] |
Revert commit 76707, it was breaking the llvm-gcc build on linux platforms. The binutils assembler does not recognize the "s" flag, see for example http://sourceware.org/binutils/docs/as/Section.html git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76733 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/ELFTargetAsmInfo.cpp b/lib/Target/ELFTargetAsmInfo.cpp index cf4e3a2..b5babed 100644 --- a/lib/Target/ELFTargetAsmInfo.cpp +++ b/lib/Target/ELFTargetAsmInfo.cpp
@@ -160,8 +160,7 @@ if (SecName) return getNamedSection(SecName, - SectionFlags::setEntitySize(SectionFlags::Mergeable| - SectionFlags::Small, + SectionFlags::setEntitySize(SectionFlags::Mergeable, Size)); return getReadOnlySection(); // .rodata