diff options
author | Tristan Gingold <tgingold@free.fr> | 2021-12-14 18:19:42 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2021-12-14 18:19:42 +0100 |
commit | c661e58db492f14b22e2ab59e58a8abde6e74c10 (patch) | |
tree | f3145768f859db5f5468865e05fc0d3e2772bd56 /src/ortho/mcode/ortho_code-x86-flags_linux64.ads | |
parent | 8d75953b65e81e404ea193b8994c638b5a8c470d (diff) | |
download | ghdl-c661e58db492f14b22e2ab59e58a8abde6e74c10.tar.gz ghdl-c661e58db492f14b22e2ab59e58a8abde6e74c10.tar.bz2 ghdl-c661e58db492f14b22e2ab59e58a8abde6e74c10.zip |
mcode: generate and register .eh_frame on linux x86/64
This is needed to generate backtraces.
Diffstat (limited to 'src/ortho/mcode/ortho_code-x86-flags_linux64.ads')
-rw-r--r-- | src/ortho/mcode/ortho_code-x86-flags_linux64.ads | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ortho/mcode/ortho_code-x86-flags_linux64.ads b/src/ortho/mcode/ortho_code-x86-flags_linux64.ads index 6a34106fc..bb46a732d 100644 --- a/src/ortho/mcode/ortho_code-x86-flags_linux64.ads +++ b/src/ortho/mcode/ortho_code-x86-flags_linux64.ads @@ -27,9 +27,12 @@ package Ortho_Code.X86.Flags_Linux64 is -- Alignment for double (64 bit float). Mode_F64_Align : constant Natural := 3; - -- 32 bits. + -- 64 bits. M64 : constant Boolean := True; + -- Generate eh_frame for unwinding. + Eh_Frame : constant Boolean := True; + -- Not Windows x64 calling convention. Win64 : constant Boolean := False; end Ortho_Code.X86.Flags_Linux64; |