[llvm-branch-commits] [lld] r366756 - Merging r366445:
Hans Wennborg via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Jul 22 15:27:18 PDT 2019
Author: hans
Date: Mon Jul 22 15:27:18 2019
New Revision: 366756
URL: http://llvm.org/viewvc/llvm-project?rev=366756&view=rev
Log:
Merging r366445:
------------------------------------------------------------------------
r366445 | maskray | 2019-07-18 17:07:42 +0200 (Thu, 18 Jul 2019) | 3 lines
[ELF][PPC] Delete ppc64-dynamic-relocations.s
I forgot to delete it in r366424.
------------------------------------------------------------------------
Removed:
lld/branches/release_90/test/ELF/ppc64-dynamic-relocations.s
Modified:
lld/branches/release_90/ (props changed)
Propchange: lld/branches/release_90/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Mon Jul 22 15:27:18 2019
@@ -1 +1 @@
-/lld/trunk:366500,366504
+/lld/trunk:366445,366500,366504
Removed: lld/branches/release_90/test/ELF/ppc64-dynamic-relocations.s
URL: http://llvm.org/viewvc/llvm-project/lld/branches/release_90/test/ELF/ppc64-dynamic-relocations.s?rev=366755&view=auto
==============================================================================
--- lld/branches/release_90/test/ELF/ppc64-dynamic-relocations.s (original)
+++ lld/branches/release_90/test/ELF/ppc64-dynamic-relocations.s (removed)
@@ -1,50 +0,0 @@
-// REQUIRES: ppc
-
-// RUN: llvm-mc -filetype=obj -triple=powerpc64le-unknown-linux %s -o %t.o
-// RUN: llvm-mc -filetype=obj -triple=powerpc64le-unknown-linux %p/Inputs/shared-ppc64.s -o %t2.o
-// RUN: ld.lld -shared %t2.o -o %t2.so
-// RUN: ld.lld %t.o %t2.so -o %t
-// RUN: llvm-readobj --dyn-relocations %t | FileCheck %s
-// RUN: llvm-objdump --section-headers %t | FileCheck --check-prefix=DIS %s
-// RUN: llvm-readelf -dynamic-table %t | FileCheck --check-prefix=DT %s
-
-// RUN: llvm-mc -filetype=obj -triple=powerpc64-unknown-linux %s -o %t.o
-// RUN: llvm-mc -filetype=obj -triple=powerpc64-unknown-linux %p/Inputs/shared-ppc64.s -o %t2.o
-// RUN: ld.lld -shared %t2.o -o %t2.so
-// RUN: ld.lld %t.o %t2.so -o %t
-// RUN: llvm-readobj --dyn-relocations %t | FileCheck %s
-// RUN: llvm-objdump --section-headers %t | FileCheck --check-prefix=DIS %s
-// RUN: llvm-readelf -dynamic-table %t | FileCheck --check-prefix=DT %s
-
-
-// The dynamic relocation for foo should point to 16 bytes past the start of
-// the .plt section.
-// CHECK: Dynamic Relocations {
-// CHECK-NEXT: 0x10030010 R_PPC64_JMP_SLOT foo 0x0
-
-// There should be 2 reserved doublewords before the first entry. The dynamic
-// linker will fill those in with the address of the resolver entry point and
-// the dynamic object identifier.
-// DIS: Idx Name Size VMA Type
-// DIS: .plt 00000018 0000000010030000 BSS
-
-// DT_PLTGOT should point to the start of the .plt section.
-// DT: 0x0000000000000003 (PLTGOT) 0x10030000
-
- .text
- .abiversion 2
- .globl _start
- .p2align 4
- .type _start, at function
-_start:
-.Lfunc_begin0:
-.Lfunc_gep0:
- addis 2, 12, .TOC.-.Lfunc_gep0 at ha
- addi 2, 2, .TOC.-.Lfunc_gep0 at l
-.Lfunc_lep0:
- .localentry _start, .Lfunc_lep0-.Lfunc_gep0
- bl foo
- nop
- li 0, 1
- sc
- .size _start, .-.Lfunc_begin0
More information about the llvm-branch-commits
mailing list