Skip to content

Commit

Permalink
flambda-backend: Add caml_hot__code{begin,end} symbols in runtime5 (#…
Browse files Browse the repository at this point in the history
…2133)

Add caml_hot__code{begin,end} symbols
  • Loading branch information
mshinwell authored Dec 7, 2023
1 parent 622c8dc commit 2099475
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions runtime/amd64.S
Original file line number Diff line number Diff line change
Expand Up @@ -404,11 +404,15 @@
#if defined(FUNCTION_SECTIONS)
TEXT_SECTION(caml_hot.code_begin)
.globl G(caml_hot.code_begin)
.globl G(caml_hot__code_begin)
G(caml_hot.code_begin):
G(caml_hot__code_begin):

TEXT_SECTION(caml_hot.code_end)
.globl G(caml_hot.code_end)
.globl G(caml_hot__code_end)
G(caml_hot.code_end):
G(caml_hot__code_end):
#endif

/******************************************************************************/
Expand Down
4 changes: 4 additions & 0 deletions runtime/arm64.S
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,15 @@
#if defined(FUNCTION_SECTIONS)
TEXT_SECTION(caml_hot.code_begin)
.globl G(caml_hot.code_begin)
.globl G(caml_hot__code_begin)
G(caml_hot.code_begin):
G(caml_hot__code_begin):

TEXT_SECTION(caml_hot.code_end)
.globl G(caml_hot.code_end)
.globl G(caml_hot__code_end)
G(caml_hot.code_end):
G(caml_hot__code_end):
#endif

#if defined(SYS_macosx)
Expand Down

0 comments on commit 2099475

Please sign in to comment.