0003-add-or1k-endian.patch 493 B

123456789101112131415161718
  1. Set endianess for or1k
  2. Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
  3. diff -Nur classpath-0.98.orig/native/fdlibm/ieeefp.h classpath-0.98/native/fdlibm/ieeefp.h
  4. --- classpath-0.98.orig/native/fdlibm/ieeefp.h 2008-01-13 18:33:50.000000000 +0100
  5. +++ classpath-0.98/native/fdlibm/ieeefp.h 2017-02-26 12:39:12.316327363 +0100
  6. @@ -123,6 +123,10 @@
  7. #define __IEEE_BIG_ENDIAN
  8. #endif
  9. +#ifdef __or1k__
  10. +#define __IEEE_BIG_ENDIAN
  11. +#endif
  12. +
  13. #ifdef __v800
  14. #define __IEEE_LITTLE_ENDIAN
  15. #endif