Browse Source

+ OpenBSD i386 and x86_64 support in tcgx86.g_profilecode

git-svn-id: trunk@41760 -
nickysn 6 năm trước cách đây
mục cha
commit
8f8aa70074
1 tập tin đã thay đổi với 5 bổ sung2 xóa
  1. 5 2
      compiler/x86/cgx86.pas

+ 5 - 2
compiler/x86/cgx86.pas

@@ -3229,13 +3229,11 @@ unit cgx86;
         {$endif}
            system_i386_freebsd,
            system_i386_netbsd,
-//         system_i386_openbsd,
            system_i386_wdosx :
              begin
                 Case target_info.system Of
                  system_i386_freebsd : mcountprefix:='.';
                  system_i386_netbsd : mcountprefix:='__';
-//               system_i386_openbsd : mcountprefix:='.';
                 else
                  mcountPrefix:='';
                 end;
@@ -3263,6 +3261,11 @@ unit cgx86;
              begin
                a_call_name(list,'mcount',false);
              end;
+           system_i386_openbsd,
+           system_x86_64_openbsd:
+             begin
+               a_call_name(list,'__mcount',false);
+             end;
         end;
       end;