patch-config_sub 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. --- rpm-4.7.0.orig/config.sub 2008-08-30 00:27:10.000000000 +0200
  2. +++ rpm-4.7.0/config.sub 2009-06-11 17:31:39.670840385 +0200
  3. @@ -4,7 +4,7 @@
  4. # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
  5. # Free Software Foundation, Inc.
  6. -timestamp='2008-01-16'
  7. +timestamp='2008-09-08'
  8. # This file is (in principle) common to ALL GNU software.
  9. # The presence of a machine in this file suggests that SOME GNU software
  10. @@ -244,18 +244,20 @@ case $basic_machine in
  11. | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
  12. | bfin \
  13. | c4x | clipper \
  14. - | d10v | d30v | dlx | dsp16xx \
  15. + | d10v | d30v | dlx | dsp16xx | dvp \
  16. | fido | fr30 | frv \
  17. | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
  18. | i370 | i860 | i960 | ia64 \
  19. | ip2k | iq2000 \
  20. | m32c | m32r | m32rle | m68000 | m68k | m88k \
  21. - | maxq | mb | microblaze | mcore | mep \
  22. + | maxq | mb | microblaze | mcore | mep | metag \
  23. | mips | mipsbe | mipseb | mipsel | mipsle \
  24. | mips16 \
  25. | mips64 | mips64el \
  26. - | mips64vr | mips64vrel \
  27. + | mips64octeon | mips64octeonel \
  28. | mips64orion | mips64orionel \
  29. + | mips64r5900 | mips64r5900el \
  30. + | mips64vr | mips64vrel \
  31. | mips64vr4100 | mips64vr4100el \
  32. | mips64vr4300 | mips64vr4300el \
  33. | mips64vr5000 | mips64vr5000el \
  34. @@ -277,7 +279,7 @@ case $basic_machine in
  35. | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
  36. | pyramid \
  37. | score \
  38. - | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
  39. + | sh | sh[1234] | sh[24]a | sh[24]a*eb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
  40. | sh64 | sh64le \
  41. | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
  42. | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
  43. @@ -286,7 +288,7 @@ case $basic_machine in
  44. | v850 | v850e \
  45. | we32k \
  46. | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
  47. - | z8k)
  48. + | z8k | z80)
  49. basic_machine=$basic_machine-unknown
  50. ;;
  51. m6811 | m68hc11 | m6812 | m68hc12)
  52. @@ -331,12 +333,14 @@ case $basic_machine in
  53. | ip2k-* | iq2000-* \
  54. | m32c-* | m32r-* | m32rle-* \
  55. | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
  56. - | m88110-* | m88k-* | maxq-* | mcore-* \
  57. + | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
  58. | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
  59. | mips16-* \
  60. | mips64-* | mips64el-* \
  61. - | mips64vr-* | mips64vrel-* \
  62. + | mips64octeon-* | mips64octeonel-* \
  63. | mips64orion-* | mips64orionel-* \
  64. + | mips64r5900-* | mips64r5900el-* \
  65. + | mips64vr-* | mips64vrel-* \
  66. | mips64vr4100-* | mips64vr4100el-* \
  67. | mips64vr4300-* | mips64vr4300el-* \
  68. | mips64vr5000-* | mips64vr5000el-* \
  69. @@ -358,20 +362,20 @@ case $basic_machine in
  70. | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
  71. | pyramid-* \
  72. | romp-* | rs6000-* \
  73. - | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
  74. + | sh-* | sh[1234]-* | sh[24]a-* | sh[24]a*eb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
  75. | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
  76. | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
  77. | sparclite-* \
  78. | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
  79. | tahoe-* | thumb-* \
  80. - | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
  81. + | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \
  82. | tron-* \
  83. | v850-* | v850e-* | vax-* \
  84. | we32k-* \
  85. | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
  86. | xstormy16-* | xtensa*-* \
  87. | ymp-* \
  88. - | z8k-*)
  89. + | z8k-* | z80-*)
  90. ;;
  91. # Recognize the basic CPU types without company name, with glob match.
  92. xtensa*)
  93. @@ -459,6 +463,10 @@ case $basic_machine in
  94. basic_machine=c90-cray
  95. os=-unicos
  96. ;;
  97. + cegcc)
  98. + basic_machine=arm-unknown
  99. + os=-cegcc
  100. + ;;
  101. convex-c1)
  102. basic_machine=c1-convex
  103. os=-bsd
  104. @@ -526,6 +534,10 @@ case $basic_machine in
  105. basic_machine=m88k-motorola
  106. os=-sysv3
  107. ;;
  108. + dicos)
  109. + basic_machine=i686-pc
  110. + os=-dicos
  111. + ;;
  112. djgpp)
  113. basic_machine=i586-pc
  114. os=-msdosdjgpp
  115. @@ -714,6 +726,24 @@ case $basic_machine in
  116. basic_machine=m68k-atari
  117. os=-mint
  118. ;;
  119. + mipsEE* | ee | ps2)
  120. + basic_machine=mips64r5900el-scei
  121. + case $os in
  122. + -linux*)
  123. + ;;
  124. + *)
  125. + os=-elf
  126. + ;;
  127. + esac
  128. + ;;
  129. + iop)
  130. + basic_machine=mipsel-scei
  131. + os=-irx
  132. + ;;
  133. + dvp)
  134. + basic_machine=dvp-scei
  135. + os=-elf
  136. + ;;
  137. mips3*-*)
  138. basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
  139. ;;
  140. @@ -1128,6 +1158,10 @@ case $basic_machine in
  141. basic_machine=z8k-unknown
  142. os=-sim
  143. ;;
  144. + z80-*-coff)
  145. + basic_machine=z80-unknown
  146. + os=-sim
  147. + ;;
  148. none)
  149. basic_machine=none-none
  150. os=-none
  151. @@ -1248,7 +1282,7 @@ case $os in
  152. | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
  153. | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
  154. | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
  155. - | -chorusos* | -chorusrdb* \
  156. + | -chorusos* | -chorusrdb* | -cegcc* \
  157. | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
  158. | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
  159. | -uxpv* | -beos* | -mpeix* | -udk* \
  160. @@ -1258,7 +1292,7 @@ case $os in
  161. | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
  162. | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
  163. | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
  164. - | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
  165. + | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -irx*)
  166. # Remember, each alternative MUST END IN *, to match a version number.
  167. ;;
  168. -qnx*)
  169. @@ -1388,6 +1422,9 @@ case $os in
  170. -zvmoe)
  171. os=-zvmoe
  172. ;;
  173. + -dicos*)
  174. + os=-dicos
  175. + ;;
  176. -none)
  177. ;;
  178. *)