summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/call.ll
diff options
context:
space:
mode:
authorLauro Ramos Venancio <lauro.venancio@gmail.com>2007-04-22 00:04:12 +0000
committerLauro Ramos Venancio <lauro.venancio@gmail.com>2007-04-22 00:04:12 +0000
commitee2d164f0f983d827d13b30c6a60d3fad1f555f6 (patch)
treeb68aaa3452c011119d1cb397504aedaab6cc85fc /llvm/test/CodeGen/ARM/call.ll
parent2bb29e778a15687097b30e03bdb6154b6ab88913 (diff)
downloadbcm5719-llvm-ee2d164f0f983d827d13b30c6a60d3fad1f555f6.tar.gz
bcm5719-llvm-ee2d164f0f983d827d13b30c6a60d3fad1f555f6.zip
Implement PIC for arm-linux.
llvm-svn: 36324
Diffstat (limited to 'llvm/test/CodeGen/ARM/call.ll')
-rw-r--r--llvm/test/CodeGen/ARM/call.ll2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/ARM/call.ll b/llvm/test/CodeGen/ARM/call.ll
index c270d7e53b9..c7e10b13e8f 100644
--- a/llvm/test/CodeGen/ARM/call.ll
+++ b/llvm/test/CodeGen/ARM/call.ll
@@ -1,5 +1,7 @@
; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep {mov lr, pc}
; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm -mattr=+v5t | grep blx
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm -mtriple=arm-linux-gnueabi\
+; RUN: -relocation-model=pic | grep {PLT}
%t = weak global int ()* null
declare void %g(int, int, int, int)
OpenPOWER on IntegriCloud