swsusp: solving build issue leads to crash on x86-64

From: Pavel Machek
Date: Thu Sep 16 2004 - 15:32:44 EST


Hi!

Do you remember that build issue, where you needed to added ', "aw"'
to make linker happy? Well, too late I found that it breaks swsusp in
quite a ugly way. Try it on x86-64: it works without "aw", breaks with
it.

I'm doing this for now. I'll probably just rewrite assemlby not to
require those variables, but understanding what went wrong there would
be welcome.

# .section .data.nosave, "aw"
.section .data.nosave
.align 8
loop:
.quad 0
loop2:
.quad 0
.previous

Pavel

--
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/