* The linker map file and LTO
@ 2020-10-16 2:03 Visda.Vokhshoori
2020-10-16 14:12 ` Dan Kegel
0 siblings, 1 reply; 3+ messages in thread
From: Visda.Vokhshoori @ 2020-10-16 2:03 UTC (permalink / raw)
To: gcc-help
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: The linker map file and LTO
2020-10-16 2:03 The linker map file and LTO Visda.Vokhshoori
@ 2020-10-16 14:12 ` Dan Kegel
2020-10-16 14:18 ` Visda.Vokhshoori
0 siblings, 1 reply; 3+ messages in thread
From: Dan Kegel @ 2020-10-16 14:12 UTC (permalink / raw)
To: Visda.Vokhshoori; +Cc: gcc-help
Is this related to the -g trouble with lto?
https://stackoverflow.com/questions/40743372/gcc-lto-appears-to-strip-debugging-symbols
Visda Vokhshoori via Gcc-help <gcc-help@gcc.gnu.org> schrieb am Do., 15.
Okt. 2020, 19:04:
> 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
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: The linker map file and LTO
2020-10-16 14:12 ` Dan Kegel
@ 2020-10-16 14:18 ` Visda.Vokhshoori
0 siblings, 0 replies; 3+ messages in thread
From: Visda.Vokhshoori @ 2020-10-16 14:18 UTC (permalink / raw)
To: dank; +Cc: gcc-help
No. This is not related to -g and lto.
Thanks,
Visda
From: Dan Kegel <dank@kegel.com>
Date: Friday, October 16, 2020 at 10:12 AM
To: Visda Vokhshoori - C51841 <Visda.Vokhshoori@microchip.com>
Cc: gcc-help <gcc-help@gcc.gnu.org>
Subject: Re: The linker map file and LTO
EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
Is this related to the -g trouble with lto?
https://stackoverflow.com/questions/40743372/gcc-lto-appears-to-strip-debugging-symbols
Visda Vokhshoori via Gcc-help <gcc-help@gcc.gnu.org<mailto:gcc-help@gcc.gnu.org>> schrieb am Do., 15. Okt. 2020, 19:04:
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-10-16 14:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-16 2:03 The linker map file and LTO Visda.Vokhshoori
2020-10-16 14:12 ` Dan Kegel
2020-10-16 14:18 ` Visda.Vokhshoori
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).