riscv: Fix ELF header flags by FawazTirmizi · Pull Request #106797 · rust-lang/rust (original) (raw)

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 andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation6 Commits1 Checks0 Files changed

Conversation

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})

FawazTirmizi

The previous version added both EF_RISCV_FLOAT_ABI_DOUBLE and EF_RISCV_RVC if the "D" extension was enabled on riscv64 targets. riscv32 targets were not accounted for. This patch changes this so that:

Fixes #104284

r? rust-lang/risc-v

@FawazTirmizi

The previous version added both EF_RISCV_FLOAT_ABI_DOUBLE and EF_RISCV_RVC if the "D" extension was enabled on riscv64 targets. riscv32 targets were not accounted for. This patch changes this so that:

@rustbot

Failed to set assignee to kraj: invalid assignee

Note: Only org members, users with write permissions, or people who have commented on the PR may be assigned.

@rustbot

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @kraj (or someone else) soon.

Please see the contribution instructions for more information.

@rustbot rustbot added S-waiting-on-review

Status: Awaiting review from the assignee but also interested parties.

T-compiler

Relevant to the compiler team, which will review and decide on the PR/issue.

labels

Jan 13, 2023

@Noratrieb

kraj

kraj approved these changes Jan 13, 2023

Contributor

@kraj kraj left a comment

Choose a reason for hiding this comment

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

lgtm

@bjorn3

@bors

📌 Commit 138a1d2 has been approved by bjorn3

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors

Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

and removed S-waiting-on-review

Status: Awaiting review from the assignee but also interested parties.

labels

Jan 13, 2023

matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request

Jan 13, 2023

@matthiaskrgr

…bjorn3

riscv: Fix ELF header flags

The previous version added both EF_RISCV_FLOAT_ABI_DOUBLE and EF_RISCV_RVC if the "D" extension was enabled on riscv64 targets. riscv32 targets were not accounted for. This patch changes this so that:

Fixes rust-lang#104284

r? rust-lang/risc-v

matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request

Jan 13, 2023

@matthiaskrgr

…bjorn3

riscv: Fix ELF header flags

The previous version added both EF_RISCV_FLOAT_ABI_DOUBLE and EF_RISCV_RVC if the "D" extension was enabled on riscv64 targets. riscv32 targets were not accounted for. This patch changes this so that:

Fixes rust-lang#104284

r? rust-lang/risc-v

bors added a commit to rust-lang-ci/rust that referenced this pull request

Jan 13, 2023

@bors

…iaskrgr

Rollup of 10 pull requests

Successful merges:

Failed merges:

r? @ghost @rustbot modify labels: rollup

Labels

S-waiting-on-bors

Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

T-compiler

Relevant to the compiler team, which will review and decide on the PR/issue.