diff options
author | Justin Hibbits <jrh29@alumni.cwru.edu> | 2014-11-12 15:16:30 +0000 |
---|---|---|
committer | Justin Hibbits <jrh29@alumni.cwru.edu> | 2014-11-12 15:16:30 +0000 |
commit | a88b605721a602e473c6072b6d2bf20aec02b0c7 (patch) | |
tree | 4839d0b50dc4a34a2721388b0216e852f3656b84 /llvm/test/CodeGen/PowerPC/sections.ll | |
parent | 62cf35b8a3116517017247b321d9c1dfbd94a401 (diff) | |
download | bcm5719-llvm-a88b605721a602e473c6072b6d2bf20aec02b0c7.tar.gz bcm5719-llvm-a88b605721a602e473c6072b6d2bf20aec02b0c7.zip |
Add support for small-model PIC for PowerPC.
Summary:
Large-model was added first. With the addition of support for multiple PIC
models in LLVM, now add small-model PIC for 32-bit PowerPC, SysV4 ABI. This
generates more optimal code, for shared libraries with less than about 16380
data objects.
Test Plan: Test cases added or updated
Reviewers: joerg, hfinkel
Reviewed By: hfinkel
Subscribers: jholewinski, mcrosier, emaste, llvm-commits
Differential Revision: http://reviews.llvm.org/D5399
llvm-svn: 221791
Diffstat (limited to 'llvm/test/CodeGen/PowerPC/sections.ll')
-rw-r--r-- | llvm/test/CodeGen/PowerPC/sections.ll | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/test/CodeGen/PowerPC/sections.ll b/llvm/test/CodeGen/PowerPC/sections.ll index d77dfddd0f9..37a8d1648f1 100644 --- a/llvm/test/CodeGen/PowerPC/sections.ll +++ b/llvm/test/CodeGen/PowerPC/sections.ll @@ -1,12 +1,7 @@ ; Test to make sure that bss sections are printed with '.section' directive. ; RUN: llc < %s -mtriple=powerpc-unknown-linux-gnu | FileCheck %s -; RUN: llc < %s -mtriple=powerpc-unknown-linux-gnu -relocation-model=pic | FileCheck %s -check-prefix=PIC @A = global i32 0 ; CHECK: .section .bss,"aw",@nobits ; CHECK: .globl A - -; PIC: .section .got2,"aw",@progbits -; PIC: .section .bss,"aw",@nobits -; PIC: .globl A |