From 6445f33704e1f5305479cec0402ed34437f9bffc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Gardou?= Date: Tue, 23 Feb 2021 18:26:43 +0100 Subject: [PATCH] [CMAKE] Put INIT section before .reloc and not after. CORE-14683 --- sdk/cmake/init-section.lds | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sdk/cmake/init-section.lds b/sdk/cmake/init-section.lds index ca46bd1451e..eeda07bf3ce 100644 --- a/sdk/cmake/init-section.lds +++ b/sdk/cmake/init-section.lds @@ -8,5 +8,4 @@ SECTIONS __init_end__ = . ; } } -/*INSERT AFTER .reloc;*//*This is what we actually want to do, but do not dare due to LD bug ROSBE-154*/ -INSERT AFTER .rsrc; /*This is what we do instead to at least fix CORE-14683*/ +INSERT BEFORE .reloc; /* .reloc is always at the end */