PR26065, ld/testsuite/ld-elf symbolic tests dl4e and dl4f fail
authorAlan Modra <amodra@gmail.com>
Tue, 9 Jun 2020 07:32:12 +0000 (17:02 +0930)
committerAlan Modra <amodra@gmail.com>
Tue, 9 Jun 2020 08:04:52 +0000 (17:34 +0930)
PR 26065
* testsuite/ld-elf/shared.exp: Compile dl4main.c -fPIC.
(dl4e, dl4f): Expect dl4a.out.
* testsuite/ld-elf/dl4e.out: Delete.

ld/ChangeLog
ld/testsuite/ld-elf/dl4e.out [deleted file]
ld/testsuite/ld-elf/shared.exp

index 59de955076b3cb2e5493a81a1d7bd54c3860c35f..b0336b7d309182e9bbe3ddcd7ae7a46ee13b8d70 100644 (file)
@@ -1,3 +1,10 @@
+2020-06-09  Alan Modra  <amodra@gmail.com>
+
+       PR 26065
+       * testsuite/ld-elf/shared.exp: Compile dl4main.c -fPIC.
+       (dl4e, dl4f): Expect dl4a.out.
+       * testsuite/ld-elf/dl4e.out: Delete.
+
 2020-06-07  H.J. Lu  <hongjiu.lu@intel.com>
 
        * testsuite/ld-elf/shared.exp: Pass $LFLAGS to PR ld/21703
diff --git a/ld/testsuite/ld-elf/dl4e.out b/ld/testsuite/ld-elf/dl4e.out
deleted file mode 100644 (file)
index e5da6e2..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-bar OK2
-bar OK4
-DSO1
-DSO2
-OK2
-OK4
index effa3ab376f98bddf9e4e538ff90d1f4956a7a16..b1e1f62d50e03a3caa3b8b48e0fe118f5afd6ff1 100644 (file)
@@ -921,22 +921,22 @@ set run_tests [list \
      {dl2main.c} "dl2k" "dl2a.out" ] \
     [list "Run with libdl4a.so" \
      "-Wl,--no-as-needed tmpdir/libdl4a.so" "" \
-     {dl4main.c} "dl4a" "dl4a.out" ] \
+     {dl4main.c} "dl4a" "dl4a.out" "-fPIC"] \
     [list "Run with libdl4b.so" \
      "-Wl,--no-as-needed tmpdir/libdl4b.so" "" \
-     {dl4main.c} "dl4b" "dl4a.out" ] \
+     {dl4main.c} "dl4b" "dl4a.out" "-fPIC"] \
     [list "Run with libdl4c.so" \
      "-Wl,--no-as-needed tmpdir/libdl4c.so" "" \
-     {dl4main.c} "dl4c" "dl4b.out" ] \
+     {dl4main.c} "dl4c" "dl4b.out" "-fPIC"] \
     [list "Run with libdl4d.so" \
      "-Wl,--no-as-needed tmpdir/libdl4d.so" "" \
-     {dl4main.c} "dl4d" "dl4b.out" ] \
+     {dl4main.c} "dl4d" "dl4b.out" "-fPIC"] \
     [list "Run with libdl4e.so" \
      "-Wl,--no-as-needed tmpdir/libdl4e.so" "" \
-     {dl4main.c} "dl4e" "dl4e.out" ] \
+     {dl4main.c} "dl4e" "dl4a.out" "-fPIC"] \
     [list "Run with libdl4f.so" \
      "-Wl,--no-as-needed tmpdir/libdl4f.so" "" \
-     {dl4main.c} "dl4f" "dl4e.out" ] \
+     {dl4main.c} "dl4f" "dl4a.out" "-fPIC"] \
     [list "Run with libdata1.so" \
      "-Wl,--no-as-needed tmpdir/libdata1.so" "" \
      {dynbss1.c} "dynbss1" "pass.out" ] \