Quote:
Originally Posted by twobob
hmmm... I see. Interesting stuff. and utterly beyond my comprehension.
|
static const char __mod_vermagic5[] __attribute__((__used__)) __attribute__((section(".modinfo"),unused)) = "vermagic" "=" "2.6.26.8-rt16-lab126" " " "" "" "mod_unload " "modversions " "ARMv" "6" " ";
means
"An initialized constant char array variable named __mod_vermagic5, symbol named "vermagic", in the .modinfo section, included even if unused, we declare that it is used even if it doesn't seem to be, contents "2.6.26.8-rt16-lab126mod_unloadmodversionsARMv6 "."
The significance of that content is that it includes, uh, not everything, but *most* things that might make this kernel ABI-incompatible with other kernels, so that you can compare the contents of this section in a module with the content of the same in the kernel to see if they might be compatible.
This is very definitely a kludge: lots of things can cause ABI incompatibilities which are not included in that string, but everything in the string is relatively certain to, except perhaps minor changes to the version number (but there's no way to tell if a core kernel change didn't change some structure somewhere, so best to rule such changes out too).