projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PowerPC] Fix large code model with the ELFv2 ABI
[oota-llvm.git]
/
lib
/
Target
/
TargetLoweringObjectFile.cpp
diff --git
a/lib/Target/TargetLoweringObjectFile.cpp
b/lib/Target/TargetLoweringObjectFile.cpp
index 5ccdae420245affa4114ff5a8aa995c992370af3..a0b0d8f240465b7c8267893fd553b444ea4a1738 100644
(file)
--- a/
lib/Target/TargetLoweringObjectFile.cpp
+++ b/
lib/Target/TargetLoweringObjectFile.cpp
@@
-227,11
+227,11
@@
SectionKind TargetLoweringObjectFile::getKindForGlobal(const GlobalValue *GV,
// globals together onto fewer pages, improving the locality of the dynamic
// linker.
if (ReloModel == Reloc::Static)
// globals together onto fewer pages, improving the locality of the dynamic
// linker.
if (ReloModel == Reloc::Static)
- return SectionKind::getData
NoRel
();
+ return SectionKind::getData();
if (C->needsRelocation())
if (C->needsRelocation())
- return SectionKind::getData
Rel
();
- return SectionKind::getData
NoRel
();
+ return SectionKind::getData();
+ return SectionKind::getData();
}
/// This method computes the appropriate section to emit the specified global
}
/// This method computes the appropriate section to emit the specified global