From 1be3cabb3ab61eb71028fbc5a82288dc266fd6bd Mon Sep 17 00:00:00 2001 From: "Sergey Semyonov (Serge)" Date: Thu, 14 Jun 2007 11:47:17 +0000 Subject: [PATCH] fix special values in COFF symbol table git-svn-id: svn://kolibrios.org@541 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/core/dll.inc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/kernel/trunk/core/dll.inc b/kernel/trunk/core/dll.inc index ab439d6983..bc88657a12 100644 --- a/kernel/trunk/core/dll.inc +++ b/kernel/trunk/core/dll.inc @@ -618,6 +618,11 @@ proc fix_coff_symbols stdcall, sec:dword, symbols:dword,\ mov [edi+CSYM.Value], eax jmp .next .internal: + cmp bx, -1 + je .next + cmp bx, -2 + je .next + dec ebx shl ebx, 3 lea ebx, [ebx+ebx*4]