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-emits.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-emits.ads')
-rw-r--r-- | src/ortho/mcode/ortho_code-x86-emits.ads | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ortho/mcode/ortho_code-x86-emits.ads b/src/ortho/mcode/ortho_code-x86-emits.ads index 97802cd19..edd327884 100644 --- a/src/ortho/mcode/ortho_code-x86-emits.ads +++ b/src/ortho/mcode/ortho_code-x86-emits.ads @@ -31,6 +31,12 @@ package Ortho_Code.X86.Emits is type Intrinsic_Symbols_Map is array (Intrinsics_X86) of Symbol; Intrinsics_Symbol : Intrinsic_Symbols_Map; + -- Well known sections. + Sect_Text : Section_Acc; + Sect_Rodata : Section_Acc; + Sect_Bss : Section_Acc; + Sect_Eh_Frame : Section_Acc; + Mcount_Symbol : Symbol; Chkstk_Symbol : Symbol; end Ortho_Code.X86.Emits; |