Browse Source

remove startup sigaction flag hack for x86_64 (fixed properly using SA_RESTORER)

git-svn-id: trunk@3320 -
micha 19 years ago
parent
commit
51ee73772e
1 changed files with 1 additions and 5 deletions
  1. 1 5
      rtl/linux/system.pp

+ 1 - 5
rtl/linux/system.pp

@@ -134,11 +134,7 @@ begin
   FillChar(act, sizeof(SigActionRec),0);
   FillChar(act, sizeof(SigActionRec),0);
   { initialize handler                    }
   { initialize handler                    }
   act.sa_handler := SigActionHandler(@SignalToRunError);
   act.sa_handler := SigActionHandler(@SignalToRunError);
-  act.sa_flags:=SA_SIGINFO
-{$ifdef cpux86_64}
-    or $4000000
-{$endif cpux86_64}
-    ;
+  act.sa_flags:=SA_SIGINFO;
   FpSigAction(SIGFPE,@act,nil);
   FpSigAction(SIGFPE,@act,nil);
   FpSigAction(SIGSEGV,@act,nil);
   FpSigAction(SIGSEGV,@act,nil);
   FpSigAction(SIGBUS,@act,nil);
   FpSigAction(SIGBUS,@act,nil);