Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

elf: Update LoongArch relocation types per LoongArch ABI v2.20 #589

Merged
merged 2 commits into from
Nov 7, 2023

Conversation

xry111
Copy link
Contributor

@xry111 xry111 commented Nov 6, 2023

  • R_LARCH_DELETE is reserved by the ABI now (the BFD linker will stop using it for relaxation as well).
  • R_LARCH_CALL36 is added for function calls under medium code model.

Link: https://github.com/loongson/la-abi-specs/releases/v2.20
Link: https://sourceware.org/pipermail/binutils/2023-October/129938.html

Copy link
Contributor

@philipc philipc left a comment

Choose a reason for hiding this comment

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

Please add the new entry here:

R_LARCH_64_PCREL,

- R_LARCH_DELETE is reserved by the ABI now (the BFD linker will stop
  using it for relaxation as well).
- R_LARCH_CALL36 is added for function calls under medium code model.

Link: https://github.com/loongson/la-abi-specs/releases/v2.20
Link: https://sourceware.org/pipermail/binutils/2023-October/129938.html
@xry111
Copy link
Contributor Author

xry111 commented Nov 6, 2023

Please add the new entry here:

R_LARCH_64_PCREL,

Done.

I also added a commit to fix an oversight in #578.

@philipc philipc merged commit 16b6d90 into gimli-rs:master Nov 7, 2023
12 checks passed
mcbegamerxx954 pushed a commit to mcbegamerxx954/object that referenced this pull request Jun 15, 2024
…-rs#589)

- R_LARCH_DELETE is reserved by the ABI now (the BFD linker will stop
  using it for relaxation as well).
- R_LARCH_CALL36 is added for function calls under medium code model.
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