commit | ed4b2dc313cc398844c7bacf7a6a5995f13b1ae3 | [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 | 6dae757a071fc033c1989b2e4eaca9718dc4302c [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