[llvm] r176762 - We need a shndx if the number of sections breaks SHN_LORESERVE. This condition

Nick Lewycky nicholas at mxc.ca
Sat Mar 9 01:31:44 PST 2013


Author: nicholas
Date: Sat Mar  9 03:31:44 2013
New Revision: 176762

URL: http://llvm.org/viewvc/llvm-project?rev=176762&view=rev
Log:
We need a shndx if the number of sections breaks SHN_LORESERVE. This condition
for choosing to emit a shndx was simply testing the wrong variable.

Added:
    llvm/trunk/test/MC/ELF/many-sections-2.s
Modified:
    llvm/trunk/lib/MC/MCELFStreamer.cpp

Modified: llvm/trunk/lib/MC/MCELFStreamer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MCELFStreamer.cpp?rev=176762&r1=176761&r2=176762&view=diff
==============================================================================
--- llvm/trunk/lib/MC/MCELFStreamer.cpp (original)
+++ llvm/trunk/lib/MC/MCELFStreamer.cpp Sat Mar  9 03:31:44 2013
@@ -1,4 +1,4 @@
-//===- lib/MC/MCELFStreamer.cpp - ELF Object Output ------------===//
+//===- lib/MC/MCELFStreamer.cpp - ELF Object Output -----------------------===//
 //
 //                     The LLVM Compiler Infrastructure
 //





More information about the llvm-commits mailing list