This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] x86-64: Use pr22393-3a.so and pr22393-3a-now.so


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=85f2093ddc13e96585e9a44ee03b52f848ffbf75

commit 85f2093ddc13e96585e9a44ee03b52f848ffbf75
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Feb 13 20:32:19 2018 -0800

    x86-64: Use pr22393-3a.so and pr22393-3a-now.so
    
    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.

Diff:
---
 ld/ChangeLog                      | 5 +++++
 ld/testsuite/ld-x86-64/x86-64.exp | 4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/ld/ChangeLog b/ld/ChangeLog
index fae7ca5..01c90ef 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -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
diff --git a/ld/testsuite/ld-x86-64/x86-64.exp b/ld/testsuite/ld-x86-64/x86-64.exp
index a649de8..8442663 100644
--- a/ld/testsuite/ld-x86-64/x86-64.exp
+++ b/ld/testsuite/ld-x86-64/x86-64.exp
@@ -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} \


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]