2018-05-04 23:09:49 +08:00
|
|
|
// REQUIRES: ppc
|
|
|
|
|
|
|
|
// RUN: llvm-mc -filetype=obj -triple=powerpc64le-unknown-linux %s -o %t
|
|
|
|
// RUN: llvm-mc -filetype=obj -triple=powerpc64le-unknown-linux %p/Inputs/ppc64-addr16-error.s -o %t2
|
2018-07-03 01:48:23 +08:00
|
|
|
// RUN: not ld.lld -shared %t %t2 -o /dev/null 2>&1 | FileCheck %s
|
2018-05-04 23:09:49 +08:00
|
|
|
|
2015-10-16 00:17:30 +08:00
|
|
|
// RUN: llvm-mc -filetype=obj -triple=powerpc64-unknown-linux %s -o %t
|
2016-03-09 03:51:58 +08:00
|
|
|
// RUN: llvm-mc -filetype=obj -triple=powerpc64-unknown-linux %p/Inputs/ppc64-addr16-error.s -o %t2
|
2018-07-03 01:48:23 +08:00
|
|
|
// RUN: not ld.lld -shared %t %t2 -o /dev/null 2>&1 | FileCheck %s
|
2015-10-16 00:17:30 +08:00
|
|
|
|
|
|
|
.short sym+65539
|
|
|
|
|
2017-12-12 04:47:21 +08:00
|
|
|
// CHECK: relocation R_PPC64_ADDR16 out of range: 65539 is not in [-32768, 32767]
|