From: Jeff Law Date: Wed, 29 Dec 1993 19:37:20 +0000 (+0000) Subject: * gas/hppa/more.parse/labelbug.s: Add more colonless label X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=88b245830aa4d4872ed49bf7768e90f06f9a2c68;p=binutils-gdb.git * gas/hppa/more.parse/labelbug.s: Add more colonless label tests. --- diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 4d99bdeb607..4d0f3274ea8 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 783c27d1c91..d8479c64901 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 783c27d1c91..d8479c64901 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