tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: GPIO revisited



> > Also, any reason why these are not static?
> 
> While it certainly can make sense to declare functions static in some  
> userland programs for the sole reason to include a command in a  
> crunched binary, it does not make sense in kernel code; much to the  
> contrary, it makes debugging harder.

In kernel, local symbols are still preserved and they can be
shown on backtrace (unless they are inlined) because kernels are
linked by ld(1) with -X (not -x) on most ports.

---
Izumi Tsutsui


Home | Main Index | Thread Index | Old Index