]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2003-05-01 H.J. Lu <hjl@gnu.org>
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 2 May 2003 02:43:28 +0000 (02:43 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 2 May 2003 02:43:28 +0000 (02:43 +0000)
* gas/ia64/ia64.exp: Add "global".

* gas/ia64/global.d: New file.
* gas/ia64/global.s: Likewise.

gas/testsuite/ChangeLog
gas/testsuite/gas/ia64/global.d [new file with mode: 0644]
gas/testsuite/gas/ia64/global.s [new file with mode: 0644]
gas/testsuite/gas/ia64/ia64.exp

index 54f489d9ea304e0b46a08aa70eb7bd04259027c0..6399b505dd71373e0500dfb9b98612f75af72ba7 100644 (file)
@@ -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 (file)
index 0000000..fcd9da4
--- /dev/null
@@ -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 (file)
index 0000000..9ad702c
--- /dev/null
@@ -0,0 +1,3 @@
+       .data
+foo::
+       data1 0
index 2e66eb7b40a954e4344ad3d207b8774d647c4557..60e6a8e33f77b2ed516192ea4c42809b2f053cf5 100644 (file)
@@ -45,4 +45,5 @@ if [istarget "ia64-*"] then {
     run_dump_test "real"
     run_dump_test "align"
     run_dump_test "order"
+    run_dump_test "global"
 }