https://git.reactos.org/?p=reactos.git;a=commitdiff;h=56b1baa3dd70b1a8e9582a...
commit 56b1baa3dd70b1a8e9582ad7a3b944462da57db1 Author: Jérôme Gardou jerome.gardou@reactos.org AuthorDate: Tue Feb 23 18:29:13 2021 +0100 Commit: Jérôme Gardou zefklop@users.noreply.github.com CommitDate: Tue Mar 23 11:18:43 2021 +0100
[CMAKE] Restore using LD linker script with GCC --- sdk/cmake/gcc.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sdk/cmake/gcc.cmake b/sdk/cmake/gcc.cmake index 9e94d499ea8..9c0bce9c685 100644 --- a/sdk/cmake/gcc.cmake +++ b/sdk/cmake/gcc.cmake @@ -285,8 +285,8 @@ function(set_module_type_toolchain MODULE TYPE) if(${TYPE} STREQUAL "wdmdriver") add_target_link_flags(${MODULE} "-Wl,--wdmdriver") endif() - #Disabled due to LD bug: ROSBE-154 - #add_linker_script(${MODULE} ${REACTOS_SOURCE_DIR}/sdk/cmake/init-section.lds) + # Place INIT section at the tail of the module + add_linker_script(${MODULE} ${REACTOS_SOURCE_DIR}/sdk/cmake/init-section.lds) endif() endfunction()