فهرست منبع

* properly initialize phdr and phnum

git-svn-id: trunk@40448 -
florian 6 سال پیش
والد
کامیت
31ae109a31
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 2 0
      rtl/linux/system.pp

+ 2 - 0
rtl/linux/system.pp

@@ -525,6 +525,8 @@ procedure InitTLS; [public,alias:'FPC_INITTLS'];
     while assigned(auxp^) do
       inc(auxp);
     inc(auxp);
+    phdr:=nil;
+    phnum:=0;
     { now we are at the auxillary vector }
     while assigned(auxp^) do
       begin