Browse Source

* only check relocsection for win32

peter 26 years ago
parent
commit
23c127a58e
1 changed files with 7 additions and 3 deletions
  1. 7 3
      compiler/pmodules.pas

+ 7 - 3
compiler/pmodules.pas

@@ -1333,8 +1333,9 @@ unit pmodules;
          DLLsource:=islibrary;
          DLLsource:=islibrary;
          IsExe:=true;
          IsExe:=true;
          parse_only:=false;
          parse_only:=false;
-         { relocation works only without stabs !! PM }
-         if RelocSection then
+         { relocation works only without stabs under win32 !! PM }
+         if RelocSection and
+            (target_info.target=target_i386_win32) then
            begin
            begin
               aktglobalswitches:=aktglobalswitches+[cs_link_strip];
               aktglobalswitches:=aktglobalswitches+[cs_link_strip];
               { Warning stabs info does not work with reloc section !! }
               { Warning stabs info does not work with reloc section !! }
@@ -1557,7 +1558,10 @@ unit pmodules;
 end.
 end.
 {
 {
   $Log$
   $Log$
-  Revision 1.175  1999-11-30 10:40:44  peter
+  Revision 1.176  1999-12-10 10:02:53  peter
+    * only check relocsection for win32
+
+  Revision 1.175  1999/11/30 10:40:44  peter
     + ttype, tsymlist
     + ttype, tsymlist
 
 
   Revision 1.174  1999/11/29 16:24:52  pierre
   Revision 1.174  1999/11/29 16:24:52  pierre