* testsuite/gas/gasp/*: New.
+Mon Jul 31 18:19:26 1995 steve chamberlain <sac@slash.cygnus.com>
+
+ * gasp.c (change_base): Don't modify numbers in strings. (pr7583)
+ * testsuite/gas/gasp/*: New.
+
Mon Jul 31 12:16:21 1995 Ian Lance Taylor <ian@cygnus.com>
* config/tc-ppc.h (SUB_SEGMENT_ALIGN): Define. From Niclas
idx++;
}
}
+ else if (in->ptr[idx] == '"' || in->ptr[idx] == '\'')
+ {
+ char tchar = in->ptr[idx];
+ /* copy entire names through quickly */
+ sb_add_char (out, in->ptr[idx]);
+ idx++;
+ while (idx < in->len && in->ptr[idx] != tchar)
+ {
+ sb_add_char (out, in->ptr[idx]);
+ idx++;
+ }
+ }
else
{
/* nothing special, just pass it through */
all
alpha
arm
+gasp
h8300
hppa
i386
--- /dev/null
+# Sanitize.in for devo.
+# $Id$
+#
+
+# Each directory to survive it's way into a release will need a file
+# like this one called "./.Sanitize". All keyword lines must exist,
+# and must exist in the order specified by this file. Each directory
+# in the tree will be processed, top down, in the following order.
+
+# Hash started lines like this one are comments and will be deleted
+# before anything else is done. Blank lines will also be squashed
+# out.
+
+# The lines between the "Do-first:" line and the "Things-to-keep:"
+# line are executed as a /bin/sh shell script before anything else is
+# done in this
+
+Do-first:
+
+
+# All files listed between the "Things-to-keep:" line and the
+# "Files-to-sed:" line will be kept. All other files will be removed.
+# Directories listed in this section will have their own Sanitize
+# called. Directories not listed will be removed in their entirety
+# with rm -rf.
+
+Things-to-keep:
+
+assign.asm
+assign.err
+assign.out
+gasp.exp
+pr7583.asm
+pr7583.out
+
+Things-to-lose:
+
+Do-last:
+
+# End of file.
--- /dev/null
+
+foo: .ASSIGNC "hello"
+BAR: .ASSIGNA 12+34
+
+ \&foo'foo
+ \&foo\&foo\&foo
+ \&foo \&foo \&foo
+ \&BAR\&bar\&BAR
+
+
+
+
+ .END
--- /dev/null
+assign.asm:8 Can't find preprocessor variable bar.
--- /dev/null
+!
+
+!foo: .ASSIGNC "hello"
+!BAR: .ASSIGNA 12+34
+!
+
+! \&foo'foo
+ hellofoo
+! \&foo\&foo\&foo
+ hellohellohello
+! \&foo \&foo \&foo
+ hello hello hello
+! \&BAR\&bar\&BAR
+ 4646
+!
+
+!
+
+!
+
+!
+! .END
--- /dev/null
+
+proc gasp_test { testname } {
+ global GASP
+ global srcdir
+
+ send_log "$srcdir/lib/run $GASP -s $testname.asm -o gasp.out \n"
+ catch "exec $srcdir/lib/run $GASP -s $testname.asm -o gasp.out" errs
+ catch "exec diff gasp.out $testname.out" diffs
+ if ![string match "" $diffs] {
+ send_log "$diffs\n"
+ verbose $diffs
+ fail $testname
+ send_log "exec cat gasp.out"
+ return 0
+ } else {
+ pass $testname
+ }
+
+}
+
+
+
+foreach src [ lsort [ glob $srcdir/gas/gasp/*.asm ] ] {
+ regsub -all ".asm" $src "" t
+ gasp_test $t
+}
+
+
+# FIXME: this is here cause of a bug in DejaGnu 1.1.1. When it is no longer
+# in use, then this can be removed.
+if [info exists errorInfo] then {
+ unset errorInfo
+}
--- /dev/null
+
+ .sdata "v1.0000"
+ .end
--- /dev/null
+!
+
+! .sdata "v1.0000"
+ .byte 118,49,46,48,48,48,48
+! .end