From patchwork Wed Nov 3 22:08:42 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kaz Kojima X-Patchwork-Id: 70076 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 A79B4B70A9 for ; Thu, 4 Nov 2010 09:08:51 +1100 (EST) Received: (qmail 31503 invoked by alias); 3 Nov 2010 22:08:50 -0000 Received: (qmail 31495 invoked by uid 22791); 3 Nov 2010 22:08:49 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, SPF_HELO_PASS, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mo11.iij4u.or.jp (HELO mo.iij4u.or.jp) (210.138.174.79) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 03 Nov 2010 22:08:45 +0000 Received: by mo.iij4u.or.jp (mo11) id oA3M8hHD026740; Thu, 4 Nov 2010 07:08:43 +0900 Received: from localhost (238.152.138.210.bn.2iij.net [210.138.152.238]) by mbox.iij4u.or.jp (mbox10) id oA3M8gTi027407; Thu, 4 Nov 2010 07:08:42 +0900 Date: Thu, 04 Nov 2010 07:08:42 +0900 (JST) Message-Id: <20101104.070842.177589926.kkojima@rr.iij4u.or.jp> To: gcc-patches@gcc.gnu.org Subject: [patch committed] config.gcc: Add newlib-stdint.h for sh64* when newlib enabled From: Kaz Kojima Mime-Version: 1.0 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've noticed that config.gcc missed to newlib-stdint.h to tm_file for sh64-elf and it causes many testsuite failures. Tested for cross sh64-elf and native i686-pc-linux-gnu. Applied on trunk. Regards, kaz --- 2010-11-03 Kaz Kojima * config.gcc (sh64*) : Add newlib-stdint.h for newlib targets. --- ORIG/trunk/gcc/config.gcc 2010-10-15 10:11:34.000000000 +0900 +++ trunk/gcc/config.gcc 2010-11-01 23:36:23.000000000 +0900 @@ -2328,6 +2328,9 @@ sh-*-symbianelf* | sh[12346l]*-*-symbian sh64*) tmake_file="${tmake_file} sh/t-sh64" tm_file="${tm_file} sh/sh64.h" + if test x$with_newlib = xyes; then + tm_file="${tm_file} newlib-stdint.h" + fi extra_headers="shmedia.h ushmedia.h sshmedia.h" ;; *-*-symbianelf*)