linux - Why System.map does not have any entries for initialized data section for small objects (global) -


i sure there many global variables in linux kernel, wonder why system.map file doesn't have global symbols.

thanks, -hitesh.

i not understand question. mean global variables in source code must have it's address made visible user space? not needed i'm sure unless writing own piece of code , need debugging purposes.

system.map contains exported symbols. of these symbols exported implicitly due nature of declaration. when system call declared 'asmlinkage' it's address show in file. there may other tags implicitly or 1 can use export_symbol macro export symbol.

perhaps can list exhaustive list of such implicit ways symbol gets exported.


Comments

Popular posts from this blog

java - How to specify maven bin in eclipse maven plugin? -

single sign on - Logging into Plone site with credentials passed through HTTP -

php - Why does AJAX not process login form? -