aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2003-05-02 02:43:28 +0000
committerH.J. Lu <hjl.tools@gmail.com>2003-05-02 02:43:28 +0000
commit395f4d9b6a84690e5901e0580ff17241ca9fc01a (patch)
tree6895b84ef5db036bd9229f925138858365aa56f5
parenta645d1eb84aab42ff0586f42a0191cda3128632f (diff)
downloadgdb-395f4d9b6a84690e5901e0580ff17241ca9fc01a.zip
gdb-395f4d9b6a84690e5901e0580ff17241ca9fc01a.tar.gz
gdb-395f4d9b6a84690e5901e0580ff17241ca9fc01a.tar.bz2
2003-05-01 H.J. Lu <hjl@gnu.org>
* gas/ia64/ia64.exp: Add "global". * gas/ia64/global.d: New file. * gas/ia64/global.s: Likewise.
-rw-r--r--gas/testsuite/ChangeLog7
-rw-r--r--gas/testsuite/gas/ia64/global.d10
-rw-r--r--gas/testsuite/gas/ia64/global.s3
-rw-r--r--gas/testsuite/gas/ia64/ia64.exp1
4 files changed, 21 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 54f489d..6399b50 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,10 @@
+2003-05-01 H.J. Lu <hjl@gnu.org>
+
+ * gas/ia64/ia64.exp: Add "global".
+
+ * gas/ia64/global.d: New file.
+ * gas/ia64/global.s: Likewise.
+
2003-04-30 H.J. Lu <hjl@gnu.org>
* gas/ia64/ia64.exp: Add order.
diff --git a/gas/testsuite/gas/ia64/global.d b/gas/testsuite/gas/ia64/global.d
new file mode 100644
index 0000000..fcd9da4
--- /dev/null
+++ b/gas/testsuite/gas/ia64/global.d
@@ -0,0 +1,10 @@
+#readelf: --sym
+#name: ia64 global label
+
+Symbol table '.symtab' contains 5 entries:
+ Num: Value Size Type Bind Vis Ndx Name
+ 0: 0+0 0 NOTYPE LOCAL DEFAULT UND
+ 1: 0+0 0 SECTION LOCAL DEFAULT 1
+ 2: 0+0 0 SECTION LOCAL DEFAULT 2
+ 3: 0+0 0 SECTION LOCAL DEFAULT 3
+ 4: 0+0 0 NOTYPE GLOBAL DEFAULT 2 foo
diff --git a/gas/testsuite/gas/ia64/global.s b/gas/testsuite/gas/ia64/global.s
new file mode 100644
index 0000000..9ad702c
--- /dev/null
+++ b/gas/testsuite/gas/ia64/global.s
@@ -0,0 +1,3 @@
+ .data
+foo::
+ data1 0
diff --git a/gas/testsuite/gas/ia64/ia64.exp b/gas/testsuite/gas/ia64/ia64.exp
index 2e66eb7..60e6a8e 100644
--- a/gas/testsuite/gas/ia64/ia64.exp
+++ b/gas/testsuite/gas/ia64/ia64.exp
@@ -45,4 +45,5 @@ if [istarget "ia64-*"] then {
run_dump_test "real"
run_dump_test "align"
run_dump_test "order"
+ run_dump_test "global"
}