From 60e36671ef86f1f1a2387ec751ece0fce6a06b23 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 9 Aug 1995 19:38:01 +0000 Subject: [PATCH] * gas/all/struct.s, gas/all/struct.d: New test. * gas/all/gas.exp: Run it. --- gas/testsuite/ChangeLog | 5 +++++ gas/testsuite/gas/all/.Sanitize | 2 ++ gas/testsuite/gas/all/struct.d | 8 ++++++++ gas/testsuite/gas/all/struct.s | 10 ++++++++++ 4 files changed, 25 insertions(+) create mode 100644 gas/testsuite/gas/all/struct.d create mode 100644 gas/testsuite/gas/all/struct.s diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 37041ff..c866368 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,8 @@ +Wed Aug 9 15:34:36 1995 Ian Lance Taylor + + * gas/all/struct.s, gas/all/struct.d: New test. + * gas/all/gas.exp: Run it. + Tue Aug 8 17:11:39 1995 Ian Lance Taylor * gas/mri/common.s, gas/mri/common.d: New test. diff --git a/gas/testsuite/gas/all/.Sanitize b/gas/testsuite/gas/all/.Sanitize index f5a05b4..6188819 100644 --- a/gas/testsuite/gas/all/.Sanitize +++ b/gas/testsuite/gas/all/.Sanitize @@ -32,6 +32,8 @@ diff1.s float.s p1480.s p2425.s +struct.d +struct.s x930509.s Things-to-lose: diff --git a/gas/testsuite/gas/all/struct.d b/gas/testsuite/gas/all/struct.d new file mode 100644 index 0000000..8dc5dd4 --- /dev/null +++ b/gas/testsuite/gas/all/struct.d @@ -0,0 +1,8 @@ +#nm: --extern-only +#name: struct + +# Test the .struct pseudo-op. + +0+00 A w1 +0+02 A w2 +0+04 A w3 diff --git a/gas/testsuite/gas/all/struct.s b/gas/testsuite/gas/all/struct.s new file mode 100644 index 0000000..1bec008 --- /dev/null +++ b/gas/testsuite/gas/all/struct.s @@ -0,0 +1,10 @@ + .globl w1 + .globl w2 + .globl w3 + .long 0 + .struct 0 +w1: .word 0 +w2: .word 0 +w3: .word 0 + .text + .long 0 -- 2.7.4