mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-09 20:01:27 +02:00
* only try to use objdump to extract symbol liveness information if the
target OS is Linux, since it's not supported on other platforms for that purpose git-svn-id: trunk@20739 -
This commit is contained in:
parent
bd793d2f70
commit
c4d80a8a10
@ -351,7 +351,8 @@ const
|
|||||||
{ regular nm }
|
{ regular nm }
|
||||||
if not symbolprogfound then
|
if not symbolprogfound then
|
||||||
symbolprogfound:=findutil('nm',nmfullname,symbolprogfullpath);
|
symbolprogfound:=findutil('nm',nmfullname,symbolprogfullpath);
|
||||||
if not symbolprogfound then
|
if not symbolprogfound and
|
||||||
|
(target_info.system in systems_linux) then
|
||||||
begin
|
begin
|
||||||
{ try objdump }
|
{ try objdump }
|
||||||
symbolprogfound:=findutil('objdump',objdumpfullname,symbolprogfullpath);
|
symbolprogfound:=findutil('objdump',objdumpfullname,symbolprogfullpath);
|
||||||
|
Loading…
Reference in New Issue
Block a user