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

Florian Weimer fweimer@redhat.com
Wed Nov 23 10:31:09 GMT 2022


> From: Chenghua Xu <xuchenghua@loongson.cn>
>
> This patch is used to fix address out-of-bounds error when building
> firefox.

The .c files shouldn't be necessary.  The CFLAGS additions should
perhaps be made subdirectory-specific.  And I think these days,
libc_nonshared.a is much, much small (and we could size it down even
further).

But shouldn't the medium model be the GCC default if it is required for
building applications?

Thanks,
Florian



More information about the Libc-alpha mailing list