Skip to content

Commit 36e9a6f

Browse files
committed
[CMAKE] Disable INIT section ld scripts for now. CORE-16183 ROSBE-154
1 parent 818d660 commit 36e9a6f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

ntoskrnl/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ else()
3838
else()
3939
set_image_base(ntoskrnl 0x80800000)
4040
endif()
41-
add_linker_script(ntoskrnl ${REACTOS_SOURCE_DIR}/sdk/cmake/init-section.lds)
41+
#Disabled due to LD bug: ROSBE-154
42+
#add_linker_script(ntoskrnl ${REACTOS_SOURCE_DIR}/sdk/cmake/init-section.lds)
4243
endif()
4344

4445
target_link_libraries(ntoskrnl cportlib csq ${PSEH_LIB} cmlib ntlsalib rtl ${ROSSYM_LIB} libcntpr wdmguid ioevent)

sdk/cmake/gcc.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,8 @@ function(set_module_type_toolchain MODULE TYPE)
318318
if(${TYPE} STREQUAL "wdmdriver")
319319
add_target_link_flags(${MODULE} "-Wl,--wdmdriver")
320320
endif()
321-
add_linker_script(${MODULE} ${REACTOS_SOURCE_DIR}/sdk/cmake/init-section.lds)
321+
#Disabled due to LD bug: ROSBE-154
322+
#add_linker_script(${MODULE} ${REACTOS_SOURCE_DIR}/sdk/cmake/init-section.lds)
322323
endif()
323324

324325
if(STACK_PROTECTOR)

0 commit comments

Comments
 (0)