瀏覽代碼

add msvc base addr repositories

cxgeorge 24 年之前
父節點
當前提交
63a253f0bd
共有 2 個文件被更改,包括 46 次插入0 次删除
  1. 23 0
      dtool/src/dtoolbase/dllbase.txt
  2. 23 0
      dtool/src/dtoolbase/dllbase_d.txt

+ 23 - 0
dtool/src/dtoolbase/dllbase.txt

@@ -0,0 +1,23 @@
+; This file is used by the MSVC linker to specify DLL base addresses to
+; prevent runtime relocation of DLLs by the windows loader.  This speeds
+; loading.  This file was generated using $PANDATOOL/src/scripts/basedlls.pl
+; which uses rebase.exe from the MS platform SDK.  It may additionally be
+; hand-hacked to simplify addresses for popular dlls to aid debugging.
+
+
+libpanda         0x60000000 0x00770000
+libpandadx       0x61000000 0x00050000 ; hacked
+libpandagl       0x62000000 0x00040000 ; hacked
+libpandaexpress  0x63000000 0x000c0000 ; hacked
+libpandaphysics  0x608c0000 0x00080000
+libshader        0x60940000 0x00030000
+libdtool         0x60970000 0x00020000
+libdtoolconfig   0x60990000 0x00060000
+libpystub        0x609f0000 0x00010000
+libdirect        0x60a00000 0x00040000
+libtoontown      0x60a40000 0x000a0000
+libaudio_load_midi 0x60ae0000 0x00010000
+libaudio_load_mp3 0x60af0000 0x00040000
+libaudio_load_st 0x60b30000 0x00010000
+libaudio_load_wav 0x60b40000 0x00010000
+libpandaegg      0x60b50000 0x001a0000

+ 23 - 0
dtool/src/dtoolbase/dllbase_d.txt

@@ -0,0 +1,23 @@
+; This file is used by the MSVC linker to specify DLL base addresses to
+; prevent runtime relocation of DLLs by the windows loader.  This speeds
+; loading.  This file was generated using $PANDATOOL/src/scripts/basedlls.pl
+; which uses rebase.exe from the MS platform SDK.  It may additionally be
+; hand-hacked to simplify addresses for popular dlls to aid debugging.
+
+
+libpanda_d       0x60000000 0x007e0000
+libpandadx_d     0x607e0000 0x00060000
+libpandagl_d     0x60840000 0x00050000
+libpandaexpress_d 0x60890000 0x000e0000
+libpandaphysics_d 0x60970000 0x000a0000
+libshader_d      0x60a10000 0x00030000
+libdtool_d       0x60a40000 0x00020000
+libdtoolconfig_d 0x60a60000 0x00060000
+libpystub_d      0x60ac0000 0x00010000
+libdirect_d      0x60ad0000 0x00040000
+libtoontown_d    0x60b10000 0x000b0000
+libaudio_load_midi_d 0x60bc0000 0x00010000
+libaudio_load_mp3_d 0x60bd0000 0x00040000
+libaudio_load_st_d 0x60c10000 0x00010000
+libaudio_load_wav_d 0x60c20000 0x00010000
+libpandaegg_d    0x60c30000 0x001c0000