Ticket #22148: darwin10.diff

File darwin10.diff, 2.5 KB (added by howarth@…, 15 years ago)

fix hard coded instances of darwin9 for darwin 10 and later.

  • gcc/config.gcc

    old new  
    417417*-*-darwin*)
    418418  tm_file="${tm_file} darwin.h"
    419419  case ${target} in
    420   *-*-darwin9*)
     420  *-*-darwin[912]*)
    421421    tm_file="${tm_file} darwin9.h"
    422422    ;;
    423423  esac
  • configure

    old new  
    21332133  *-*-chorusos)
    21342134    noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
    21352135    ;;
    2136   powerpc-*-darwin* | i[3456789]86-*-darwin* | x86_64-*-darwin9*)
     2136  powerpc-*-darwin* | i[3456789]86-*-darwin* | x86_64-*-darwin[912]*)
    21372137    noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes gdb gprof"
    21382138    noconfigdirs="$noconfigdirs sim target-rda"
    21392139    ;;
  • configure.ac

    old new  
    410410  *-*-chorusos)
    411411    noconfigdirs="$noconfigdirs target-newlib target-libgloss ${libgcj}"
    412412    ;;
    413   powerpc-*-darwin* | i[[3456789]]86-*-darwin* | x86_64-*-darwin9*)
     413  powerpc-*-darwin* | i[[3456789]]86-*-darwin* | x86_64-*-darwin[[912]]*)
    414414    noconfigdirs="$noconfigdirs bfd binutils ld gas opcodes gdb gprof"
    415415    noconfigdirs="$noconfigdirs sim target-rda"
    416416    ;;
  • libjava/configure

    old new  
    2729727297 m68*-*-linux*)
    2729827298    SIGNAL_HANDLER=include/dwarf2-signal.h
    2729927299    ;;
    27300  powerpc*-*-darwin* | i?86-*-darwin9* | x86_64-*-darwin9*)
     27300 powerpc*-*-darwin* | i?86-*-darwin[912]* | x86_64-*-darwin[912]*)
    2730127301    SIGNAL_HANDLER=include/darwin-signal.h
    2730227302    ;;
    2730327303 *)
  • libjava/configure.ac

    old new  
    15631563 m68*-*-linux*)
    15641564    SIGNAL_HANDLER=include/dwarf2-signal.h
    15651565    ;;
    1566  powerpc*-*-darwin* | i?86-*-darwin9* | x86_64-*-darwin9*)
     1566 powerpc*-*-darwin* | i?86-*-darwin[[912]]* | x86_64-*-darwin[[912]]*)
    15671567    SIGNAL_HANDLER=include/darwin-signal.h
    15681568    ;;
    15691569 *)
  • libjava/configure.host

    old new  
    295295        slow_pthread_self=
    296296        can_unwind_signal=no
    297297        ;;
    298   i?86-*-darwin9*)
     298  i?86-*-darwin[912]*)
    299299        can_unwind_signal=yes
    300300        DIVIDESPEC=-f%{m32:no-}%{!m32:%{!m64:no-}}%{m64:}use-divide-subroutine
    301301        ;;
    302   x86_64-*-darwin9*)
     302  x86_64-*-darwin[912]*)
    303303        enable_hash_synchronization_default=yes
    304304        slow_pthread_self=
    305305        can_unwind_signal=yes