[0.4.13][CMAKE] Update GCC dbg baseaddress.cmake
authorJoachim Henze <Joachim.Henze@reactos.org>
Sun, 2 Oct 2022 22:46:04 +0000 (00:46 +0200)
committerJoachim Henze <Joachim.Henze@reactos.org>
Sun, 2 Oct 2022 22:46:04 +0000 (00:46 +0200)
by hand!

Motivation is to fix the following warnings at configure-time for *GCC dbg* :
-- netlogon has no base address
-- w32time has no base address
-- rshell has no base address
-- fusion has no base address
-- fusion_1_1 has no base address
-- fusion_2_0 has no base address
-- msxml3r has no base address
-- notifyhook has no base address
-- vfd has no base address
-- msvcrt_crt_dll_startup has no base address
-- redirtest1 has no base address
-- redirtest2 has no base address
-- localspl_apitest.dll has no base address
-- load_notifications has no base address
-- custom has no base address
-- testvdd has no base address

This fixes CORE-14831 for *GCC dbg* at least for this branch.
Meaning: It hides the effect, without fixing the cause.
It is neither a sufficient fix for other toolchains/configs,
nor a sustainable solution for master yet.
We'd need to improve the python script for that.

sdk/cmake/baseaddress.cmake

index 3ab2ff2..d580029 100644 (file)
@@ -369,4 +369,20 @@ set(baseaddress_xinput1_3                      0x71a80000)
 set(baseaddress_xinput9_1_0                    0x71a50000)
 set(baseaddress_xmllite                        0x71a00000)
 set(baseaddress_xolehlp                        0x719d0000)
-set(baseaddress_zipfldr                        0x71910000)
\ No newline at end of file
+set(baseaddress_zipfldr                        0x71910000)
+set(baseaddress_custom                         0x718e0000) #added manually, last entry - 0x30000
+set(baseaddress_fusion                         0x718a0000) #added manually, last entry - 0x40000
+set(baseaddress_fusion_1_1                     0x71860000) #added manually, last entry - 0x40000
+set(baseaddress_fusion_2_0                     0x71820000) #added manually, last entry - 0x40000
+set(baseaddress_load_notifications             0x71800000) #added manually, last entry - 0x20000
+set(baseaddress_localspl_apitest.dll           0x717d0000) #added manually, last entry - 0x30000, module name corrected manually
+set(baseaddress_msvcrt_crt_dll_startup         0x717a0000) #added manually, last entry - 0x30000
+set(baseaddress_msxml3r                        0x71780000) #added manually, last entry - 0x20000
+set(baseaddress_netlogon                       0x71740000) #added manually, last entry - 0x40000
+set(baseaddress_notifyhook                     0x71710000) #added manually, last entry - 0x30000
+set(baseaddress_redirtest1                     0x716e0000) #added manually, last entry - 0x30000
+set(baseaddress_redirtest2                     0x716b0000) #added manually, last entry - 0x30000
+set(baseaddress_rshell                         0x71600000) #added manually, last entry - 0xb0000
+set(baseaddress_testvdd                        0x715d0000) #added manually, last entry - 0x30000
+set(baseaddress_vfd                            0x71570000) #added manually, last entry - 0x60000
+set(baseaddress_w32time                        0x71540000) #added manually, last entry - 0x30000