Browse Source

* AB_COMMON symbols need special relocation in stabs

peter 21 years ago
parent
commit
892daa42ec
1 changed files with 6 additions and 3 deletions
  1. 6 3
      compiler/assemble.pas

+ 6 - 3
compiler/assemble.pas

@@ -783,8 +783,8 @@ Implementation
                   end;
                   end;
               end;
               end;
           end;
           end;
-        { external bss need speical handling (PM) }
-        if assigned(ps) and (ps.section=nil) then
+        { External .bss (AB_COMMON) need a symbol relocation }
+        if assigned(ps) and (ps.currbind=AB_COMMON) then
           begin
           begin
             if currpass=2 then
             if currpass=2 then
               begin
               begin
@@ -1629,7 +1629,10 @@ Implementation
 end.
 end.
 {
 {
   $Log$
   $Log$
-  Revision 1.74  2004-08-27 20:53:52  peter
+  Revision 1.75  2004-10-04 15:48:11  peter
+    * AB_COMMON symbols need special relocation in stabs
+
+  Revision 1.74  2004/08/27 20:53:52  peter
   don't lowercase filenames in stabs
   don't lowercase filenames in stabs
 
 
   Revision 1.73  2004/08/25 15:55:32  peter
   Revision 1.73  2004/08/25 15:55:32  peter