summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2010-12-06 17:27:56 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2010-12-06 17:27:56 +0000
commit44bbe36de66b44f7c9b7355709b62609886e287a (patch)
tree168e54e4625559ee716af456450eb1c9befdde14 /llvm/lib/Target
parentdee30623734e0ea86d8b4d16cae9632087e548b9 (diff)
downloadbcm5719-llvm-44bbe36de66b44f7c9b7355709b62609886e287a.tar.gz
bcm5719-llvm-44bbe36de66b44f7c9b7355709b62609886e287a.zip
Second try at making direct object emission produce the same results
as llc + llvm-mc. This time ELF is not changed and I tested that llvm-gcc bootstrap on darwin10 using darwin9's assembler and linker. llvm-svn: 121006
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/PowerPC/PPCMCAsmInfo.cpp3
-rw-r--r--llvm/lib/Target/X86/X86MCAsmInfo.cpp4
2 files changed, 0 insertions, 7 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCMCAsmInfo.cpp b/llvm/lib/Target/PowerPC/PPCMCAsmInfo.cpp
index 89c8cb664c7..3b766b036c4 100644
--- a/llvm/lib/Target/PowerPC/PPCMCAsmInfo.cpp
+++ b/llvm/lib/Target/PowerPC/PPCMCAsmInfo.cpp
@@ -22,9 +22,6 @@ PPCMCAsmInfoDarwin::PPCMCAsmInfoDarwin(bool is64Bit) {
if (!is64Bit)
Data64bitsDirective = 0; // We can't emit a 64-bit unit in PPC32 mode.
- if (is64Bit)
- NeedsSetToChangeDiffSize = true;
-
AssemblerDialect = 1; // New-Style mnemonics.
SupportsDebugInformation= true; // Debug information.
}
diff --git a/llvm/lib/Target/X86/X86MCAsmInfo.cpp b/llvm/lib/Target/X86/X86MCAsmInfo.cpp
index 1ac2d7e6c6d..f45fdf5a3fb 100644
--- a/llvm/lib/Target/X86/X86MCAsmInfo.cpp
+++ b/llvm/lib/Target/X86/X86MCAsmInfo.cpp
@@ -56,10 +56,6 @@ X86MCAsmInfoDarwin::X86MCAsmInfoDarwin(const Triple &Triple) {
if (!is64Bit)
Data64bitsDirective = 0; // we can't emit a 64-bit unit
- // FIXME: Darwin 10 doesn't need this.
- if (is64Bit)
- NeedsSetToChangeDiffSize = true;
-
// Use ## as a comment string so that .s files generated by llvm can go
// through the GCC preprocessor without causing an error. This is needed
// because "clang foo.s" runs the C preprocessor, which is usually reserved
OpenPOWER on IntegriCloud