[CMAKE] Disable INIT section ld scripts for now. CORE-16183 ROSBE-154

This commit is contained in:
Thomas Faber 2019-07-07 16:06:25 +02:00
parent 818d660868
commit 36e9a6f8dd
No known key found for this signature in database
GPG key ID: 076E7C3D44720826
2 changed files with 4 additions and 2 deletions

View file

@ -38,7 +38,8 @@ else()
else()
set_image_base(ntoskrnl 0x80800000)
endif()
add_linker_script(ntoskrnl ${REACTOS_SOURCE_DIR}/sdk/cmake/init-section.lds)
#Disabled due to LD bug: ROSBE-154
#add_linker_script(ntoskrnl ${REACTOS_SOURCE_DIR}/sdk/cmake/init-section.lds)
endif()
target_link_libraries(ntoskrnl cportlib csq ${PSEH_LIB} cmlib ntlsalib rtl ${ROSSYM_LIB} libcntpr wdmguid ioevent)

View file

@ -318,7 +318,8 @@ function(set_module_type_toolchain MODULE TYPE)
if(${TYPE} STREQUAL "wdmdriver")
add_target_link_flags(${MODULE} "-Wl,--wdmdriver")
endif()
add_linker_script(${MODULE} ${REACTOS_SOURCE_DIR}/sdk/cmake/init-section.lds)
#Disabled due to LD bug: ROSBE-154
#add_linker_script(${MODULE} ${REACTOS_SOURCE_DIR}/sdk/cmake/init-section.lds)
endif()
if(STACK_PROTECTOR)