Fix PR ld/17277: bogus dynamic relocs and TEXTREL for ARM PC-relative relocs
[deliverable/binutils-gdb.git] / ld / testsuite / ld-arm / arm-elf.exp
index 0576847d2952c325f2da5e28fadc3059e9a354db..677e7b22982ddfdfa546f5526f463db6d9904efd 100644 (file)
@@ -203,6 +203,10 @@ set armelftests_common {
     {"EABI ABI flags ld -r" "-r" "" "-mfloat-abi=soft -meabi=5" {eabi-soft-float.s}
      {{readelf -h eabi-soft-float-r.d}}
      "eabi-soft-float-r.o"}
+    {"PC-relative in -shared" "-shared" ""
+     "" {pcrel-shared.s}
+     {{readelf -dr pcrel-shared.rd}}
+     "pcrel-shared.so"}
 }
 
 set armelftests_nonacl {
This page took 0.035208 seconds and 4 git commands to generate.