diff options
author | Jeff Law <law@redhat.com> | 1993-12-29 19:37:20 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1993-12-29 19:37:20 +0000 |
commit | 88b245830aa4d4872ed49bf7768e90f06f9a2c68 (patch) | |
tree | 963f87362b2c1a07a7fbf6e9c6fa684b25acc32b /gas | |
parent | 001581c7842a4ebf24cf0b6796d8b3f10d4c16f3 (diff) | |
download | gdb-88b245830aa4d4872ed49bf7768e90f06f9a2c68.zip gdb-88b245830aa4d4872ed49bf7768e90f06f9a2c68.tar.gz gdb-88b245830aa4d4872ed49bf7768e90f06f9a2c68.tar.bz2 |
* gas/hppa/more.parse/labelbug.s: Add more colonless label
tests.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/testsuite/ChangeLog | 14 | ||||
-rw-r--r-- | gas/testsuite/gas/hppa/more.parse/labelbug.s | 17 | ||||
-rw-r--r-- | gas/testsuite/gas/hppa/parse/labelbug.s | 17 |
3 files changed, 48 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 4d99bde..4d0f327 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,17 @@ +Wed Dec 29 11:32:39 1993 Jeffrey A. Law (law@snake.cs.utah.edu) + + * gas/hppa/more.parse/labelbug.s: Add more colonless label tests. + +Wed Dec 15 08:24:31 1993 Ken Raeburn (raeburn@rtl.cygnus.com) + + * Makefile.in (site.exp): Don't set ASFLAGS. Quote value of + OBJDUMPFLAGS in case it's empty. Use temporary names until the + end; make creating site.exp the final step. + (check): Pass in ASFLAGS. + + * gas/all/gas.exp: Use all_ones proc. Change regexp for matching + C comments to avoid bugs in latest expect code. + Wed Dec 8 14:30:14 1993 Jeffrey A. Law (law@snake.cs.utah.edu) * gas/m68k/disperr.s: New test. diff --git a/gas/testsuite/gas/hppa/more.parse/labelbug.s b/gas/testsuite/gas/hppa/more.parse/labelbug.s index 783c27d..d8479c6 100644 --- a/gas/testsuite/gas/hppa/more.parse/labelbug.s +++ b/gas/testsuite/gas/hppa/more.parse/labelbug.s @@ -14,5 +14,22 @@ label_without_colon label_with_colon: +; A problem tege found... +; Input scrubbing in gas makes life a real nightmare for assemblers +; in which the *position* within a line determines how to interpret +; a stream a characters. These test one particular case where gas +; had the tendency to delete the whitespace between the opcode and +; operands if a label without a colon began a line, and the operands +; started with a non-numeric character. +L$1 add %r2,%r2,%r2 +L$2: add %r2,%r2,%r2 +L$3 + add %r2,%r2,%r2 + +L$4 add 2,%r2,%r2 +L$5: add 2,%r2,%r2 +L$6 + add 2,%r2,%r2 + ; An instruction or pseudo-op may begin anywhere after column 0. b,n label_without_colon diff --git a/gas/testsuite/gas/hppa/parse/labelbug.s b/gas/testsuite/gas/hppa/parse/labelbug.s index 783c27d..d8479c6 100644 --- a/gas/testsuite/gas/hppa/parse/labelbug.s +++ b/gas/testsuite/gas/hppa/parse/labelbug.s @@ -14,5 +14,22 @@ label_without_colon label_with_colon: +; A problem tege found... +; Input scrubbing in gas makes life a real nightmare for assemblers +; in which the *position* within a line determines how to interpret +; a stream a characters. These test one particular case where gas +; had the tendency to delete the whitespace between the opcode and +; operands if a label without a colon began a line, and the operands +; started with a non-numeric character. +L$1 add %r2,%r2,%r2 +L$2: add %r2,%r2,%r2 +L$3 + add %r2,%r2,%r2 + +L$4 add 2,%r2,%r2 +L$5: add 2,%r2,%r2 +L$6 + add 2,%r2,%r2 + ; An instruction or pseudo-op may begin anywhere after column 0. b,n label_without_colon |