From a88b605721a602e473c6072b6d2bf20aec02b0c7 Mon Sep 17 00:00:00 2001 From: Justin Hibbits Date: Wed, 12 Nov 2014 15:16:30 +0000 Subject: 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 --- llvm/test/CodeGen/PowerPC/sections.ll | 5 ----- 1 file changed, 5 deletions(-) (limited to 'llvm/test/CodeGen/PowerPC/sections.ll') 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 -- cgit v1.2.3