From: Fangrui Song <i@maskray.me>
To: binutils@sourceware.org
Subject: ld: extensions to the internal linker script
Date: Wed, 16 Sep 2020 23:08:22 -0700 [thread overview]
Message-ID: <20200917060822.f57tyn6eb3xmr4ph@gmail.com> (raw)
Hi, I filed a ticket about potential syntax for extending the internal
linker script (providing some SECTIONS fragments instead of the full
external linker script): https://sourceware.org/bugzilla/show_bug.cgi?id=26404
I am curious about your thoughts and suggested syntax on the feature.
IIUC, GCC wants to introduce some call graph profiling (ipa-reorder) features. If such
an extension exists, users don't have to upgrade binutils to have
*(SORT(.text.sorted.*)) in the output section .text
GCC can provide such a linker script with such a SECTIONS fragment.
reply other threads:[~2020-09-17 6:08 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200917060822.f57tyn6eb3xmr4ph@gmail.com \
--to=i@maskray.me \
--cc=binutils@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).