This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
FAIL: strings
- To: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- Subject: FAIL: strings
- From: Ulf Carlsson <ulfc at calypso dot engr dot sgi dot com>
- Date: Fri, 16 Jun 2000 21:35:32 -0700 (PDT)
- Cc: binutils at sourceware dot cygnus dot com
- References: <200006170347.XAA23384@hiauly1.hia.nrc.ca>
Hi John,
> The gas test "strings" fails with todays CVS source under hpux 10.20:
>
> ./as-new -o dump.o
> /xxx/gnu/binutils-2.9.5/gas/testsuite/gas/macros/strings.s
> /xxx/gnu/binutils-2.9.5/gas/testsuite/gas/macros/strings.s:
> Assembler messages:
> /xxx/gnu/binutils-2.9.5/gas/testsuite/gas/macros/strings.s:1: Fatal
> error: Not i n a space.
>
> FAIL: strings
Please try the appended patch and tell me whether it works. I'm not
sure what's going on since I couldn't test it. I didn't manage to
build the hppa binutils for some reason. Has anyone built this on
i386 lately?
Ulf
2000-06-16 Ulf Carlsson <ulfc@engr.sgi.com>
* config/tc-hppa.c (pa_stringer): Do not incorrectly skip over the
first character.
Index: tc-hppa.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-hppa.c,v
retrieving revision 1.57
diff -p -r1.57 tc-hppa.c
*** tc-hppa.c 2000/06/14 02:58:49 1.57
--- tc-hppa.c 2000/06/17 04:28:03
*************** pa_stringer (append_zero)
*** 8020,8028 ****
For example, \xDD where DD is a hexidecimal number should be
changed to \OOO where OOO is an octal number. */
- /* Skip the opening quote. */
- s = input_line_pointer + 1;
-
while (is_a_char (c = pa_stringer_aux (s++)))
{
if (c == '\\')
--- 8020,8025 ----