[lld] r273247 - Revert "Add a test showing that lto produces relaxable relocations."

James Y Knight via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 20 22:54:41 PDT 2016


Author: jyknight
Date: Tue Jun 21 00:54:41 2016
New Revision: 273247

URL: http://llvm.org/viewvc/llvm-project?rev=273247&view=rev
Log:
Revert "Add a test showing that lto produces relaxable relocations."

This reverts commit r273074.

Reverting this too, after revert in llvm in r273245.

Removed:
    lld/trunk/test/ELF/lto/relax-relocs.ll

Removed: lld/trunk/test/ELF/lto/relax-relocs.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/lto/relax-relocs.ll?rev=273246&view=auto
==============================================================================
--- lld/trunk/test/ELF/lto/relax-relocs.ll (original)
+++ lld/trunk/test/ELF/lto/relax-relocs.ll (removed)
@@ -1,15 +0,0 @@
-; RUN: llvm-as %s -o %t.o
-; RUN: ld.lld -m elf_x86_64 -save-temps -shared %t.o -o %t.so
-; RUN: llvm-readobj -r %t.so.lto.o | FileCheck %s
-
-; Test that we produce R_X86_64_REX_GOTPCRELX instead of R_X86_64_GOTPCREL
-; CHECK: R_X86_64_REX_GOTPCRELX foo
-
-target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
-target triple = "x86_64-unknown-linux-gnu"
-
- at foo = external global i32
-define i32 @bar() {
-  %t = load i32, i32* @foo
-  ret i32 %t
-}




More information about the llvm-commits mailing list