aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-aarch64/pcrel_pic_undefined.d')
-rw-r--r--ld/testsuite/ld-aarch64/pcrel_pic_undefined.d1
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/testsuite/ld-aarch64/pcrel_pic_undefined.d b/ld/testsuite/ld-aarch64/pcrel_pic_undefined.d
index b5d63722352..fd8ddb38a8c 100644
--- a/ld/testsuite/ld-aarch64/pcrel_pic_undefined.d
+++ b/ld/testsuite/ld-aarch64/pcrel_pic_undefined.d
@@ -1,5 +1,6 @@
#name: PC-Rel relocation against undefined
#source: pcrel.s
+#target: [check_shared_lib_support]
#ld: -shared -e0 -defsym global_b=0x2000
#error: .*: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `global_a.*bind externally.*fPIC.*
#error: .*: dangerous relocation: unsupported relocation