profiles/default/linux/loong/23.0: enable DT_RELR

binutils supports this since d89ecf33ab6dd86290b43dc3751d66f263614e68 which
is in >=2.43.

The intention was always to enable this for all supported arches, we just
had to drop it temporarily in some places (see 57250bdaec
and fac51cc937).

Bug: https://bugs.gentoo.org/818376
Acked-by: WANG Xuerui <xen0n@gentoo.org>
Signed-off-by: Sam James <sam@gentoo.org>
Part-of: https://github.com/gentoo/gentoo/pull/41893
Closes: https://github.com/gentoo/gentoo/pull/41893
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2025-05-02 06:47:13 +01:00
parent 6bf6168b21
commit 73a0dd3bbe

View File

@@ -0,0 +1 @@
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"