From 76101304b176e42e80166afb000379f384967a87 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Thu, 23 May 2002 17:12:49 +0000 Subject: [PATCH] 2002-05-23 H.J. Lu * gas/all/align2.d: New. * gas/all/align2.s: New. * gas/all/gas.exp: Run align2. --- gas/testsuite/ChangeLog | 7 +++++++ gas/testsuite/gas/all/align2.d | 9 +++++++++ gas/testsuite/gas/all/align2.s | 2 ++ gas/testsuite/gas/all/gas.exp | 1 + 4 files changed, 19 insertions(+) create mode 100644 gas/testsuite/gas/all/align2.d create mode 100644 gas/testsuite/gas/all/align2.s diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 995ee396712..99c0286081d 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2002-05-23 H.J. Lu + + * gas/all/align2.d: New. + * gas/all/align2.s: New. + + * gas/all/gas.exp: Run align2. + 2002-05-22 H.J. Lu * 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 00000000000..165ed7f7f92 --- /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 00000000000..106811dc628 --- /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 683c7461d23..8720665a6a4 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 } } -- 2.30.2