Re: [PATCH] Re: crc32 and lib.a (was Re: [PATCH] nbd in 2.5.3 does

From: David Woodhouse (dwmw2@infradead.org)
Date: Sat Feb 02 2002 - 03:40:11 EST


kaos@ocs.com.au said:
> There is also a problem with exported symbols. To ld, EXPORT_SYMBOL
> looks like a reference to the symbol,

Er, surely that's not a problem at all? This is desired behaviour?

> but the export entry is irrelevant, what really matters is if any module
> refers to those symbols.

Absolutely not. If we mark a symbol EXPORT_SYMBOL, we want it exported. No
questions asked.

The export entry _is_ relevant; furthermore it's the _only_ thing that's
relevant, and there is no way of knowing if there's a module that isn't in
the tree, or maybe even a module that _is_ in the tree but not compiled
today, that needs the symbol in question.

I sincerely hope it's just too early in the morning here and I'm
misunderstanding you :)

--
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/



This archive was generated by hypermail 2b29 : Thu Feb 07 2002 - 21:00:21 EST