Re: [PATCH] C undefined behavior fix

From: Tom Rini (trini@kernel.crashing.org)
Date: Wed Jan 02 2002 - 17:50:04 EST


On Wed, Jan 02, 2002 at 02:44:35PM -0800, Richard Henderson wrote:
> On Wed, Jan 02, 2002 at 03:35:57PM -0700, Tom Rini wrote:
> > That's not really an option.
>
> Oh come on. It shouldn't take very much code at all to properly
> relocate the binary. You can use either -fpic or -mrelocatable
> to get hold of the set of addresses in question.

Have you looked at all of the code in question? We're doing a lot of things
before we properly relocate ourself. And as long as things aren't being
optimized away, it just works.

And the other thing is if we want gcc-3.0 to produce a good kernel on
PPC in 2.4.x, the kernel-side changes should be as minimal as possible.

-- 
Tom Rini (TR1265)
http://gate.crashing.org/~trini/
-
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/



This archive was generated by hypermail 2b29 : Mon Jan 07 2002 - 21:00:18 EST