[PATCH] LoongArch: Use medium cmodel build libc_nonshared.a.

Florian Weimer fweimer@redhat.com
Wed Nov 30 07:40:43 GMT 2022


* Xi Ruoyao:

> On Wed, 2022-11-23 at 11:31 +0100, Florian Weimer wrote:
>> But shouldn't the medium model be the GCC default if it is required for
>> building applications?
>
> Small code model can support a 128MiB .text section, and most
> applications have a .text section < 128MiB.  But Firefox libxul.so can
> be extremely large.
>
> It's not worthy to pay the cost everywhere just for satisfying a
> monster application.

I see, I wasn't aware that the limit was that large.

Thanks,
Florian



More information about the Libc-alpha mailing list