summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/ELFWriter.cpp
diff options
context:
space:
mode:
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>2009-08-14 19:45:38 +0000
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>2009-08-14 19:45:38 +0000
commitc773141e668d8b2a97d03b0fd79ae0518afce79e (patch)
tree01118aea13177b233e2a4698e6241f55b15d269d /llvm/lib/CodeGen/ELFWriter.cpp
parent8cd3566d6d1206da476a0b88ffa6bafe362d8c2b (diff)
downloadbcm5719-llvm-c773141e668d8b2a97d03b0fd79ae0518afce79e.tar.gz
bcm5719-llvm-c773141e668d8b2a97d03b0fd79ae0518afce79e.zip
*try* to use a better name to describe how common symbols are marked on the elf object file.
llvm-svn: 79029
Diffstat (limited to 'llvm/lib/CodeGen/ELFWriter.cpp')
-rw-r--r--llvm/lib/CodeGen/ELFWriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/ELFWriter.cpp b/llvm/lib/CodeGen/ELFWriter.cpp
index e62079f9472..ffbaf6ba925 100644
--- a/llvm/lib/CodeGen/ELFWriter.cpp
+++ b/llvm/lib/CodeGen/ELFWriter.cpp
@@ -356,7 +356,7 @@ void ELFWriter::EmitGlobal(const GlobalValue *GV) {
unsigned Size = TD->getTypeAllocSize(GVar->getInitializer()->getType());
GblSym->Size = Size;
- if (S->IsCommon()) { // Symbol must go to a common section
+ if (S->HasCommonSymbols()) { // Symbol must go to a common section
GblSym->SectionIdx = ELFSection::SHN_COMMON;
// A new linkonce section is created for each global in the
OpenPOWER on IntegriCloud