lkml.org 
[lkml]   [2005]   [Jan]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] kill symbol_get & friends
From
Date
On Thu, 2005-01-13 at 11:59 +1100, Dave Airlie wrote:
> what weak symbol support? can I actually use gcc weak symbols and have
> it all work?

Weak undefined symbols used to work, certainly. The MTD code used them
for a while, before kaos imposed the inter_module_crap on it despite my
objections.

> what happens if the module goes away?

If another module is using a weak symbol, IIRC the module providing the
symbol _can't_ go away. I could be wrong -- I didn't use that
functionality. I was using get_symbol() and I added put_symbol() so I
could explicitly refcount it.

--
dwmw2


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:09    [W:0.090 / U:0.552 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site