From patchwork Fri Dec 9 15:25:15 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Earnshaw X-Patchwork-Id: 130407 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 6C9131007D8 for ; Sat, 10 Dec 2011 02:25:40 +1100 (EST) Received: (qmail 13517 invoked by alias); 9 Dec 2011 15:25:36 -0000 Received: (qmail 13506 invoked by uid 22791); 9 Dec 2011 15:25:35 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW, TW_FP, TW_VF X-Spam-Check-By: sourceware.org Received: from service87.mimecast.com (HELO service87.mimecast.com) (91.220.42.44) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 09 Dec 2011 15:25:19 +0000 Received: from cam-owa2.Emea.Arm.com (fw-tnat.cambridge.arm.com [217.140.96.21]) by service87.mimecast.com; Fri, 09 Dec 2011 15:25:17 +0000 Received: from [10.1.69.67] ([10.1.255.212]) by cam-owa2.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 9 Dec 2011 15:25:15 +0000 Message-ID: <4EE2285B.3060305@arm.com> Date: Fri, 09 Dec 2011 15:25:15 +0000 From: Richard Earnshaw User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2 MIME-Version: 1.0 To: gcc-patches@gcc.gnu.org Subject: [RFC, PATCH] ARM related deprecations X-MC-Unique: 111120915251700701 X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org I think we've reached the point where the following target configurations should be End-of-Life'd. As such, I'd like to mark them as deprecated in gcc-4.7, prior to removal after the branch. I'd also like to remove at that time support for some now obsolete co-processor units, namely the FPA and Maverick. For the time being I've kept the ecos-elf and the legacy RTEMS targets, but I'm hereby putting them on notice as candidates for deprecation in the next cycle. RTEMS how has an EABI conformant port, and ecos-elf really should be moved in that direction too, if it is not to end up dead very quickly. * config.gcc (arm*-*-elf, arm*-*-linux-gnu): Deprecate. (--with-fpu={fpa,fpe*,maverick}): Likewise. R. --- config.gcc (revision 182097) +++ config.gcc (local) @@ -242,7 +242,14 @@ md_file= # Obsolete configurations. case ${target} in + # Avoid special cases that are not obsolete + arm*-*-linux-gnueabi* \ + | arm*-*-ecos-elf \ + ) + ;; alpha*-dec-osf5.1* \ + | arm*-*-elf \ + | arm*-*-linux* \ | i[34567]86-*-interix3* \ | mips-sgi-irix6.5 \ | mips*-*-openbsd* \ @@ -3021,12 +3028,20 @@ case "${target}" in case "$with_fpu" in "" \ - | fpa | fpe2 | fpe3 | maverick | vfp | vfp3 | vfpv3 \ + | vfp | vfp3 | vfpv3 \ | vfpv3-fp16 | vfpv3-d16 | vfpv3-d16-fp16 | vfpv3xd \ | vfpv3xd-fp16 | neon | neon-fp16 | vfpv4 | vfpv4-d16 \ | fpv4-sp-d16 | neon-vfpv4) # OK ;; + fpa | fpe2 | fpe3 | maverick) + if test "x$enable_obsolete" != xyes; then + echo "*** Configuration option --with-fpu=${with_fpu} is obsolete." >&2 + echo "*** Specify --enable-obsolete to build it anyway." >&2 + echo "*** Support will be REMOVED in the next major release of GCC." >&2 + exit 1 + fi + ;; *) echo "Unknown fpu used in --with-fpu=$with_fpu" 2>&1 exit 1