commit:     6bf6168b21255e068510f4982b228a28ca2df7a8
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri May  2 05:46:00 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed May  7 08:59:01 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bf6168b

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

binutils supports this since a71d87680110d854f966d8cda0f1c7887001fcdd 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
Signed-off-by: Sam James <sam <AT> gentoo.org>
Part-of: https://github.com/gentoo/gentoo/pull/41893
Signed-off-by: Sam James <sam <AT> gentoo.org>

 profiles/default/linux/arm64/23.0/make.defaults | 1 +
 1 file changed, 1 insertion(+)

diff --git a/profiles/default/linux/arm64/23.0/make.defaults 
b/profiles/default/linux/arm64/23.0/make.defaults
new file mode 100644
index 000000000000..8fe4a1e300f6
--- /dev/null
+++ b/profiles/default/linux/arm64/23.0/make.defaults
@@ -0,0 +1 @@
+LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"

Reply via email to