D-Programming-GDC/GDC — pull request #15 by venix1 (2012-05-30 00:57:34+00:00)
Title: Output thunks for DECL_EXTERNAL functions.

Related to

https://bitbucket.org/goshawk/gdc/issue/284

Rationale:

cgraphunit.c(assemble_thunk) is responsible for outputting thunks.

As of 4.8 this will never be called for external functions so it must be done manually.

The changes made here mirror the function.