mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-21 10:10:19 +02:00
* pass --eh-frame-hdr to the linker on Linux when using Dwarf-based EH, as
libgcc's unwinder does not work without it git-svn-id: branches/debug_eh@40435 -
This commit is contained in:
parent
a1db586c81
commit
37ae70f925
@ -1424,6 +1424,10 @@ begin
|
||||
if HasExports then
|
||||
cmdstr:=cmdstr+' -E';
|
||||
|
||||
{ create eh_frame_hdr section? }
|
||||
if tf_use_psabieh in target_info.flags then
|
||||
cmdstr:=cmdstr+ ' --eh-frame-hdr';
|
||||
|
||||
success:=DoExec(FindUtil(utilsprefix+BinStr),CmdStr,true,false);
|
||||
|
||||
{ Create external .dbg file with debuginfo }
|
||||
|
Loading…
Reference in New Issue
Block a user