Hmm, OK, I'm officially confused: I always connected the two.
> > Note: "extreme reduction" is probably overstating. There are only
> > about 300 lines of linker code in the kernel (x86).
>
> Note that x86 is the easiest possible case.
Of course. And ia64's module.c is about 500 lines (vs 130 for x86).
It's probably the worst case unless Alpha proves to be a complete pig
(note: ia64 might be missing some other stuff, but the linker is
tested).
> You've only got two relocation types, you don't need to worry about
> .got, .plt, .opd allocation, nor sorting sections into a required
> order, nor sorting COMMON symbols.
Hmm, OK, I guess this is where I say "patch welcome"?
Rusty.
-- Anyone who quotes me in their sig is an idiot. -- Rusty Russell. - 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/