Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@monojenkins
Copy link
Contributor

Fixes #19009.

#18505 made PLT initialization occur at
image load time. When initializing the PLT for mscorlib,
mono_defaults.corlib is not yet initialized.

This change works around this by using mscorlib_aot_module--which is
initialized relatively early--instead of mono_defaults.corlib. PLT
initialization is also moved slightly later: it now happens after
use_page_trampolines has been initialized. The USE_PAGE_TRAMPOLINES
macro has also been changed to dereference mscorlib_aot_module.

This commit also removes an unused parameter from
mono_aot_create_specific_trampoline.

Backport of #19055.

/cc @lewurm @imhameed

Fixes mono#19009.

mono#18505 made PLT initialization occur at
image load time. When initializing the PLT for mscorlib,
`mono_defaults.corlib` is not yet initialized.

This change works around this by using `mscorlib_aot_module`--which is
initialized relatively early--instead of `mono_defaults.corlib`. PLT
initialization is also moved slightly later: it now happens after
`use_page_trampolines` has been initialized. The `USE_PAGE_TRAMPOLINES`
macro has also been changed to dereference `mscorlib_aot_module`.

This commit also removes an unused parameter from
`mono_aot_create_specific_trampoline`.
@lewurm
Copy link
Contributor

lewurm commented Feb 27, 2020

@monojenkins squash

@monojenkins
Copy link
Contributor Author

Cannot squash because the following required status checks are not successful:

  • "Windows x64 C++" state is "failure"
  • "Linux AArch64 Coop Suspend" state is "failure"

@akoeplinger
Copy link
Member

@monojenkins build failed

@monojenkins monojenkins merged commit 2aa8108 into mono:2020-02 Feb 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants