From patchwork Tue Oct 30 07:10:39 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ralf Corsepius X-Patchwork-Id: 195316 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 486502C009B for ; Tue, 30 Oct 2012 18:13:49 +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=1352186030; 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=Mj/Ec6KqUfOiQKvoIzTmFzQqOhw=; b=Tau39+FZS/L9U76 hlgP41irZ3pcH3ZJwQz2zbsi3hjV7DZkcP+2Ze5XspOuc8ZkOfkcdH3bX+BdXhgQ Dzd9vx+iparu4DE97CUWcbEWByxNRZpG1USazcvAmpFhAm9UVKxVLNpAzLRXn353 y19KtdfZS/OxC9B2zFVIHyMHdO4I= 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=tCvxX06i4m8prlg1BLvYUCQ1TXFCdxjuJg1/p8c7djO7fKGAVp/7C5C+fyGOqb Z1HvkJGpAyniAVnGpnOV2YuOcdi9uaG9GoUKnyQI7PlA8pVPbeHyQZGrUc5Mm/bQ Xvwe08MBUI5gAiegCkuBymuok0RJLCp5zhzphAMUPhneY=; Received: (qmail 8497 invoked by alias); 30 Oct 2012 07:13:42 -0000 Received: (qmail 8483 invoked by uid 22791); 30 Oct 2012 07:13:41 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_HOSTKARMA_YE, TW_DP X-Spam-Check-By: sourceware.org Received: from mout3.freenet.de (HELO mout3.freenet.de) (195.4.92.93) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 30 Oct 2012 07:13:35 +0000 Received: from [195.4.92.142] (helo=mjail2.freenet.de) by mout3.freenet.de with esmtpa (ID ralf.corsepius@freenet.de) (port 25) (Exim 4.76 #1) id 1TT60x-0005XL-Ho; Tue, 30 Oct 2012 08:13:31 +0100 Received: from localhost ([::1]:44239 helo=mjail2.freenet.de) by mjail2.freenet.de with esmtpa (ID ralf.corsepius@freenet.de) (Exim 4.76 #1) id 1TT60x-00035E-CS; Tue, 30 Oct 2012 08:13:31 +0100 Received: from [195.4.92.18] (port=56411 helo=8.mx.freenet.de) by mjail2.freenet.de with esmtpa (ID ralf.corsepius@freenet.de) (Exim 4.76 #1) id 1TT5yE-0002Pq-GL; Tue, 30 Oct 2012 08:10:42 +0100 Received: from hsi-kbw-078-043-063-180.hsi4.kabel-badenwuerttemberg.de ([78.43.63.180]:33434 helo=[192.168.1.104]) by 8.mx.freenet.de with esmtpsa (ID ralf.corsepius@freenet.de) (TLSv1:CAMELLIA256-SHA:256) (port 587) (Exim 4.76 #1) id 1TT5yE-0004nq-4J; Tue, 30 Oct 2012 08:10:42 +0100 Message-ID: <508F7D6F.3010707@rtems.org> Date: Tue, 30 Oct 2012 08:10:39 +0100 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" , Joel Sherrill Subject: [patch,libgcc] m32r*rtems* add crtinit.o and crtfinit.o 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 would like to apply the patch below to trunk and gcc-4.7-branch. This patch was originalyl submitted by Joel Sherrill back in May (http://gcc.gnu.org/ml/gcc-patches/2012-05/msg01180.html), but had never received any feedback. It has been part of the rtems-gcc patches, since then. Ralf 2012-05-16 Joel Sherrill * config.host (m32r-*-rtems*): Include crtinit.o and crtfinit.o as extra_parts. diff --git a/libgcc/config.host b/libgcc/config.host index 051d6b0..bbf21a9 100644 --- a/libgcc/config.host +++ b/libgcc/config.host @@ -693,6 +693,7 @@ m32r-*-elf*) ;; m32r-*-rtems*) tmake_file="$tmake_file m32r/t-m32r t-fdpbit" + extra_parts="$extra_parts crtinit.o crtfini.o" ;; m32rle-*-elf*) tmake_file=t-fdpbit