Re: [PATCH] C undefined behavior fix

From: Tom Rini (
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)
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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