abi-aa icon indicating copy to clipboard operation
abi-aa copied to clipboard

[Morello] Add the morello descriptor ABI specification.

Open sbaranga-arm opened this issue 2 years ago • 2 comments

sbaranga-arm avatar Jul 15 '21 12:07 sbaranga-arm

How do you handle function pointer equality in the presence of dlsym, or even just multiple dynamic relocations for the same descriptor? What actually goes in .desc.data.rel.ro?

jrtc27 avatar Jul 15 '21 18:07 jrtc27

At the moment it's the job of the dynamic linker to make sure only one pair of capabilities is allocated per function pointer while resolving the relocations, and that provides function pointer equality. There's likely scope for improvement here though.

sbaranga-arm avatar Jul 16 '21 09:07 sbaranga-arm