OSDN Git Service

Fix ARM FastISel PIC function call.
authorLogan Chien <tzuhsiang.chien@gmail.com>
Thu, 22 Aug 2013 12:08:04 +0000 (12:08 +0000)
committerLogan Chien <tzuhsiang.chien@gmail.com>
Thu, 22 Aug 2013 12:08:04 +0000 (12:08 +0000)
commit7ddda4704cdb24163591857e8d08614463cec335
tree4f900dd865b4e1b2dd07d0639427890a5bf1fd65
parenta5bd3937ab34d88fe87f25f9c7d1f059445234b8
Fix ARM FastISel PIC function call.

The function call to external function should come with PLT relocation
type if the PIC relocation model is used.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189002 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMFastISel.cpp
test/CodeGen/ARM/pic.ll [new file with mode: 0644]