Messages in this thread | | | Subject | Re: [PATCH] kill symbol_get & friends | From | David Woodhouse <> | Date | Thu, 13 Jan 2005 08:42:59 +0000 |
| |
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/
| |