OSDN Git Service

PR 4029
authoramodra <amodra>
Wed, 14 Mar 2007 11:04:12 +0000 (11:04 +0000)
committeramodra <amodra>
Wed, 14 Mar 2007 11:04:12 +0000 (11:04 +0000)
* gas/all/relax.s: New.
* gas/all/relax.d: New.
* gas/all/gas.exp: Run it.

gas/testsuite/ChangeLog
gas/testsuite/gas/all/relax.d [new file with mode: 0644]
gas/testsuite/gas/all/relax.s [new file with mode: 0644]

index f13c113..51bf86f 100644 (file)
@@ -1,3 +1,10 @@
+2007-03-14  Alan Modra  <amodra@bigpond.net.au>
+
+       PR 4029
+       * gas/all/relax.s: New.
+       * gas/all/relax.d: New.
+       * gas/all/gas.exp: Run it.
+
 2007-03-11  Hans-Peter Nilsson  <hp@bitrange.com>
 
        * gas/mmix/comment-1.d, gas/mmix/bspec-1.d, gas/mmix/bspec-2.d:
diff --git a/gas/testsuite/gas/all/relax.d b/gas/testsuite/gas/all/relax.d
new file mode 100644 (file)
index 0000000..1e581c2
--- /dev/null
@@ -0,0 +1,13 @@
+#objdump : -s -j .data -j "\$DATA\$"
+#name : relax .uleb128
+
+.*: .*
+
+Contents of section .*
+ 0000 01020381 01000000 00000000 00000000.*
+#...
+ 0080 00000004 ffff0500 06078380 01000000.*
+#...
+ 4080 00000000 00000000 00000008 ffffffff.*
+ 4090 09090909 09090909 09090909 09090909.*
+#pass
diff --git a/gas/testsuite/gas/all/relax.s b/gas/testsuite/gas/all/relax.s
new file mode 100644 (file)
index 0000000..104a895
--- /dev/null
@@ -0,0 +1,20 @@
+ .data
+ .byte 1, 2, 3
+ .uleb128 L2 - L1
+L1:
+ .space 128 - 2
+ .byte 4
+ .p2align 1, 0xff
+L2:
+ .byte 5
+
+ .p2align 2
+ .byte 6, 7
+ .uleb128 L4 - L3
+L3:
+ .space 128*128 - 2
+ .byte 8
+ .p2align 2, 0xff
+L4:
+ .byte 9
+ .p2align 4, 9