summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-13 05:30:22 +0000
committerChris Lattner <sabre@nondot.org>2009-08-13 05:30:22 +0000
commiteb681981455ce3ee94e91975ef3f1a286a5bbfc0 (patch)
treedad6fc10dd33a79f8947a292d472069dbac6bb2d /llvm/lib/Target/ARM
parenta95379d165baa1212e2776d7a76abcd712c00177 (diff)
downloadbcm5719-llvm-eb681981455ce3ee94e91975ef3f1a286a5bbfc0.tar.gz
bcm5719-llvm-eb681981455ce3ee94e91975ef3f1a286a5bbfc0.zip
fix a minor fixme. When building with SL and later tools, the ".eh" symbols
don't need to be exported from the .o files. llvm-svn: 78892
Diffstat (limited to 'llvm/lib/Target/ARM')
-rw-r--r--llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp3
-rw-r--r--llvm/lib/Target/ARM/ARMTargetAsmInfo.h2
-rw-r--r--llvm/lib/Target/ARM/ARMTargetMachine.cpp2
3 files changed, 4 insertions, 3 deletions
diff --git a/llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp b/llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp
index 0c3df82bfe2..b3aa3bd9d51 100644
--- a/llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp
+++ b/llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp
@@ -40,7 +40,8 @@ static const char *const arm_asm_table[] = {
0,0
};
-ARMDarwinTargetAsmInfo::ARMDarwinTargetAsmInfo() {
+ARMDarwinTargetAsmInfo::ARMDarwinTargetAsmInfo(const Triple &Triple)
+ : DarwinTargetAsmInfo(Triple) {
AsmTransCBE = arm_asm_table;
Data64bitsDirective = 0;
CommentString = "@";
diff --git a/llvm/lib/Target/ARM/ARMTargetAsmInfo.h b/llvm/lib/Target/ARM/ARMTargetAsmInfo.h
index 3fde8ba6307..745f3c6ceac 100644
--- a/llvm/lib/Target/ARM/ARMTargetAsmInfo.h
+++ b/llvm/lib/Target/ARM/ARMTargetAsmInfo.h
@@ -19,7 +19,7 @@
namespace llvm {
struct ARMDarwinTargetAsmInfo : public DarwinTargetAsmInfo {
- explicit ARMDarwinTargetAsmInfo();
+ explicit ARMDarwinTargetAsmInfo(const Triple &Triple);
};
struct ARMELFTargetAsmInfo : public TargetAsmInfo {
diff --git a/llvm/lib/Target/ARM/ARMTargetMachine.cpp b/llvm/lib/Target/ARM/ARMTargetMachine.cpp
index fbc5f38efea..1198aa94b56 100644
--- a/llvm/lib/Target/ARM/ARMTargetMachine.cpp
+++ b/llvm/lib/Target/ARM/ARMTargetMachine.cpp
@@ -32,7 +32,7 @@ static const TargetAsmInfo *createTargetAsmInfo(const Target &T,
Triple TheTriple(TT);
switch (TheTriple.getOS()) {
case Triple::Darwin:
- return new ARMDarwinTargetAsmInfo();
+ return new ARMDarwinTargetAsmInfo(TheTriple);
default:
return new ARMELFTargetAsmInfo();
}
OpenPOWER on IntegriCloud