* Bypass assembler when generating LTO object files
@ 2022-12-18 18:20 Mohamed Atef
2023-01-09 18:13 ` Martin Jambor
0 siblings, 1 reply; 2+ messages in thread
From: Mohamed Atef @ 2022-12-18 18:20 UTC (permalink / raw)
To: gcc, Martin Jambor, Jakub Jelinek
[-- Attachment #1: Type: text/plain, Size: 173 bytes --]
Hello,
I am interested in working in this project during my free time, is
understanding this https://gcc.gnu.org/wiki/LinkTimeOptimization
A good starting point
Mohamed
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Bypass assembler when generating LTO object files
2022-12-18 18:20 Bypass assembler when generating LTO object files Mohamed Atef
@ 2023-01-09 18:13 ` Martin Jambor
0 siblings, 0 replies; 2+ messages in thread
From: Martin Jambor @ 2023-01-09 18:13 UTC (permalink / raw)
To: Mohamed Atef; +Cc: GCC Mailing List, Jan Hubicka
Hello,
On Sun, Dec 18 2022, Mohamed Atef wrote:
> Hello,
> I am interested in working in this project during my free time, is
> understanding this https://gcc.gnu.org/wiki/LinkTimeOptimization
> A good starting point
That section of the Wiki is very old. You may find bits there that are
still valid and relevant, but I would be actually a bit careful with
that content.
If you're looking for high-level overview of LTO, unfortunately I can
only recommend videos:
- Honza's "Building openSUSE with GCC's link time optimization"
https://events.opensuse.org/conferences/oSC18/program/proposals/1846#2
- my "Interprodecural optimizations in GCC"
https://www.youtube.com/watch?v=oQ71ZbOuSW4
(the first 12 minutes or so, the rest is then about optimizations)
For the task specifically, the patch from 2014
https://gcc.gnu.org/legacy-ml/gcc/2014-09/msg00340.html is still a good
starting point, even if not a very clear one. The crux of the matter is
to enhance libiberty/simple-object*.[ch] to be able to create elf from
scratch (as opposed to modifying an existing one). So look there too.
If you have any questions, feel free to ask.
Good luck,
Martin
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-01-09 18:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-18 18:20 Bypass assembler when generating LTO object files Mohamed Atef
2023-01-09 18:13 ` Martin Jambor
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).