Priya (snailkarma@xxxxxxxxx) wrote: > How can I find out if a variable is in the data or bss segment from > the vmlinux image? > Apologies if an obvious question. :( > > thanks, It should have a really better solution, but I think you could find it with readelf. objdump -t vmlinux or more funny : readelf -S vmlinuz to locate the section. And readelf -s vmlinux | grep ".*: cxyv.*$" Perhaps I say mistakes ;) ~Christophe -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/