Browse Source

* localloc of staticsymtable needs a AT_NONE since it is a reference

peter 21 years ago
parent
commit
ed07ab5f04
1 changed files with 5 additions and 2 deletions
  1. 5 2
      compiler/ncgutil.pas

+ 5 - 2
compiler/ncgutil.pas

@@ -1931,7 +1931,7 @@ implementation
                                   if not(cs_create_pic in aktmoduleswitches) and
                                   if not(cs_create_pic in aktmoduleswitches) and
                                      not(vo_is_dll_var in varoptions) and
                                      not(vo_is_dll_var in varoptions) and
                                      not(vo_is_thread_var in varoptions) then
                                      not(vo_is_thread_var in varoptions) then
-                                    reference_reset_symbol(localloc.reference,objectlibrary.newasmsymbol(mangledname,AB_EXTERNAL,AT_DATA),0);
+                                    reference_reset_symbol(localloc.reference,objectlibrary.newasmsymbol(mangledname,AB_EXTERNAL,AT_NONE),0);
                                 end;
                                 end;
                               else
                               else
                                 internalerror(200410103);
                                 internalerror(200410103);
@@ -2203,7 +2203,10 @@ implementation
 end.
 end.
 {
 {
   $Log$
   $Log$
-  Revision 1.231  2004-10-24 20:01:08  peter
+  Revision 1.232  2004-10-26 15:03:31  peter
+    * localloc of staticsymtable needs a AT_NONE since it is a reference
+
+  Revision 1.231  2004/10/24 20:01:08  peter
     * remove saveregister calling convention
     * remove saveregister calling convention
 
 
   Revision 1.230  2004/10/24 11:44:28  peter
   Revision 1.230  2004/10/24 11:44:28  peter