Re: [uml-devel] arch/um/sys-i386/setjmp.S: useless #ifdef _REGPARM's?

From: Jeff Dike
Date: Mon Aug 28 2006 - 16:35:30 EST


On Sat, Aug 26, 2006 at 12:56:36PM +0200, Blaisorblade wrote:
> Can anybody explain me how can we use REGPARM if we have to link with host
> glibc?

Umm, yeah, good point. This regparam behavior is different from the old
behavior, where regparam functions had to be declared as such.

However, this is a potential problem with all regparam users, who all
presumably use libc, so I'd imagine it works somehow.

> If we are going to use klibc instead of glibc that's ok (and this is not the
> case I'm talking about), but I do not know that plan (and nobody discussed
> the implications).

I've been idly considering that, but it's no more than idle consideration
right now.

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