Module Name: src Committed By: pgoyette Date: Fri Dec 28 21:51:49 UTC 2018
Modified Files: src/doc: TODO.modules Log Message: Expand the weak-symbol section to mention module unload issues. As noted by martin@ on source-chages-d list. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/doc/TODO.modules Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/doc/TODO.modules diff -u src/doc/TODO.modules:1.17 src/doc/TODO.modules:1.18 --- src/doc/TODO.modules:1.17 Fri Dec 28 21:37:56 2018 +++ src/doc/TODO.modules Fri Dec 28 21:51:49 2018 @@ -1,4 +1,4 @@ -/* $NetBSD: TODO.modules,v 1.17 2018/12/28 21:37:56 pgoyette Exp $ */ +/* $NetBSD: TODO.modules,v 1.18 2018/12/28 21:51:49 pgoyette Exp $ */ Some notes on the limitations of our current (as of 7.99.35) module subsystem. This list was triggered by an Email exchange between @@ -208,3 +208,7 @@ christos and pgoyette. module A, the symbol gets resolved. But if module A is loaded first, the symbol won't be resolved. If we subsequently load module B, we would have to "go back" and re-run the linker for module A. + + Additional difficulties arise when the module which defines the + weak symbol gets unloaded. Then, you would need to re-run the + linker and _unresolve_ the weak symbol which is no longer defined.