mips.patch 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. diff -Nur glibc-ports-2.11.orig/sysdeps/mips/mips32/Makefile glibc-ports-2.11/sysdeps/mips/mips32/Makefile
  2. --- glibc-ports-2.11.orig/sysdeps/mips/mips32/Makefile 2009-11-15 21:53:20.000000000 +0100
  3. +++ glibc-ports-2.11/sysdeps/mips/mips32/Makefile 2010-02-25 05:06:53.093359450 +0100
  4. @@ -1,3 +1,3 @@
  5. -ifeq ($(filter -mabi=32,$(CC)),)
  6. -CC += -mabi=32
  7. -endif
  8. +#ifeq ($(filter -mabi=32,$(CC)),)
  9. +#CC += -mabi=32
  10. +#endif
  11. diff -Nur glibc-ports-2.11.orig/sysdeps/mips/nptl/tls.h glibc-ports-2.11/sysdeps/mips/nptl/tls.h
  12. --- glibc-ports-2.11.orig/sysdeps/mips/nptl/tls.h 2009-11-15 21:53:20.000000000 +0100
  13. +++ glibc-ports-2.11/sysdeps/mips/nptl/tls.h 2010-02-25 19:16:31.338162548 +0100
  14. @@ -55,12 +55,6 @@
  15. .set pop
  16. #endif /* __ASSEMBLER__ */
  17. -
  18. -/* We require TLS support in the tools. */
  19. -#ifndef HAVE_TLS_SUPPORT
  20. -# error "TLS support is required."
  21. -#endif
  22. -
  23. /* Signal that TLS support is available. */
  24. #define USE_TLS 1
  25. diff -Nur glibc-ports-2.11.orig/sysdeps/mips/preconfigure glibc-ports-2.11/sysdeps/mips/preconfigure
  26. --- glibc-ports-2.11.orig/sysdeps/mips/preconfigure 2009-11-15 21:53:20.000000000 +0100
  27. +++ glibc-ports-2.11/sysdeps/mips/preconfigure 2010-02-25 05:07:40.565358364 +0100
  28. @@ -19,11 +19,6 @@
  29. 32) machine=mips/mips32/kern64 ;;
  30. esac
  31. machine=$machine/$config_machine
  32. - if test $mips_config_abi != $mips_cc_abi; then
  33. - # This won't make it to config.make, but we want to
  34. - # set this in case configure tests depend on it.
  35. - CPPFLAGS="$CPPFLAGS -mabi=$mips_config_abi"
  36. - fi
  37. ;;
  38. mips*) base_machine=mips machine=mips/mips32/$machine ;;
  39. esac