Messages in this thread | | | Date | Wed, 2 Jan 2002 15:50:04 -0700 | From | Tom Rini <> | Subject | Re: [PATCH] C undefined behavior fix |
| |
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/
| |