Skip to content
Discussion options

You must be logged in to vote

I think it's not a bug. When applying a relocation, we don't know whether a relocation refers a section fragment or a symbol. A section fragment is a pieced of data in a mergeable section. On the other hand, when we are creating range extension thunks, we know we are handling only executable code, and we don't need to handle section pieces. So the simple r.r_addend suffices.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rbartlensky
Comment options

Answer selected by rbartlensky
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants