Richard Henderson wrote:
On Tue, Nov 02, 1999 at 07:24:09PM +0000, Peter Rival wrote:
>         "       stl_c %1,6f\n"
>         "6:\n"

Look close and think carefully.

You shouldn't be storing to a label, but instead to %0.
 

Oh my God, I'm a moron.  I was reading from something I had scratched together earlier and the paper was at an angle and I combined the stl_c with the following beq and came up with junk.

After feeling stupid (and grabbing more coffee) I fixed it up as shown but now I still get the second error:

[frival@av8r kernel]$ gcc -D__KERNEL__ -I/home/frival/lockwork/linux-2.3.22/include -Wall -Wstrict-prototypes -O2 -fno-strict-aliasing -D__SMP__ -pipe -mno-fp-regs -ffixed-8   -c lockmeter.c -o lockmeter.o
{standard input}: Assembler messages:
{standard input}:655: Internal error!
Assertion failure in alpha_align at ./config/tc-alpha.c line 4518.
Please report this bug.

Where this is what we see:

        mov $2,$1
        stl_c $2,0($16)
        beq $2,6f
        mb
.section .text2,"ax"
6:
.previous
        addl $1,$31,$1    <-- Line 655
        beq $1,$L944
        ldq $16,16($30)
        bis $31,$31,$18
        bsr $26,$lstat_update..ng
        br $31,$L943
$L944:
        rpcc $1

Is this an "upgrade to GCC 2.95" thing, or is something else wrong?  This is a "stock" RH6.1 installed system.

 - Pete