Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

Fix R_BPF_64_64 relocation handling #225

Merged
merged 1 commit into from
Nov 15, 2021
Merged

Conversation

dmakarov
Copy link

The R_BPF_64_64 fixed up address is 64 bit, and two 64-bit words of a
fixed up instruction must be patched. In addition the symbols for
relocated address may be in sections other than .text, e.g. .rodata.

The R_BPF_64_64 fixed up address is 64 bit, and two 64-bit words of a
fixed up instruction must be patched. In addition the symbols for
relocated address may be in sections other than .text, e.g. .rodata.
@dmakarov dmakarov merged commit 708393a into solana-labs:main Nov 15, 2021
@dmakarov dmakarov mentioned this pull request Nov 15, 2021
dmakarov added a commit that referenced this pull request Nov 15, 2021
- Fix R_BPF_64_64 relocation handling (#225)
- Fixes the build of the CLI tool. (#224)
- Clearify error message MultipleTextSections => NotOneTextSection. (#223)
- Remove disabled infinite loop check (#219)
- Fix tests to pass on non-X86_64 architectures (#218)
- Fix Beta CI Tests (#216)
- Make disassembler output more readable (#215)
- Makes #212 configurable for feature gate. (#213)
- Fix verifier shift instruction overflows imm value (#212)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant