Messages in this thread |  | | Date | Sat, 5 Apr 2008 19:52:33 +0200 | From | Heiko Carstens <> | Subject | Re: [RFC 01/22] Generic show_mem() implementation |
| |
On Sat, Apr 05, 2008 at 10:04:03AM +0100, Ralf Baechle wrote: > On Sat, Apr 05, 2008 at 09:51:08AM +0200, Heiko Carstens wrote: > > > But you can solve this problem with no ifdefs and config options at all, > > since you may as well just use __attribute__((weak)) for the generic > > implementation. > > Which may result in the version of the function getting linked in but > staying unreferenced.
Oh, I assumed ld would support -dead_strip in the meantime to get rid of unreferenced functions. Looks like it still doesn't.
|  |