x86-64: Use pr22393-3a.so and pr22393-3a-now.so
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 14 Feb 2018 04:32:19 +0000 (20:32 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 14 Feb 2018 04:32:19 +0000 (20:32 -0800)
They should be pr22393-3a.so and pr22393-3a-now.so, not pr22393-2a.so
and pr22393-2a-now.so.  Since ld-elf/shared.exp creates pr22393-2a.so
and pr22393-2a-now.so, we won't notice the problem if x86-64.exp runs
after ld-elf/shared.exp.

* testsuite/ld-x86-64/x86-64.exp: Replace pr22393-2a.so and
pr22393-2a-now.so with pr22393-3a.so and pr22393-3a-now.so.

ld/ChangeLog
ld/testsuite/ld-x86-64/x86-64.exp

index fae7ca5c662c99857b2ad765ab3cd9f48d8f1430..01c90efa6c0c58d10a256ea3cef392dc0789c067 100644 (file)
@@ -1,3 +1,8 @@
+2018-02-13  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/ld-x86-64/x86-64.exp: Replace pr22393-2a.so and
+       pr22393-2a-now.so with pr22393-3a.so and pr22393-3a-now.so.
+
 2018-02-14  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR 22836
index a649de87cd10e1f9223e38e0137ea57050549e49..8442663af176a9b0c505becebeaa411bb57c30ac 100644 (file)
@@ -1127,7 +1127,7 @@ if { [isnative] && [which $CC] != 0 } {
        ] \
        [list \
            "Build pr22393-3" \
-           "$NOPIE_LDFLAGS -Wl,-z,separate-code,-z,max-page-size=0x1000,--no-as-needed tmpdir/pr22393-2a.so" \
+           "$NOPIE_LDFLAGS -Wl,-z,separate-code,-z,max-page-size=0x1000,--no-as-needed tmpdir/pr22393-3a.so" \
            "$NOPIE_CFLAGS" \
            {pr22393-3b.c} \
            {{readelf -lW pr22393-3a.rd} \
@@ -1136,7 +1136,7 @@ if { [isnative] && [which $CC] != 0 } {
        ] \
        [list \
            "Build pr22393-3 (PIE)" \
-           "-pie -Wl,-z,separate-code,-z,max-page-size=0x1000,--no-as-needed tmpdir/pr22393-2a-now.so" \
+           "-pie -Wl,-z,separate-code,-z,max-page-size=0x1000,--no-as-needed tmpdir/pr22393-3a-now.so" \
            "-fPIE" \
            {pr22393-3b.c} \
            {{readelf -lW pr22393-3a.rd} \