mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 14:59:39 +02:00
This patch rewrites the Building a shared library section in the gm2.texi. The new content addresses the default dynamic module scaffold and also provides an example of C++ calling the m2 shared library. Bootstrapped using lto on amd64. gcc/ChangeLog: PR modula2/120189 * doc/gm2.texi (Building a shared library): Rewrite. libgm2/ChangeLog: PR modula2/120189 * libm2iso/m2rts.h (m2iso_M2RTS_RequestDependant): Correct parameters. (m2iso_M2RTS_ConstructModules): Ditto. (m2iso_M2RTS_DeconstructModules): Ditto. Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>