summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AArch64/AArch64TargetObjectFile.cpp
diff options
context:
space:
mode:
authorKristof Beyls <kristof.beyls@arm.com>2014-01-10 13:41:49 +0000
committerKristof Beyls <kristof.beyls@arm.com>2014-01-10 13:41:49 +0000
commit58306ad9033a376f074c455fcc06767b03582d2e (patch)
tree20fe30c0a11a436f5ee7d68f3411526baf3d5edf /llvm/lib/Target/AArch64/AArch64TargetObjectFile.cpp
parentb630b9d20a60adae5c831ff882690ea89972c563 (diff)
downloadbcm5719-llvm-58306ad9033a376f074c455fcc06767b03582d2e.tar.gz
bcm5719-llvm-58306ad9033a376f074c455fcc06767b03582d2e.zip
Make sure -use-init-array has intended effect on all AArch64 ELF targets, not just linux.
llvm-svn: 198937
Diffstat (limited to 'llvm/lib/Target/AArch64/AArch64TargetObjectFile.cpp')
-rw-r--r--llvm/lib/Target/AArch64/AArch64TargetObjectFile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64TargetObjectFile.cpp b/llvm/lib/Target/AArch64/AArch64TargetObjectFile.cpp
index b4452f51459..663d61944a8 100644
--- a/llvm/lib/Target/AArch64/AArch64TargetObjectFile.cpp
+++ b/llvm/lib/Target/AArch64/AArch64TargetObjectFile.cpp
@@ -17,8 +17,8 @@
using namespace llvm;
void
-AArch64LinuxTargetObjectFile::Initialize(MCContext &Ctx,
- const TargetMachine &TM) {
+AArch64ElfTargetObjectFile::Initialize(MCContext &Ctx,
+ const TargetMachine &TM) {
TargetLoweringObjectFileELF::Initialize(Ctx, TM);
InitializeELF(TM.Options.UseInitArray);
}
OpenPOWER on IntegriCloud