From patchwork Fri Oct 26 01:05:30 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Ralf Corsepius X-Patchwork-Id: 194331 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 CDDF72C00B0 for ; Fri, 26 Oct 2012 12:08:29 +1100 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1351818511; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Received:Received:Message-ID:Date:From:User-Agent:MIME-Version: To:Subject:Content-Type:Mailing-List:Precedence:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:Sender: Delivered-To; bh=SBRIi8YrFznTBOyf1AzflV2tTXM=; b=PAXNd1PSPr7u4yB PhuzwGKxWXbMvS2SRL1DdlnTBaVvNBaTbRxEr8jQDJBqph4fIcwLuavB4AY04fD9 j0OJsMAlchToF4pJjf9SI58IDOz/nbWVElpAMDwnhW7j6h3bRrA9nGQrgBrx25T9 vk4m2UmSpnDetMImp06gf4SSRL14= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Received:Received:Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=TuqP9w+y1Vx2ZvwCV+na/WIGElMHjQvg6RAB5CFYaFjZ/UG4ub6h2e0c4m1js5 ZlLol6MHn61d5nDQ0h2UxIKxfei96U7yJocSxothbpMHptqpkYwrflu7xv9k2Bw/ bW7OPFFRt6x4/ydlqThEfURMZg44VjWGax//Pn6RsuXQY=; Received: (qmail 8306 invoked by alias); 26 Oct 2012 01:08:23 -0000 Received: (qmail 8294 invoked by uid 22791); 26 Oct 2012 01:08:21 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mout0.freenet.de (HELO mout0.freenet.de) (195.4.92.90) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 26 Oct 2012 01:08:14 +0000 Received: from [195.4.92.140] (helo=mjail0.freenet.de) by mout0.freenet.de with esmtpa (ID ralf.corsepius@freenet.de) (port 25) (Exim 4.76 #1) id 1TRYPE-0006V1-SS for gcc-patches@gcc.gnu.org; Fri, 26 Oct 2012 03:08:12 +0200 Received: from localhost ([::1]:40908 helo=mjail0.freenet.de) by mjail0.freenet.de with esmtpa (ID ralf.corsepius@freenet.de) (Exim 4.76 #1) id 1TRYPE-00038J-M7 for gcc-patches@gcc.gnu.org; Fri, 26 Oct 2012 03:08:12 +0200 Received: from [195.4.92.10] (port=46199 helo=0.mx.freenet.de) by mjail0.freenet.de with esmtpa (ID ralf.corsepius@freenet.de) (Exim 4.76 #1) id 1TRYMc-00032y-RP for gcc-patches@gcc.gnu.org; Fri, 26 Oct 2012 03:05:30 +0200 Received: from hsi-kbw-078-043-063-180.hsi4.kabel-badenwuerttemberg.de ([78.43.63.180]:60755 helo=[192.168.1.104]) by 0.mx.freenet.de with esmtpsa (ID ralf.corsepius@freenet.de) (TLSv1:CAMELLIA256-SHA:256) (port 587) (Exim 4.76 #1) id 1TRYMc-00033B-Ow for gcc-patches@gcc.gnu.org; Fri, 26 Oct 2012 03:05:30 +0200 Message-ID: <5089E1DA.3000901@rtems.org> Date: Fri, 26 Oct 2012 03:05:30 +0200 From: Ralf Corsepius User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121016 Thunderbird/16.0.1 MIME-Version: 1.0 To: "gcc-patches@gcc.gnu.org" Subject: [patch, applied] avr RTEMS config/avr/* cleanups. 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 Hi, I've applied the patch below to trunk and gcc-4.7-branch. It contains 2 RTEMS specific cleanups which have been in use for avr-rtems for quite a while. Ralf 2012-10-26 Ralf Corsépius * config/avr/rtems.h (TARGET_OS_CPP_BUILTINS): Remove __USE_INIT_FINI__. * config/avr/t-rtems (LIB1ASMFUNCS): Filter out _exit. Index: config/avr/rtems.h =================================================================== --- config/avr/rtems.h (revision 192827) +++ config/avr/rtems.h (working copy) @@ -23,6 +23,5 @@ #define TARGET_OS_CPP_BUILTINS() \ do { \ builtin_define ("__rtems__"); \ - builtin_define ("__USE_INIT_FINI__"); \ builtin_assert ("system=rtems"); \ } while (0) Index: config/avr/t-rtems =================================================================== --- config/avr/t-rtems (revision 192827) +++ config/avr/t-rtems (working copy) @@ -1,3 +1,4 @@ # Multilibs for avr RTEMS targets. -# ATM, this is just a stub +# RTEMS uses _exit from newlib +LIB1ASMFUNCS := $(filter-out _exit,$(LIB1ASMFUNCS))