aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2024-07-19 11:58:04 +0200
committerJan Beulich <jbeulich@suse.com>2024-07-19 11:58:04 +0200
commitc0e9aca554e33e900efbd6425c1830f0a20012f5 (patch)
tree7bba31fe426ca83e55d37afde15f41a4b96f9540 /gas
parent2231ac9b9e88191178001d0ae5845e292acb2a56 (diff)
downloadgdb-c0e9aca554e33e900efbd6425c1830f0a20012f5.zip
gdb-c0e9aca554e33e900efbd6425c1830f0a20012f5.tar.gz
gdb-c0e9aca554e33e900efbd6425c1830f0a20012f5.tar.bz2
MIPS: correct macro use in gas and ld testsuites
Whitespace in macro arguments either needs quoting / parenthesizing to reliably not be mistaken for an argument separator, or respective macro parameters need to be marked as covering all remaining arguments. The former appears more appropriate here, as the macro parameters already have ":req".
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/gas/mips/unaligned-branch-1.s4
-rw-r--r--gas/testsuite/gas/mips/unaligned-branch-2.s4
-rw-r--r--gas/testsuite/gas/mips/unaligned-branch-micromips-1.s4
-rw-r--r--gas/testsuite/gas/mips/unaligned-branch-micromips-2.s4
-rw-r--r--gas/testsuite/gas/mips/unaligned-branch-mips16-1.s4
-rw-r--r--gas/testsuite/gas/mips/unaligned-branch-mips16-2.s4
-rw-r--r--gas/testsuite/gas/mips/unaligned-branch-r6-1.s4
-rw-r--r--gas/testsuite/gas/mips/unaligned-branch-r6-2.s4
-rw-r--r--gas/testsuite/gas/mips/unaligned-branch-r6-3.s4
-rw-r--r--gas/testsuite/gas/mips/unaligned-branch-r6-4.s4
-rw-r--r--gas/testsuite/gas/mips/unaligned-jump-1.s4
-rw-r--r--gas/testsuite/gas/mips/unaligned-jump-2.s4
-rw-r--r--gas/testsuite/gas/mips/unaligned-jump-micromips-1.s4
-rw-r--r--gas/testsuite/gas/mips/unaligned-jump-micromips-2.s4
-rw-r--r--gas/testsuite/gas/mips/unaligned-jump-mips16-1.s4
-rw-r--r--gas/testsuite/gas/mips/unaligned-jump-mips16-2.s4
16 files changed, 32 insertions, 32 deletions
diff --git a/gas/testsuite/gas/mips/unaligned-branch-1.s b/gas/testsuite/gas/mips/unaligned-branch-1.s
index bc976a2..b99a63e 100644
--- a/gas/testsuite/gas/mips/unaligned-branch-1.s
+++ b/gas/testsuite/gas/mips/unaligned-branch-1.s
@@ -116,7 +116,7 @@ bar\@ :
.byte 0
.size bar\@, . - bar\@
.if \n - 1
- obj \n - 1
+ obj (\n - 1)
.endif
.endm
@@ -127,7 +127,7 @@ bar\@ :
.hword 0
.size bar\@, . - bar\@
.if \n - 1
- fun \n - 1
+ fun (\n - 1)
.endif
.endm
diff --git a/gas/testsuite/gas/mips/unaligned-branch-2.s b/gas/testsuite/gas/mips/unaligned-branch-2.s
index 2f892c7..9a60d27 100644
--- a/gas/testsuite/gas/mips/unaligned-branch-2.s
+++ b/gas/testsuite/gas/mips/unaligned-branch-2.s
@@ -117,7 +117,7 @@ bar\@ :
.byte 0
.size bar\@, . - bar\@
.if \n - 1
- obj \n - 1
+ obj (\n - 1)
.endif
.endm
@@ -129,7 +129,7 @@ bar\@ :
.hword 0
.size bar\@, . - bar\@
.if \n - 1
- fun \n - 1
+ fun (\n - 1)
.endif
.endm
diff --git a/gas/testsuite/gas/mips/unaligned-branch-micromips-1.s b/gas/testsuite/gas/mips/unaligned-branch-micromips-1.s
index bec74ed..ada5283 100644
--- a/gas/testsuite/gas/mips/unaligned-branch-micromips-1.s
+++ b/gas/testsuite/gas/mips/unaligned-branch-micromips-1.s
@@ -181,7 +181,7 @@ bar\@ :
.byte 0
.size bar\@, . - bar\@
.if \n - 1
- obj \n - 1
+ obj (\n - 1)
.endif
.endm
@@ -192,7 +192,7 @@ bar\@ :
.hword 0
.size bar\@, . - bar\@
.if \n - 1
- fun \n - 1
+ fun (\n - 1)
.endif
.endm
diff --git a/gas/testsuite/gas/mips/unaligned-branch-micromips-2.s b/gas/testsuite/gas/mips/unaligned-branch-micromips-2.s
index e65601e..f3f3980 100644
--- a/gas/testsuite/gas/mips/unaligned-branch-micromips-2.s
+++ b/gas/testsuite/gas/mips/unaligned-branch-micromips-2.s
@@ -182,7 +182,7 @@ bar\@ :
.byte 0
.size bar\@, . - bar\@
.if \n - 1
- obj \n - 1
+ obj (\n - 1)
.endif
.endm
@@ -194,7 +194,7 @@ bar\@ :
.hword 0
.size bar\@, . - bar\@
.if \n - 1
- fun \n - 1
+ fun (\n - 1)
.endif
.endm
diff --git a/gas/testsuite/gas/mips/unaligned-branch-mips16-1.s b/gas/testsuite/gas/mips/unaligned-branch-mips16-1.s
index d4fad96..6bc8b29 100644
--- a/gas/testsuite/gas/mips/unaligned-branch-mips16-1.s
+++ b/gas/testsuite/gas/mips/unaligned-branch-mips16-1.s
@@ -85,7 +85,7 @@ bar\@ :
.byte 0
.size bar\@, . - bar\@
.if \n - 1
- obj \n - 1
+ obj (\n - 1)
.endif
.endm
@@ -96,7 +96,7 @@ bar\@ :
.hword 0
.size bar\@, . - bar\@
.if \n - 1
- fun \n - 1
+ fun (\n - 1)
.endif
.endm
diff --git a/gas/testsuite/gas/mips/unaligned-branch-mips16-2.s b/gas/testsuite/gas/mips/unaligned-branch-mips16-2.s
index 0a6e553..5476cae 100644
--- a/gas/testsuite/gas/mips/unaligned-branch-mips16-2.s
+++ b/gas/testsuite/gas/mips/unaligned-branch-mips16-2.s
@@ -86,7 +86,7 @@ bar\@ :
.byte 0
.size bar\@, . - bar\@
.if \n - 1
- obj \n - 1
+ obj (\n - 1)
.endif
.endm
@@ -98,7 +98,7 @@ bar\@ :
.hword 0
.size bar\@, . - bar\@
.if \n - 1
- fun \n - 1
+ fun (\n - 1)
.endif
.endm
diff --git a/gas/testsuite/gas/mips/unaligned-branch-r6-1.s b/gas/testsuite/gas/mips/unaligned-branch-r6-1.s
index 1e5960c..0e48b29 100644
--- a/gas/testsuite/gas/mips/unaligned-branch-r6-1.s
+++ b/gas/testsuite/gas/mips/unaligned-branch-r6-1.s
@@ -118,7 +118,7 @@ bar\@ :
.byte 0
.size bar\@, . - bar\@
.if \n - 1
- obj \n - 1
+ obj (\n - 1)
.endif
.endm
@@ -129,7 +129,7 @@ bar\@ :
.hword 0
.size bar\@, . - bar\@
.if \n - 1
- fun \n - 1
+ fun (\n - 1)
.endif
.endm
diff --git a/gas/testsuite/gas/mips/unaligned-branch-r6-2.s b/gas/testsuite/gas/mips/unaligned-branch-r6-2.s
index dc89ea0..c160701 100644
--- a/gas/testsuite/gas/mips/unaligned-branch-r6-2.s
+++ b/gas/testsuite/gas/mips/unaligned-branch-r6-2.s
@@ -118,7 +118,7 @@ bar\@ :
.byte 0
.size bar\@, . - bar\@
.if \n - 1
- obj \n - 1
+ obj (\n - 1)
.endif
.endm
@@ -129,7 +129,7 @@ bar\@ :
.hword 0
.size bar\@, . - bar\@
.if \n - 1
- fun \n - 1
+ fun (\n - 1)
.endif
.endm
diff --git a/gas/testsuite/gas/mips/unaligned-branch-r6-3.s b/gas/testsuite/gas/mips/unaligned-branch-r6-3.s
index beb5912..62adac2 100644
--- a/gas/testsuite/gas/mips/unaligned-branch-r6-3.s
+++ b/gas/testsuite/gas/mips/unaligned-branch-r6-3.s
@@ -119,7 +119,7 @@ bar\@ :
.byte 0
.size bar\@, . - bar\@
.if \n - 1
- obj \n - 1
+ obj (\n - 1)
.endif
.endm
@@ -131,7 +131,7 @@ bar\@ :
.hword 0
.size bar\@, . - bar\@
.if \n - 1
- fun \n - 1
+ fun (\n - 1)
.endif
.endm
diff --git a/gas/testsuite/gas/mips/unaligned-branch-r6-4.s b/gas/testsuite/gas/mips/unaligned-branch-r6-4.s
index 26a905a..cb5ef69 100644
--- a/gas/testsuite/gas/mips/unaligned-branch-r6-4.s
+++ b/gas/testsuite/gas/mips/unaligned-branch-r6-4.s
@@ -119,7 +119,7 @@ bar\@ :
.byte 0
.size bar\@, . - bar\@
.if \n - 1
- obj \n - 1
+ obj (\n - 1)
.endif
.endm
@@ -131,7 +131,7 @@ bar\@ :
.hword 0
.size bar\@, . - bar\@
.if \n - 1
- fun \n - 1
+ fun (\n - 1)
.endif
.endm
diff --git a/gas/testsuite/gas/mips/unaligned-jump-1.s b/gas/testsuite/gas/mips/unaligned-jump-1.s
index bfdd0d3..13f85c7 100644
--- a/gas/testsuite/gas/mips/unaligned-jump-1.s
+++ b/gas/testsuite/gas/mips/unaligned-jump-1.s
@@ -116,7 +116,7 @@ bar\@ :
.byte 0
.size bar\@, . - bar\@
.if \n - 1
- obj \n - 1
+ obj (\n - 1)
.endif
.endm
@@ -127,7 +127,7 @@ bar\@ :
.hword 0
.size bar\@, . - bar\@
.if \n - 1
- fun \n - 1
+ fun (\n - 1)
.endif
.endm
diff --git a/gas/testsuite/gas/mips/unaligned-jump-2.s b/gas/testsuite/gas/mips/unaligned-jump-2.s
index f6a951d..b2a60ab 100644
--- a/gas/testsuite/gas/mips/unaligned-jump-2.s
+++ b/gas/testsuite/gas/mips/unaligned-jump-2.s
@@ -117,7 +117,7 @@ bar\@ :
.byte 0
.size bar\@, . - bar\@
.if \n - 1
- obj \n - 1
+ obj (\n - 1)
.endif
.endm
@@ -129,7 +129,7 @@ bar\@ :
.hword 0
.size bar\@, . - bar\@
.if \n - 1
- fun \n - 1
+ fun (\n - 1)
.endif
.endm
diff --git a/gas/testsuite/gas/mips/unaligned-jump-micromips-1.s b/gas/testsuite/gas/mips/unaligned-jump-micromips-1.s
index 07d0a58..4ecfc6f 100644
--- a/gas/testsuite/gas/mips/unaligned-jump-micromips-1.s
+++ b/gas/testsuite/gas/mips/unaligned-jump-micromips-1.s
@@ -149,7 +149,7 @@ bar\@ :
.byte 0
.size bar\@, . - bar\@
.if \n - 1
- obj \n - 1
+ obj (\n - 1)
.endif
.endm
@@ -160,7 +160,7 @@ bar\@ :
.hword 0
.size bar\@, . - bar\@
.if \n - 1
- fun \n - 1
+ fun (\n - 1)
.endif
.endm
diff --git a/gas/testsuite/gas/mips/unaligned-jump-micromips-2.s b/gas/testsuite/gas/mips/unaligned-jump-micromips-2.s
index 9865f2e..9dff6a1 100644
--- a/gas/testsuite/gas/mips/unaligned-jump-micromips-2.s
+++ b/gas/testsuite/gas/mips/unaligned-jump-micromips-2.s
@@ -150,7 +150,7 @@ bar\@ :
.byte 0
.size bar\@, . - bar\@
.if \n - 1
- obj \n - 1
+ obj (\n - 1)
.endif
.endm
@@ -162,7 +162,7 @@ bar\@ :
.hword 0
.size bar\@, . - bar\@
.if \n - 1
- fun \n - 1
+ fun (\n - 1)
.endif
.endm
diff --git a/gas/testsuite/gas/mips/unaligned-jump-mips16-1.s b/gas/testsuite/gas/mips/unaligned-jump-mips16-1.s
index 3292640..bed5ded 100644
--- a/gas/testsuite/gas/mips/unaligned-jump-mips16-1.s
+++ b/gas/testsuite/gas/mips/unaligned-jump-mips16-1.s
@@ -85,7 +85,7 @@ bar\@ :
.byte 0
.size bar\@, . - bar\@
.if \n - 1
- obj \n - 1
+ obj (\n - 1)
.endif
.endm
@@ -96,7 +96,7 @@ bar\@ :
.hword 0
.size bar\@, . - bar\@
.if \n - 1
- fun \n - 1
+ fun (\n - 1)
.endif
.endm
diff --git a/gas/testsuite/gas/mips/unaligned-jump-mips16-2.s b/gas/testsuite/gas/mips/unaligned-jump-mips16-2.s
index c2b15aa..d6dd5ee 100644
--- a/gas/testsuite/gas/mips/unaligned-jump-mips16-2.s
+++ b/gas/testsuite/gas/mips/unaligned-jump-mips16-2.s
@@ -86,7 +86,7 @@ bar\@ :
.byte 0
.size bar\@, . - bar\@
.if \n - 1
- obj \n - 1
+ obj (\n - 1)
.endif
.endm
@@ -98,7 +98,7 @@ bar\@ :
.hword 0
.size bar\@, . - bar\@
.if \n - 1
- fun \n - 1
+ fun (\n - 1)
.endif
.endm