From 73a0dd3bbee2dd5280d0c7aaa82fe71176b1b0e0 Mon Sep 17 00:00:00 2001 From: Sam James Date: Fri, 2 May 2025 06:47:13 +0100 Subject: [PATCH] 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 57250bdaec26224add7447e8d439d75960645737 and fac51cc9370713f6b2764e8e03ee2ff8d652c3af). Bug: https://bugs.gentoo.org/818376 Acked-by: WANG Xuerui Signed-off-by: Sam James Part-of: https://github.com/gentoo/gentoo/pull/41893 Closes: https://github.com/gentoo/gentoo/pull/41893 Signed-off-by: Sam James --- profiles/default/linux/loong/23.0/make.defaults | 1 + 1 file changed, 1 insertion(+) create mode 100644 profiles/default/linux/loong/23.0/make.defaults diff --git a/profiles/default/linux/loong/23.0/make.defaults b/profiles/default/linux/loong/23.0/make.defaults new file mode 100644 index 0000000000000..8fe4a1e300f60 --- /dev/null +++ b/profiles/default/linux/loong/23.0/make.defaults @@ -0,0 +1 @@ +LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"