浏览代码

* vtbls are now properly aligned

florian 21 年之前
父节点
当前提交
b7d006777c
共有 1 个文件被更改,包括 5 次插入1 次删除
  1. 5 1
      compiler/nobj.pas

+ 5 - 1
compiler/nobj.pas

@@ -853,6 +853,7 @@ implementation
       begin
       begin
         implintf:=_class.implementedinterfaces;
         implintf:=_class.implementedinterfaces;
         curintf:=implintf.interfaces(intfindex);
         curintf:=implintf.interfaces(intfindex);
+        rawdata.concat(tai_align.create(const_align(POINTER_SIZE)));
         if (cs_create_smart in aktmoduleswitches) then
         if (cs_create_smart in aktmoduleswitches) then
          rawdata.concat(Tai_symbol.Createname_global(gintfgetvtbllabelname(intfindex),AT_DATA ,0))
          rawdata.concat(Tai_symbol.Createname_global(gintfgetvtbllabelname(intfindex),AT_DATA ,0))
         else
         else
@@ -1381,7 +1382,10 @@ initialization
 end.
 end.
 {
 {
   $Log$
   $Log$
-  Revision 1.68  2004-03-18 11:43:57  olle
+  Revision 1.69  2004-03-31 21:01:01  florian
+    * vtbls are now properly aligned
+
+  Revision 1.68  2004/03/18 11:43:57  olle
     * change AT_FUNCTION to AT_DATA where appropriate
     * change AT_FUNCTION to AT_DATA where appropriate
 
 
   Revision 1.67  2004/03/08 22:07:46  peter
   Revision 1.67  2004/03/08 22:07:46  peter