patch-libgcc_config_host 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. $OpenBSD: patch-libgcc_config_host,v 1.6 2016/09/15 10:22:10 pascal Exp $
  2. --- libgcc/config.host.orig Tue May 17 08:22:28 2016
  3. +++ libgcc/config.host Wed Sep 14 14:44:50 2016
  4. @@ -364,6 +364,11 @@ arm-wrs-vxworks)
  5. arm*-*-netbsdelf*)
  6. tmake_file="$tmake_file arm/t-arm arm/t-netbsd t-slibgcc-gld-nover"
  7. ;;
  8. +arm-*-openbsd*)
  9. + tmake_file="$tmake_file arm/t-arm arm/t-elf arm/t-bpabi"
  10. + tmake_file="$tmake_file t-softfp-sfdf t-softfp-excl arm/t-softfp t-softfp"
  11. + unwind_header=config/arm/unwind-arm.h
  12. + ;;
  13. arm*-*-linux*) # ARM GNU/Linux with ELF
  14. tmake_file="${tmake_file} arm/t-arm t-fixedpoint-gnu-prefix"
  15. tmake_file="${tmake_file} arm/t-elf arm/t-bpabi arm/t-linux-eabi t-slibgcc-libgcc"
  16. @@ -785,6 +790,12 @@ microblaze*-*-rtems*)
  17. ;;
  18. mips*-*-netbsd*) # NetBSD/mips, either endian.
  19. ;;
  20. +mips64-*-openbsd*)
  21. + set
  22. + ;;
  23. +mips64el-*-openbsd*)
  24. + set
  25. + ;;
  26. mips*-*-linux*) # Linux MIPS, either endian.
  27. extra_parts="$extra_parts crtfastmath.o"
  28. tmake_file="${tmake_file} t-crtfm"
  29. @@ -942,6 +953,9 @@ powerpc*-*-freebsd*)
  30. powerpc-*-netbsd*)
  31. tmake_file="$tmake_file rs6000/t-netbsd rs6000/t-crtstuff"
  32. ;;
  33. +powerpc-*-openbsd*)
  34. + tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-crtstuff"
  35. + ;;
  36. powerpc-*-eabispe*)
  37. tmake_file="${tmake_file} rs6000/t-ppccomm rs6000/t-savresfgpr rs6000/t-crtstuff t-crtstuff-pic t-fdpbit"
  38. extra_parts="$extra_parts crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o ecrti.o ecrtn.o ncrti.o ncrtn.o"
  39. @@ -1088,6 +1102,8 @@ sh-wrs-vxworks)
  40. tmake_file="$tmake_file sh/t-sh t-crtstuff-pic t-fdpbit"
  41. ;;
  42. sparc-*-netbsdelf*)
  43. + ;;
  44. +sparc-*-openbsd*)
  45. ;;
  46. sparc64-*-openbsd*)
  47. ;;