aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2011-04-18 13:44:36 +0000
committerTristan Gingold <gingold@adacore.com>2011-04-18 13:44:36 +0000
commit049c5eba3610d7dce1f931046008ddc7dbb89070 (patch)
tree457668c83080c1d735819839cfe19400501f27aa /gas
parent7b403836d707858c16b4e7397ba383c987ae2109 (diff)
downloadgdb-049c5eba3610d7dce1f931046008ddc7dbb89070.zip
gdb-049c5eba3610d7dce1f931046008ddc7dbb89070.tar.gz
gdb-049c5eba3610d7dce1f931046008ddc7dbb89070.tar.bz2
2011-04-18 Tristan Gingold <gingold@adacore.com>
* gas/macros/app1.s: Export symbol * gas/macros/app2.s: Ditto * gas/macros/app3.s: Ditto * gas/macros/app4.s: Ditto * gas/macros/app4b.s: Ditto * gas/macros/app1.d: Adjust. * gas/macros/app2.d: Ditto. * gas/macros/app3.d: Ditto. * gas/macros/app4.d: Ditto.
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog12
-rw-r--r--gas/testsuite/gas/macros/app1.d4
-rw-r--r--gas/testsuite/gas/macros/app1.s2
-rw-r--r--gas/testsuite/gas/macros/app2.d4
-rw-r--r--gas/testsuite/gas/macros/app2.s2
-rw-r--r--gas/testsuite/gas/macros/app3.d6
-rw-r--r--gas/testsuite/gas/macros/app3.s3
-rw-r--r--gas/testsuite/gas/macros/app4.d6
-rw-r--r--gas/testsuite/gas/macros/app4.s2
-rw-r--r--gas/testsuite/gas/macros/app4b.s2
10 files changed, 33 insertions, 10 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index fc73aee..c0ca65a 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,5 +1,17 @@
2011-04-18 Tristan Gingold <gingold@adacore.com>
+ * gas/macros/app1.s: Export symbol
+ * gas/macros/app2.s: Ditto
+ * gas/macros/app3.s: Ditto
+ * gas/macros/app4.s: Ditto
+ * gas/macros/app4b.s: Ditto
+ * gas/macros/app1.d: Adjust.
+ * gas/macros/app2.d: Ditto.
+ * gas/macros/app3.d: Ditto.
+ * gas/macros/app4.d: Ditto.
+
+2011-04-18 Tristan Gingold <gingold@adacore.com>
+
* lib/gas-defs.exp (get_standard_section_names): Add names for
alpha vms.
* gas/all/gas.exp: Do not test diff1.s on alpha-vms.
diff --git a/gas/testsuite/gas/macros/app1.d b/gas/testsuite/gas/macros/app1.d
index 51ba9f2..e7f7e1e 100644
--- a/gas/testsuite/gas/macros/app1.d
+++ b/gas/testsuite/gas/macros/app1.d
@@ -1,7 +1,7 @@
#nm: -n
#name: APP with macro without NO_APP
#...
-0+ t a
+0+ T a
#...
-0+[1-f] t b
+0+[1-f] T b
#pass
diff --git a/gas/testsuite/gas/macros/app1.s b/gas/testsuite/gas/macros/app1.s
index fd63b81..5cc7a07 100644
--- a/gas/testsuite/gas/macros/app1.s
+++ b/gas/testsuite/gas/macros/app1.s
@@ -1,10 +1,12 @@
#NO_APP
.text
.macro foo
+ .globl a
a:
.long 42
.endm
#APP
foo
+ .globl b
b:
.long 56
diff --git a/gas/testsuite/gas/macros/app2.d b/gas/testsuite/gas/macros/app2.d
index d6e4ecb..ef62e3a 100644
--- a/gas/testsuite/gas/macros/app2.d
+++ b/gas/testsuite/gas/macros/app2.d
@@ -1,7 +1,7 @@
#nm: -n
#name: APP with macro then NO_APP
#...
-0+ t a
+0+ T a
#...
-0+[1-f] t b
+0+[1-f] T b
#pass
diff --git a/gas/testsuite/gas/macros/app2.s b/gas/testsuite/gas/macros/app2.s
index 7147bca..8f9222b 100644
--- a/gas/testsuite/gas/macros/app2.s
+++ b/gas/testsuite/gas/macros/app2.s
@@ -1,11 +1,13 @@
#NO_APP
.text
.macro foo
+ .globl a
a:
.long 42
.endm
#APP
foo
+ .globl b
b:
.long 56
#NO_APP
diff --git a/gas/testsuite/gas/macros/app3.d b/gas/testsuite/gas/macros/app3.d
index 671a2fa..4be449c 100644
--- a/gas/testsuite/gas/macros/app3.d
+++ b/gas/testsuite/gas/macros/app3.d
@@ -1,9 +1,9 @@
#nm: -n
#name: APP with macro then NO_APP then more code
#...
-0+ t a
+0+ T a
#...
-0+[1-f] t b
+0+[1-f] T b
#...
-0+[2-f] t c
+0+[2-f] T c
#pass
diff --git a/gas/testsuite/gas/macros/app3.s b/gas/testsuite/gas/macros/app3.s
index 49d850c..7d950c5 100644
--- a/gas/testsuite/gas/macros/app3.s
+++ b/gas/testsuite/gas/macros/app3.s
@@ -1,13 +1,16 @@
#NO_APP
.text
.macro foo
+ .globl a
a:
.long 42
.endm
#APP
foo
+ .globl b
b:
.long 56
#NO_APP
+ .globl c
c:
.long 78
diff --git a/gas/testsuite/gas/macros/app4.d b/gas/testsuite/gas/macros/app4.d
index b28a17a..537a03b 100644
--- a/gas/testsuite/gas/macros/app4.d
+++ b/gas/testsuite/gas/macros/app4.d
@@ -2,9 +2,9 @@
#nm: -n
#name: included file with .if 0 wrapped in APP/NO_APP, no final NO_APP, macro in main file
#...
-0+ t d
+0+ T d
#...
-0+[1-f] t a
+0+[1-f] T a
#...
-0+[2-f] t b
+0+[2-f] T b
#pass
diff --git a/gas/testsuite/gas/macros/app4.s b/gas/testsuite/gas/macros/app4.s
index ca635bf..1966514 100644
--- a/gas/testsuite/gas/macros/app4.s
+++ b/gas/testsuite/gas/macros/app4.s
@@ -1,9 +1,11 @@
.text
.macro foo
+ .globl a
a:
.long 42
.endm
.include "app4b.s"
foo
+ .globl b
b:
.long 56
diff --git a/gas/testsuite/gas/macros/app4b.s b/gas/testsuite/gas/macros/app4b.s
index 5b2e7af..45e6c4c 100644
--- a/gas/testsuite/gas/macros/app4b.s
+++ b/gas/testsuite/gas/macros/app4b.s
@@ -1,10 +1,12 @@
#NO_APP
+ .globl d
d:
.long 21
#APP
.if 0
#NO_APP
.err
+ .globl x
x:
#APP
.endif