gcc.patch 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. --- config.guess.orig Thu Jan 30 23:32:36 2003
  2. +++ config.guess Wed Feb 5 09:54:43 2003
  3. @@ -188,7 +188,7 @@
  4. release='-gnu'
  5. ;;
  6. *)
  7. - release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
  8. + release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*//'`
  9. ;;
  10. esac
  11. # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
  12. --- gcc/config/i386/sol2.h.dist Thu Feb 27 15:00:54 2003
  13. +++ gcc/config/i386/sol2.h Thu Feb 27 14:20:50 2003
  14. @@ -160,3 +160,5 @@
  15. /* The Solaris assembler does not support .quad. Do not use it. */
  16. #undef ASM_QUAD
  17. +#undef DEFAULT_PCC_STRUCT_RETURN
  18. +#define DEFAULT_PCC_STRUCT_RETURN 1
  19. --- gcc/configure.dist 2003-06-11 11:23:53.000000000 +0200
  20. +++ gcc/configure 2003-06-11 11:23:53.000000000 +0200
  21. @@ -8259,7 +8259,7 @@
  22. && $gcc_cv_ld -shared -o conftest1.so conftest1.o \
  23. conftest2.o conftest3.o; then
  24. gcc_cv_ld_ro_rw_mix=`$gcc_cv_objdump -h conftest1.so \
  25. - | grep -A1 myfoosect`
  26. + | sed -ne '/myfoosect/{N;p;}'`
  27. if echo "$gcc_cv_ld_ro_rw_mix" | grep CONTENTS > /dev/null; then
  28. if echo "$gcc_cv_ld_ro_rw_mix" | grep READONLY > /dev/null; then
  29. gcc_cv_ld_ro_rw_mix=read-only
  30. --- gcc/configure.in.dist 2003-06-11 11:23:53.000000000 +0200
  31. +++ gcc/configure.in 2003-06-11 11:23:53.000000000 +0200
  32. @@ -2319,7 +2319,7 @@
  33. && $gcc_cv_ld -shared -o conftest1.so conftest1.o \
  34. conftest2.o conftest3.o; then
  35. gcc_cv_ld_ro_rw_mix=`$gcc_cv_objdump -h conftest1.so \
  36. - | grep -A1 myfoosect`
  37. + | sed -ne '/myfoosect/{N;p;}'`
  38. if echo "$gcc_cv_ld_ro_rw_mix" | grep CONTENTS > /dev/null; then
  39. if echo "$gcc_cv_ld_ro_rw_mix" | grep READONLY > /dev/null; then
  40. gcc_cv_ld_ro_rw_mix=read-only