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

write/elf: x86-64 branches should always use R_X86_64_PLT32 #590

Merged
merged 1 commit into from
Nov 10, 2023

Conversation

philipc
Copy link
Contributor

@philipc philipc commented Nov 8, 2023

This matches the behaviour of gcc and clang, and allows us to remove the hack to change relocations to use section symbols.

I've tested that rustc_codegen_cranelift's test.sh works when running under x86-64 linux.

Closes #587

This matches the behaviour of gcc and clang, and allows us to remove
the hack to change relocations to use section symbols.
@philipc philipc merged commit 88554fa into gimli-rs:master Nov 10, 2023
12 checks passed
@philipc philipc deleted the issue-587 branch November 10, 2023 05:43
mcbegamerxx954 pushed a commit to mcbegamerxx954/object that referenced this pull request Jun 15, 2024
…#590)

This matches the behaviour of gcc and clang, and allows us to remove
the hack to change relocations to use section symbols.
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.

write/elf: want_section_symbol is a hack
1 participant