summaryrefslogtreecommitdiff
path: root/toolchain/gcc/patches/7.5.0/microblaze.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbrodkorb@infonline.de>2021-06-11 15:28:11 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2021-06-11 15:32:57 +0200
commit1557f0ea6e1ae6c363544b853c805d4ee5900ec3 (patch)
treecc90ac681bdf941f7218dbc16b2ec5501c2da328 /toolchain/gcc/patches/7.5.0/microblaze.patch
parentb83259f5d8417e231bf261a50954aa4c5709e814 (diff)
gcc: update 8/9
Diffstat (limited to 'toolchain/gcc/patches/7.5.0/microblaze.patch')
-rw-r--r--toolchain/gcc/patches/7.5.0/microblaze.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/toolchain/gcc/patches/7.5.0/microblaze.patch b/toolchain/gcc/patches/7.5.0/microblaze.patch
new file mode 100644
index 000000000..eb6c08492
--- /dev/null
+++ b/toolchain/gcc/patches/7.5.0/microblaze.patch
@@ -0,0 +1,23 @@
+revert 6dcad60c0ef48af584395a40feeb256fb82986a8
+as it breaks any userland in qemu
+
+diff -Nur gcc-6.3.0.orig/gcc/config/microblaze/microblaze.h gcc-6.3.0/gcc/config/microblaze/microblaze.h
+--- gcc-6.3.0.orig/gcc/config/microblaze/microblaze.h 2016-01-21 18:10:54.000000000 +0100
++++ gcc-6.3.0/gcc/config/microblaze/microblaze.h 2017-05-26 18:33:31.297534916 +0200
+@@ -253,14 +253,14 @@
+ #define FIXED_REGISTERS \
+ { \
+ 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, \
+- 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \
++ 1, 1, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \
+ 1, 1, 1, 1 \
+ }
+
+ #define CALL_USED_REGISTERS \
+ { \
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, \
+- 1, 1, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \
++ 1, 1, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \
+ 1, 1, 1, 1 \
+ }
+ #define GP_REG_FIRST 0