Skip to content

Commit

Permalink
fixup! fixup! fixup! Add relocation types for code pointers
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgao committed Feb 5, 2025
1 parent 67c3679 commit 72d2717
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions aaelf64-morello/aaelf64-morello.rst
Original file line number Diff line number Diff line change
Expand Up @@ -775,11 +775,12 @@ Dynamic Morello relocations

``R_MORELLO_CODE_CAPINIT`` is similar to ``R_MORELLO_CAPINIT`` but signifies
that the capability being relocated is a code pointer as opposed to a data
pointer or function pointer. This distinction is needed for library-based
pointer or function pointer. As such, it must only be used to resolve
``STT_FUNC`` symbols. This relocation type is needed for library-based
compartmentalization (c18n). Currently for security reasons this relocation
may only be used for non-preemptible symbols, and thus will be converted to
``R_MORELLO_RELATIVE`` at link time, making it in effect a static relocation.
However, this restriction may be removed in future if needed, and is
However, this restriction may be removed in future if needed, and it is
therefore classed as a dynamic relocation.

``R_MORELLO_FUNC_RELATIVE`` and ``R_AARCH64_FUNC_RELATIVE`` : similar to
Expand Down

0 comments on commit 72d2717

Please sign in to comment.