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

H.J. Lu hjl.tools@gmail.com
Sun Feb 4 16:11:00 GMT 2018


-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.
---
 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 01d1fdc1f8..6bfd3025b2 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 0b583d2cd5..ba5f7e2b7c 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 253943d5c4..643931b305 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 1b773189e0..a4a2098f5a 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 df0abd8894..6018c3ea9e 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 3c9860bc87..106022e313 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 9a91a101fd..2776dc4aee 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 a8cfc194b5..7763ee4119 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 bb02506c22..8de52c0f38 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 1df2bc1243..3312bce901 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
 #...
-- 
2.14.3



More information about the Binutils mailing list