In wscript (directory bootloader) line 292 add
ctx.env.append_value('LDFLAGS', "/MAP")
It must give you something like that :
if ctx.env.DEST_OS == 'win32' and ctx.env.CC_NAME == 'msvc':
# Set msvc linkflags based on architecture.
if ctx.env.PYI_ARCH == '32bit':
ctx.env.append_value('LDFLAGS', "/MAP")
ctx.env['MSVC_TARGETS'] = ['x86']
ctx.env.append_value('LINKFLAGS', '/MACHINE:X86')
# Set LARGE_ADDRESS_AWARE_FLAG to True.
# On Windows this allows 32bit apps to use 4GB of memory and
ctx.env.append_value('LINKFLAGS', '/LARGEADDRESSAWARE')
elif ctx.env.PYI_ARCH == '64bit':
ctx.env.append_value('LDFLAGS', "/MAP")
ctx.env['MSVC_TARGETS'] = ['x64']
ctx.env.append_value('LINKFLAGS', '/MACHINE:X64')
Just compile bootloader again with MSVC (Microsoft Visual C++ Compiler) and replace the executable in the PyInstaller folder.