Maybe, but the test cases are very big (nwfs or in my case the whole
kernel). Of course you could test for the particular missing relocation
that was tracked down, but that would be probably fragile because it could
move with code changes. Generating a reliable test would require full
understanding of the bug (and that would probably lead to a fix)
It would be better just to fix the bug in the linker and check the version
number :-)
> Changing the spinlock code is IMHO not a solution: we rely on
> .text.somewhere_else very often (spinlock, semaphore, exception handler
> table, init functions, initcall,...)
I agree.
In the automatic sysctl code it is needed too (no more ugly register_sysctl,
but automatic initialisation from a segment like in BSD)
-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/