[PATCH] D87381: [LLD][PowerPC][test] Add test cases for all pc-rel based stubs when the offset not fit in 34 bits

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 9 14:13:44 PDT 2020


MaskRay added inline comments.


================
Comment at: lld/test/ELF/ppc64-pcrel-call-to-extern-error.s:1
+# REQUIRES: ppc, linux
+# RUN: echo 'SECTIONS { \
----------------
Delete `linux`


================
Comment at: lld/test/ELF/ppc64-pcrel-call-to-extern-error.s:9
+# RUN: llvm-mc -filetype=obj -triple=powerpc64le %s -o %t2.o
+# RUN: lld.lld --shared %t2.o -o %t2.so
+# RUN: not ld.lld -T %t.script %t1.o %t2.so -o %t 2>&1 | FileCheck %s
----------------
If a linked .so is used by another link, add -soname to avoid a gotcha

See commit  c2a5459d52b94a50581dec7a542ef00915b8d2b2


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D87381/new/

https://reviews.llvm.org/D87381



More information about the llvm-commits mailing list