Arthur Eubanks 46085d8f83
[lld/ELF][x86-64] Place large executable sections at the edges of binary (#70358)
So that when mixing small and large text, large text stays out of the
way of the rest of the binary.

Place large RX sections at the beginning rather than at the end so that
with `--no-rosegment`, the large text and rodata share a single PT_LOAD
segment. Place large RWX sections at the end to keep writable and
readonly sections separate.

Clang started emitting the large section flag for `.ltext` sections in
#73037.
2025-06-12 11:41:16 -07:00
..
2025-06-09 15:52:37 -07:00
2025-05-28 20:56:13 -07:00

See docs/NewLLD.rst