https://git.reactos.org/?p=reactos.git;a=commitdiff;h=6445f33704e1f5305479c…
commit 6445f33704e1f5305479cec0402ed34437f9bffc
Author: Jérôme Gardou <jerome.gardou(a)reactos.org>
AuthorDate: Tue Feb 23 18:26:43 2021 +0100
Commit: Jérôme Gardou <zefklop(a)users.noreply.github.com>
CommitDate: Tue Mar 23 11:18:43 2021 +0100
[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 */