diff options
Diffstat (limited to 'test/ELF/aarch64-fpic-add_abs_lo12_nc.s')
-rw-r--r-- | test/ELF/aarch64-fpic-add_abs_lo12_nc.s | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ELF/aarch64-fpic-add_abs_lo12_nc.s b/test/ELF/aarch64-fpic-add_abs_lo12_nc.s index 9e3216b1e090..7e0b6b833006 100644 --- a/test/ELF/aarch64-fpic-add_abs_lo12_nc.s +++ b/test/ELF/aarch64-fpic-add_abs_lo12_nc.s @@ -1,7 +1,7 @@ // REQUIRES: aarch64 // RUN: llvm-mc -filetype=obj -triple=aarch64-none-freebsd %s -o %t.o // RUN: not ld.lld -shared %t.o -o %t.so 2>&1 | FileCheck %s -// CHECK: Relocation R_AARCH64_ADD_ABS_LO12_NC cannot be used when making a shared object; recompile with -fPIC. +// CHECK: can't create dynamic relocation R_AARCH64_ADD_ABS_LO12_NC against readonly segment add x0, x0, :lo12:dat .data |