projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RISC architectures get their memory operand folding for free.
[oota-llvm.git]
/
lib
/
Target
/
PowerPC
/
PPCMCAsmInfo.cpp
diff --git
a/lib/Target/PowerPC/PPCMCAsmInfo.cpp
b/lib/Target/PowerPC/PPCMCAsmInfo.cpp
index ba9937b4c523d6efffb6d30deeae9ac8c6e0067e..3644c79d04101be2d3c7cde5923957b14247d25f 100644
(file)
--- a/
lib/Target/PowerPC/PPCMCAsmInfo.cpp
+++ b/
lib/Target/PowerPC/PPCMCAsmInfo.cpp
@@
-26,6
+26,9
@@
PPCMCAsmInfoDarwin::PPCMCAsmInfoDarwin(bool is64Bit) {
}
PPCLinuxMCAsmInfo::PPCLinuxMCAsmInfo(bool is64Bit) {
}
PPCLinuxMCAsmInfo::PPCLinuxMCAsmInfo(bool is64Bit) {
+ // ".comm align is in bytes but .align is pow-2."
+ AlignmentIsInBytes = false;
+
CommentString = "#";
GlobalPrefix = "";
PrivateGlobalPrefix = ".L";
CommentString = "#";
GlobalPrefix = "";
PrivateGlobalPrefix = ".L";
@@
-35,7
+38,6
@@
PPCLinuxMCAsmInfo::PPCLinuxMCAsmInfo(bool is64Bit) {
UsesELFSectionDirectiveForBSS = true;
// Debug Information
UsesELFSectionDirectiveForBSS = true;
// Debug Information
- AbsoluteDebugSectionOffsets = true;
SupportsDebugInformation = true;
PCSymbol = ".";
SupportsDebugInformation = true;
PCSymbol = ".";
@@
-46,13
+48,10
@@
PPCLinuxMCAsmInfo::PPCLinuxMCAsmInfo(bool is64Bit) {
// Exceptions handling
if (!is64Bit)
ExceptionsType = ExceptionHandling::Dwarf;
// Exceptions handling
if (!is64Bit)
ExceptionsType = ExceptionHandling::Dwarf;
- AbsoluteEHSectionOffsets = false;
ZeroDirective = "\t.space\t";
ZeroDirective = "\t.space\t";
- SetDirective = "\t.set";
Data64bitsDirective = is64Bit ? "\t.quad\t" : 0;
Data64bitsDirective = is64Bit ? "\t.quad\t" : 0;
- AlignmentIsInBytes = false;
- LCOMMDirective = "\t.lcomm\t";
+ HasLCOMMDirective = true;
AssemblerDialect = 0; // Old-Style mnemonics.
}
AssemblerDialect = 0; // Old-Style mnemonics.
}