[binutils-gdb] ld/testsuite: Replace -Sw with -SW for readelf

H.J.Lu hjl@sourceware.org
Sun Feb 4 15:52:00 GMT 2018


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

commit 9f7393d8fc8b79a92b027cd8ac6fda9441d3fff9
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Sun Feb 4 07:51:10 2018 -0800

    ld/testsuite: Replace -Sw with -SW for readelf
    
    -Sw is a typo.  It should be -SW for readelf.
    
    	* testsuite/ld-i386/lea1d.d: Replace -Sw with -SW.
    	* testsuite/ld-i386/lea1e.d: Likewise.
    	* testsuite/ld-i386/lea1f.d: Likewise.
    	* testsuite/ld-x86-64/lea1g.d: Likewise.
    	* testsuite/ld-x86-64/lea1h.d: Likewise.
    	* testsuite/ld-x86-64/lea1i.d: Likewise.
    	* testsuite/ld-x86-64/lea1j.d: Likewise.
    	* testsuite/ld-x86-64/lea1k.d: Likewise.
    	* testsuite/ld-x86-64/lea1l.d: Likewise.

Diff:
---
 ld/ChangeLog                   | 12 ++++++++++++
 ld/testsuite/ld-i386/lea1d.d   |  2 +-
 ld/testsuite/ld-i386/lea1e.d   |  2 +-
 ld/testsuite/ld-i386/lea1f.d   |  2 +-
 ld/testsuite/ld-x86-64/lea1g.d |  2 +-
 ld/testsuite/ld-x86-64/lea1h.d |  2 +-
 ld/testsuite/ld-x86-64/lea1i.d |  2 +-
 ld/testsuite/ld-x86-64/lea1j.d |  2 +-
 ld/testsuite/ld-x86-64/lea1k.d |  2 +-
 ld/testsuite/ld-x86-64/lea1l.d |  2 +-
 10 files changed, 21 insertions(+), 9 deletions(-)

diff --git a/ld/ChangeLog b/ld/ChangeLog
index 01d1fdc..6bfd302 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,15 @@
+2018-02-04  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* testsuite/ld-i386/lea1d.d: Replace -Sw with -SW.
+	* testsuite/ld-i386/lea1e.d: Likewise.
+	* testsuite/ld-i386/lea1f.d: Likewise.
+	* testsuite/ld-x86-64/lea1g.d: Likewise.
+	* testsuite/ld-x86-64/lea1h.d: Likewise.
+	* testsuite/ld-x86-64/lea1i.d: Likewise.
+	* testsuite/ld-x86-64/lea1j.d: Likewise.
+	* testsuite/ld-x86-64/lea1k.d: Likewise.
+	* testsuite/ld-x86-64/lea1l.d: Likewise.
+
 2018-02-03  Nick Clifton  <nickc@redhat.com>
 
 	PR 22762
diff --git a/ld/testsuite/ld-i386/lea1d.d b/ld/testsuite/ld-i386/lea1d.d
index 0b583d2..ba5f7e2 100644
--- a/ld/testsuite/ld-i386/lea1d.d
+++ b/ld/testsuite/ld-i386/lea1d.d
@@ -1,7 +1,7 @@
 #source: lea1.s
 #as: --32 -mrelax-relocations=yes
 #ld: -Bsymbolic -shared -melf_i386
-#readelf: -Sw
+#readelf: -SW
 
 #failif
 #...
diff --git a/ld/testsuite/ld-i386/lea1e.d b/ld/testsuite/ld-i386/lea1e.d
index 253943d..643931b 100644
--- a/ld/testsuite/ld-i386/lea1e.d
+++ b/ld/testsuite/ld-i386/lea1e.d
@@ -1,7 +1,7 @@
 #source: lea1.s
 #as: --32 -mrelax-relocations=yes
 #ld: -pie -melf_i386
-#readelf: -Sw
+#readelf: -SW
 
 #failif
 #...
diff --git a/ld/testsuite/ld-i386/lea1f.d b/ld/testsuite/ld-i386/lea1f.d
index 1b77318..a4a2098 100644
--- a/ld/testsuite/ld-i386/lea1f.d
+++ b/ld/testsuite/ld-i386/lea1f.d
@@ -1,7 +1,7 @@
 #source: lea1.s
 #as: --32 -mrelax-relocations=yes
 #ld: -melf_i386
-#readelf: -Sw
+#readelf: -SW
 
 #failif
 #...
diff --git a/ld/testsuite/ld-x86-64/lea1g.d b/ld/testsuite/ld-x86-64/lea1g.d
index df0abd8..6018c3e 100644
--- a/ld/testsuite/ld-x86-64/lea1g.d
+++ b/ld/testsuite/ld-x86-64/lea1g.d
@@ -1,7 +1,7 @@
 #source: lea1.s
 #as: --64
 #ld: -Bsymbolic -shared -melf_x86_64
-#readelf: -Sw
+#readelf: -SW
 
 #failif
 #...
diff --git a/ld/testsuite/ld-x86-64/lea1h.d b/ld/testsuite/ld-x86-64/lea1h.d
index 3c9860b..106022e 100644
--- a/ld/testsuite/ld-x86-64/lea1h.d
+++ b/ld/testsuite/ld-x86-64/lea1h.d
@@ -1,7 +1,7 @@
 #source: lea1.s
 #as: --64
 #ld: -pie -melf_x86_64
-#readelf: -Sw
+#readelf: -SW
 
 #failif
 #...
diff --git a/ld/testsuite/ld-x86-64/lea1i.d b/ld/testsuite/ld-x86-64/lea1i.d
index 9a91a10..2776dc4 100644
--- a/ld/testsuite/ld-x86-64/lea1i.d
+++ b/ld/testsuite/ld-x86-64/lea1i.d
@@ -1,7 +1,7 @@
 #source: lea1.s
 #as: --64
 #ld: -melf_x86_64
-#readelf: -Sw
+#readelf: -SW
 
 #failif
 #...
diff --git a/ld/testsuite/ld-x86-64/lea1j.d b/ld/testsuite/ld-x86-64/lea1j.d
index a8cfc19..7763ee4 100644
--- a/ld/testsuite/ld-x86-64/lea1j.d
+++ b/ld/testsuite/ld-x86-64/lea1j.d
@@ -1,7 +1,7 @@
 #source: lea1.s
 #as: --x32
 #ld: -Bsymbolic -shared -melf32_x86_64
-#readelf: -Sw
+#readelf: -SW
 
 #failif
 #...
diff --git a/ld/testsuite/ld-x86-64/lea1k.d b/ld/testsuite/ld-x86-64/lea1k.d
index bb02506..8de52c0 100644
--- a/ld/testsuite/ld-x86-64/lea1k.d
+++ b/ld/testsuite/ld-x86-64/lea1k.d
@@ -1,7 +1,7 @@
 #source: lea1.s
 #as: --x32
 #ld: -pie -melf32_x86_64
-#readelf: -Sw
+#readelf: -SW
 
 #failif
 #...
diff --git a/ld/testsuite/ld-x86-64/lea1l.d b/ld/testsuite/ld-x86-64/lea1l.d
index 1df2bc1..3312bce 100644
--- a/ld/testsuite/ld-x86-64/lea1l.d
+++ b/ld/testsuite/ld-x86-64/lea1l.d
@@ -1,7 +1,7 @@
 #source: lea1.s
 #as: --x32
 #ld: -melf32_x86_64
-#readelf: -Sw
+#readelf: -SW
 
 #failif
 #...



More information about the Binutils-cvs mailing list