gentoo-ebuilds/profiles/default/linux/loong/23.0/make.defaults
Sam James 73a0dd3bbe
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>
2025-05-07 09:59:01 +01:00

1 line
62 B
Text

LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"