This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
remove all exported symbols from GCC win32 miniperl
authorDaniel Dragan <bulk88@hotmail.com>
Thu, 15 Mar 2018 00:11:51 +0000 (20:11 -0400)
committerSteve Hay <steve.m.hay@googlemail.com>
Tue, 24 Jul 2018 19:27:15 +0000 (20:27 +0100)
commit1b8087669a629fe6609ffdb013f803caba73bf6a
treefe5423bea591e26964639977c223061091e3b2bc
parent3d50648cc4f452d51a0564164a214e51dd6aad95
remove all exported symbols from GCC win32 miniperl

Similar to commit a19baa613 and same reasoning. Makes binary smaller/more
chances for optimization but mingw linker is still much less smart than
the VC linker.

Remaining problems are that GCC miniperl.exe still links to WS2_32.dll
(winsock library) yet the win32_* socket functions have nothing calling
them.

GCC 4.9.2 i686-w64-mingw32

miniperl.exe 1660KB before this no exports commit
miniperl.exe 1584KB after this no exports commit
EXTERN.h
INTERN.h
win32/win32.h