[binutils-gdb] arm: testsuite: fix msdos line endings in tests

Richard Earnshaw rearnsha@sourceware.org
Tue Jun 4 10:52:49 GMT 2024


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

commit b472e4cfd63c551543b6a1653f3cff03162b7403
Author: Richard Earnshaw <rearnsha@arm.com>
Date:   Tue Jun 4 11:31:50 2024 +0100

    arm: testsuite: fix msdos line endings in tests
    
    A couple of the tests in the testsuite were at some point in the past
    committed with DOS-style CRLF line endings.  This potentially causes
    email problems if the tests are touched in the middle of a large patch
    series so convert them to standard Un*x line endings.

Diff:
---
 gas/testsuite/gas/arm/fp-save.s            |  8 ++++----
 gas/testsuite/gas/arm/ldrd-unpredictable.s | 28 ++++++++++++++--------------
 2 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/gas/testsuite/gas/arm/fp-save.s b/gas/testsuite/gas/arm/fp-save.s
index d0a572aab40..ffe02bb061c 100644
--- a/gas/testsuite/gas/arm/fp-save.s
+++ b/gas/testsuite/gas/arm/fp-save.s
@@ -1,4 +1,4 @@
-	.fnstart
-	sfmfd   f4, 1, [sp]!
-	.save f4, 1
-	.fnend
+	.fnstart
+	sfmfd   f4, 1, [sp]!
+	.save f4, 1
+	.fnend
diff --git a/gas/testsuite/gas/arm/ldrd-unpredictable.s b/gas/testsuite/gas/arm/ldrd-unpredictable.s
index 9bc207502fa..1f67d749164 100644
--- a/gas/testsuite/gas/arm/ldrd-unpredictable.s
+++ b/gas/testsuite/gas/arm/ldrd-unpredictable.s
@@ -1,14 +1,14 @@
-.syntax unified
-
-.arm
-
-@ LDRD
-ldrd r0,r1,[r0,r1]			@ unpredictable
-ldrd r0,r1,[r1,r0]			@ ditto
-ldrd r0,r1,[r0,r2]!			@ ditto
-ldrd r0,r1,[r1,r2]!			@ ditto
-
-@ STRD
-
-strd r0,r1,[r0,r2]!			@ ditto
-strd r0,r1,[r1,r2]!			@ ditto
+.syntax unified
+
+.arm
+
+@ LDRD
+ldrd r0,r1,[r0,r1]			@ unpredictable
+ldrd r0,r1,[r1,r0]			@ ditto
+ldrd r0,r1,[r0,r2]!			@ ditto
+ldrd r0,r1,[r1,r2]!			@ ditto
+
+@ STRD
+
+strd r0,r1,[r0,r2]!			@ ditto
+strd r0,r1,[r1,r2]!			@ ditto


More information about the Binutils-cvs mailing list