lkml.org 
[lkml]   [2003]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Spelling fixes for 2.5.63 - won't
On Tue, 25 Feb 2003, Brian Gerst wrote:

> Michael Hayes wrote:
> > This fixes:
> > wont -> won't (25 occurrences)
> >
> > diff -ur a/arch/alpha/lib/ev6-stxcpy.S b/arch/alpha/lib/ev6-stxcpy.S
> > --- a/arch/alpha/lib/ev6-stxcpy.S Mon Feb 24 11:05:04 2003
> > +++ b/arch/alpha/lib/ev6-stxcpy.S Tue Feb 25 10:07:59 2003
> > @@ -128,7 +128,7 @@
> > ldq_u t1, 0(a1) # L : load first src word
> > and a0, 7, t0 # E : take care not to load a word ...
> > addq a1, 8, a1 # E :
> > - beq t0, stxcpy_aligned # U : ... if we wont need it (stall)
> > + beq t0, stxcpy_aligned # U : ... if we won't need it (stall)
> >
> > ldq_u t0, 0(a0) # L :
> > br stxcpy_aligned # L0 : Latency=3
>
> Be careful with apostrophes in asm files. Some assemblers will barf on
> them when not in C style comments.
>
> --
> Brian Gerst

Actually, it's gcc that doesn't like that. The assembler works fine:

Script started on Tue Feb 25 22:32:13 2003
# cat xxx.S
foo: xorl %eax,%eax # Don't do this!
ret
# gcc -c -o xxx.o xxx.S
xxx.S:4: unterminated character constant
# as -o xxx.o xxx.S
# exit
exit
Script done on Tue Feb 25 22:35:07 2003

Cheers,
Dick Johnson
Penguin : Linux version 2.4.18 on an i686 machine (797.90 BogoMips).
Why is the government concerned about the lunatic fringe? Think about it.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.043 / U:1.988 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site