public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* ld: extensions to the internal linker script
@ 2020-09-17  6:08 Fangrui Song
  0 siblings, 0 replies; only message in thread
From: Fangrui Song @ 2020-09-17  6:08 UTC (permalink / raw)
  To: binutils

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-09-17  6:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-17  6:08 ld: extensions to the internal linker script Fangrui Song

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).