On Thu, Apr 27, 2023 at 5:47 PM Fangrui Song <mask...@google.com> wrote: > > When using -mcmodel=medium, large data is placed into .l* sections. GNU ld > places .l* sections into separate output sections. If small and medium > code model object files are mixed, the .l* sections won't cause > relocation overflow pressure on sections in -mcmodel=small object files. > > However, when using -mcmodel=large, -mlarge-data-threshold doesn't apply. > This > means that the .rodata/.data/.bss sections may cause relocation overflow > pressure on sections in -mcmodel=small object files. > > This patch allows -mcmodel=large to generate .l* sections. > > Signed-off-by: Fangrui Song <mask...@google.com> > --- > [...]
Ping https://gcc.gnu.org/pipermail/gcc-patches/2023-April/616947.html :)