microblaze.patch 933 B

1234567891011121314151617181920212223
  1. revert 6dcad60c0ef48af584395a40feeb256fb82986a8
  2. as it breaks any userland in qemu
  3. diff -Nur gcc-6.3.0.orig/gcc/config/microblaze/microblaze.h gcc-6.3.0/gcc/config/microblaze/microblaze.h
  4. --- gcc-6.3.0.orig/gcc/config/microblaze/microblaze.h 2016-01-21 18:10:54.000000000 +0100
  5. +++ gcc-6.3.0/gcc/config/microblaze/microblaze.h 2017-05-26 18:33:31.297534916 +0200
  6. @@ -253,14 +253,14 @@
  7. #define FIXED_REGISTERS \
  8. { \
  9. 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, \
  10. - 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \
  11. + 1, 1, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \
  12. 1, 1, 1, 1 \
  13. }
  14. #define CALL_USED_REGISTERS \
  15. { \
  16. 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, \
  17. - 1, 1, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \
  18. + 1, 1, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \
  19. 1, 1, 1, 1 \
  20. }
  21. #define GP_REG_FIRST 0