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_windows.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_windows.ads')
-rw-r--r-- | src/ortho/mcode/ortho_code-x86-flags_windows.ads | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ortho/mcode/ortho_code-x86-flags_windows.ads b/src/ortho/mcode/ortho_code-x86-flags_windows.ads index fa74bca58..921868410 100644 --- a/src/ortho/mcode/ortho_code-x86-flags_windows.ads +++ b/src/ortho/mcode/ortho_code-x86-flags_windows.ads @@ -30,6 +30,9 @@ package Ortho_Code.X86.Flags_Windows is -- 32 bits. M64 : constant Boolean := False; + -- Generate eh_frame for unwinding. + Eh_Frame : constant Boolean := False; + -- Not Windows x64 calling convention. Win64 : constant Boolean := False; end Ortho_Code.X86.Flags_Windows; |