diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2008-07-09 13:18:38 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2008-07-09 13:18:38 +0000 |
commit | a2d330717bde9408b2639b2053f7ef1436d960a7 (patch) | |
tree | 46b3424a15189f3876df2c0b635b469c2998b170 | |
parent | 555507896038323b5d8396279ed7a8cf46c4710e (diff) | |
download | external_llvm-a2d330717bde9408b2639b2053f7ef1436d960a7.zip external_llvm-a2d330717bde9408b2639b2053f7ef1436d960a7.tar.gz external_llvm-a2d330717bde9408b2639b2053f7ef1436d960a7.tar.bz2 |
Use 'llvm-linkonce' consistently
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53294 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/TargetAsmInfo.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/TargetAsmInfo.cpp b/lib/Target/TargetAsmInfo.cpp index 8e34fc3..433330c 100644 --- a/lib/Target/TargetAsmInfo.cpp +++ b/lib/Target/TargetAsmInfo.cpp @@ -240,15 +240,15 @@ TargetAsmInfo::SectionFlagsForGlobal(const GlobalValue *GV, // Some lame default implementation if (strcmp(name, ".bss") == 0 || strncmp(name, ".bss.", 5) == 0 || - strncmp(name, ".gnu.linkonce.b.", 16) == 0) + strncmp(name, ".llvm.linkonce.b.", 17) == 0) flags |= SectionFlags::BSS; else if (strcmp(name, ".tdata") == 0 || strncmp(name, ".tdata.", 7) == 0 || - strncmp(name, ".gnu.linkonce.td.", 17) == 0) + strncmp(name, ".llvm.linkonce.td.", 18) == 0) flags |= SectionFlags::TLS; else if (strcmp(name, ".tbss") == 0 || strncmp(name, ".tbss.", 6) == 0 || - strncmp(name, ".gnu.linkonce.tb.", 17) == 0) + strncmp(name, ".llvm.linkonce.tb.", 18) == 0) flags |= SectionFlags::BSS | SectionFlags::TLS; } |