diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2002-05-23 17:12:49 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2002-05-23 17:12:49 +0000 |
commit | 76101304b176e42e80166afb000379f384967a87 (patch) | |
tree | 6bba8a8d7d32b8e5322a3da994ee24420e031f8c /gas | |
parent | 78eac43ebfb6811bec5f5920134e80c8eb8ec249 (diff) | |
download | gdb-76101304b176e42e80166afb000379f384967a87.zip gdb-76101304b176e42e80166afb000379f384967a87.tar.gz gdb-76101304b176e42e80166afb000379f384967a87.tar.bz2 |
2002-05-23 H.J. Lu <hjl@gnu.org>
* gas/all/align2.d: New.
* gas/all/align2.s: New.
* gas/all/gas.exp: Run align2.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/testsuite/ChangeLog | 7 | ||||
-rw-r--r-- | gas/testsuite/gas/all/align2.d | 9 | ||||
-rw-r--r-- | gas/testsuite/gas/all/align2.s | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/all/gas.exp | 1 |
4 files changed, 19 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 995ee39..99c0286 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2002-05-23 H.J. Lu <hjl@gnu.org> + + * gas/all/align2.d: New. + * gas/all/align2.s: New. + + * gas/all/gas.exp: Run align2. + 2002-05-22 H.J. Lu <hjl@gnu.org> * gas/mips/elf-rel.d: Updated for the subsegs_finish change in diff --git a/gas/testsuite/gas/all/align2.d b/gas/testsuite/gas/all/align2.d new file mode 100644 index 0000000..165ed7f --- /dev/null +++ b/gas/testsuite/gas/all/align2.d @@ -0,0 +1,9 @@ +#objdump: -s -j .text +#name: align2 + +# Test the section alignment. + +.*: .* + +Contents of section .text: + 0000 ff[ 0-9a-fA-F]*[ ]+.* diff --git a/gas/testsuite/gas/all/align2.s b/gas/testsuite/gas/all/align2.s new file mode 100644 index 0000000..106811d --- /dev/null +++ b/gas/testsuite/gas/all/align2.s @@ -0,0 +1,2 @@ + .p2align 4,0 + .byte 0xff diff --git a/gas/testsuite/gas/all/gas.exp b/gas/testsuite/gas/all/gas.exp index 683c746..8720665 100644 --- a/gas/testsuite/gas/all/gas.exp +++ b/gas/testsuite/gas/all/gas.exp @@ -107,6 +107,7 @@ case $target_triplet in { default { run_dump_test struct run_dump_test align + run_dump_test align2 } } |