This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

FAIL: strings


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 ----

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]