Skip to content

risc-v: Use medany model#467

Merged
alexcrichton merged 1 commit intorust-lang:masterfrom
laanwj:2019_08_riscv_medany
Jan 21, 2020
Merged

risc-v: Use medany model#467
alexcrichton merged 1 commit intorust-lang:masterfrom
laanwj:2019_08_riscv_medany

Conversation

@laanwj
Copy link
Contributor

@laanwj laanwj commented Jan 19, 2020

With rust-lang/rust#62281, rust compiles in mcmodel=medium mode for RISC-V which is equivalent to GCC medany. This prevents linker relocation errors when code is placed outside the range -0x80000000..0x7ffffffff.

With rust-lang/rust#62281, rust compiles in mcmodel=medium mode
which is equivalent to GCC medany. This prevents linker relocation
errors code is placed outside the range `-0x80000000..0x7ffffffff`.
@alexcrichton alexcrichton merged commit 9228de6 into rust-lang:master Jan 21, 2020
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