Browse Source

* replaced hardcoded string with objdumpsearchstr constant

git-svn-id: branches/wpo@11899 -
Jonas Maebe 17 years ago
parent
commit
a826077955
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/optdead.pas

+ 1 - 1
compiler/optdead.pas

@@ -315,7 +315,7 @@ const
             ...
             ...
         }
         }
         result:=false;
         result:=false;
-        while (pos(' F .text',line)<=0) do
+        while (pos(objdumpsearchstr,line)<=0) do
           begin
           begin
             if failiferror(eof(fsymfile)) then
             if failiferror(eof(fsymfile)) then
               exit;
               exit;