0011-inhibitlibc.diff 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. diff -ru gcc-core/gcc/config/sh/linux-unwind.h gcc-core/gcc/config/sh/linux-unwind.h
  2. --- gcc-core/gcc/config/sh/linux-unwind.h 2005-06-28 20:45:37.000000000 -0500
  3. +++ gcc-core/gcc/config/sh/linux-unwind.h 2008-02-06 17:41:12.000000000 -0600
  4. @@ -26,6 +26,8 @@
  5. the Free Software Foundation, 51 Franklin Street, Fifth Floor,
  6. Boston, MA 02110-1301, USA. */
  7. +#ifndef inhibit_libc
  8. +
  9. /* Do code reading to identify a signal frame, and set the frame
  10. state data appropriately. See unwind-dw2.c for the structs. */
  11. @@ -249,3 +251,5 @@
  12. return _URC_NO_REASON;
  13. }
  14. #endif /* defined (__SH5__) */
  15. +
  16. +#endif
  17. diff -ru gcc-core/gcc/config/alpha/linux-unwind.h gcc-core2/gcc/config/alpha/linux-unwind.h
  18. --- gcc-core/gcc/config/alpha/linux-unwind.h 2005-06-24 20:22:41.000000000 -0500
  19. +++ gcc-core2/gcc/config/alpha/linux-unwind.h 2010-01-10 20:05:56.000000000 -0600
  20. @@ -26,6 +26,8 @@
  21. the Free Software Foundation, 51 Franklin Street, Fifth Floor,
  22. Boston, MA 02110-1301, USA. */
  23. +#ifndef inhibit_libc
  24. +
  25. /* Do code reading to identify a signal frame, and set the frame
  26. state data appropriately. See unwind-dw2.c for the structs. */
  27. @@ -80,3 +82,5 @@
  28. fs->retaddr_column = 64;
  29. return _URC_NO_REASON;
  30. }
  31. +
  32. +#endif