Skip to content

Conversation

@Wilco1
Copy link
Contributor

@Wilco1 Wilco1 commented Jan 20, 2026

Improve relocation optimizations to make the conditions clearer. Explain more explicitly explain that the Large GOT indirection optimization is all or nothing.

Improve relocation optimizations to make the conditions clearer.
Explain more explicitly explain that the Large GOT indirection
optimization is all or nothing.
Copy link
Contributor

@smithp35 smithp35 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks good to me. I'm wondering if we want to avoid +-N in ranges to avoid the edge case of the range being exactly +N. AIUI it is -N <= range < N.

I've made a couple of suggestions to use the range of the relocation, that also lets us say which location the range is taken from.

Improve relocation optimizations to make the conditions clearer.
Explain more explicitly that the Large GOT indirection optimization
is all or nothing.
Copy link
Contributor

@smithp35 smithp35 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the update. LGTM.

@smithp35 smithp35 merged commit 11fb4ef into ARM-software:main Jan 22, 2026
1 check passed
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.

2 participants