The linker map file and LTO

Visda.Vokhshoori@microchip.com Visda.Vokhshoori@microchip.com
Fri Oct 16 02:03:54 GMT 2020


Hello,

I have an application that is being compiled and linked with LTO option and –param lto-partition=1.  The .text section of the map file only provides size.  It doesn’t provide the content of the .text section, ie function names.

Is this by design?  Is there a way to force the content to be printed to the .text section in the map file?

Thanks,
Visda


More information about the Gcc-help mailing list