From patchwork Sun Aug 22 16:14:48 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [revised] Depreciate darwin[0-5] Date: Sun, 22 Aug 2010 06:14:48 -0000 From: Jack Howarth X-Patchwork-Id: 62390 Message-Id: <20100822161448.GA16116@bromo.med.uc.edu> To: gcc-patches@gcc.gnu.org Cc: mikestump@comcast.net, iains@gcc.gnu.org This revised patch limits the depreciated darwin releases to those before darwin6 as well as removes the non-existent target entries for darwin10+ on powerpc-*-darwin*. Bootstrap and regression tested on x86_64-apple-darwin10. Okay for gcc trunk? Jack 2010-08-22 Jack Howarth * gcc/config.gcc: Add darwin[0-5] and darwin[0-5].* to unsupported target list. Remove non-existent *-darwin1[0-9]* and *-darwin[0-5] from powerpc-*-darwin* case. Index: gcc/config.gcc =================================================================== --- gcc/config.gcc (revision 163449) +++ gcc/config.gcc (working copy) @@ -237,6 +237,8 @@ | pdp11-*-bsd \ | sparc-hal-solaris2* \ | thumb-*-* \ + | *-*-darwin[0-5] \ + | *-*-darwin[0-5].* \ | *-*-linux*aout* \ | *-*-linux*coff* \ | *-*-linux*libc1* \ @@ -1950,14 +1952,14 @@ extra_options="${extra_options} rs6000/darwin.opt" extra_parts="crt2.o" case ${target} in - *-darwin1[0-9]* | *-darwin[8-9]*) + *-darwin[8-9]*) tmake_file="${tmake_file} rs6000/t-darwin8" tm_file="${tm_file} rs6000/darwin8.h" ;; *-darwin7*) tm_file="${tm_file} rs6000/darwin7.h" ;; - *-darwin[0-6]*) + *-darwin6*) ;; esac tmake_file="${tmake_file} t-slibgcc-darwin"