diff options
Diffstat (limited to 'gas')
-rw-r--r-- | gas/testsuite/ChangeLog | 7 | ||||
-rw-r--r-- | gas/testsuite/gas/all/relax.d | 13 | ||||
-rw-r--r-- | gas/testsuite/gas/all/relax.s | 20 |
3 files changed, 40 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index f13c113..51bf86f 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -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 index 0000000..1e581c2 --- /dev/null +++ b/gas/testsuite/gas/all/relax.d @@ -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 index 0000000..104a895 --- /dev/null +++ b/gas/testsuite/gas/all/relax.s @@ -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 |