Skip to content

microblaze: apply toolchain patches from meta-xilinx repository #984

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

alpsayin
Copy link
Contributor

@alpsayin alpsayin commented Jul 26, 2025

Re-do of #647

This patchset fixes many known issues on gnu-toolchain for microblaze.
But mainly the broken right-shift optimization and binutils incorrect (linker) relocation issues.

Patches obtained from https://github.com/xilinx/meta-xilinx/


These patchsets fixes many known issues on gnu-toolchain for microblaze.
But mainly the atomic-cas and binutils incorrect relocation issues.
Patches obtained from https://github.com/xilinx/meta-xilinx/ repository,

Sub PRs:

  1. microblaze: Fix -Os right shift optimization is allowed into delay slot gcc#58
  2. microblaze: apply binutils patches from meta-Xilinx repository binutils-gdb#19

Finally; if/when AMD/Xilinx software group manages to upstream these to gnu-gcc, the squashed commits in individual repositories should provide an easy transition (revert and rebase) when it's time to upgrade zephyr-gcc.

@alpsayin alpsayin self-assigned this Jul 26, 2025
@alpsayin alpsayin requested a review from stephanosio July 26, 2025 14:16
@alpsayin alpsayin force-pushed the asayin-topic-microblaze branch from 083db07 to 76ff565 Compare July 26, 2025 14:28
@alpsayin alpsayin force-pushed the asayin-topic-microblaze branch 2 times, most recently from 6421c7e to 44b5e6f Compare July 30, 2025 22:47
This patchset fixes many known issues on gnu-toolchain for microblaze.
But mainly the atomic-cas and binutils incorrect relocation issues.

Patches obtained from https://github.com/xilinx/meta-xilinx/

Signed-off-by: Alp Sayin <[email protected]>
@alpsayin alpsayin force-pushed the asayin-topic-microblaze branch from 44b5e6f to 228935c Compare July 30, 2025 22:51
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.

1 participant