From patchwork Fri Feb 14 08:09:09 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chung-Ju Wu X-Patchwork-Id: 320307 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]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 124B82C0079 for ; Fri, 14 Feb 2014 19:09:21 +1100 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:date:message-id:subject:from:to:content-type; q= dns; s=default; b=NcUR27tCvZ9EVZ5p/d0vl2KfqE+A8efa13kPIe71cbTtjh FOAuL8ToIgcKdmcluwM2k/TXjsnNxPRX7MLSC5hQ6EDdW0Ew598ljA8XA3eHFs5l tt28YLPntjYLWCJg3uALRBrycgEI4W09CIbgdGT29PG2pWe61r26Yrv/rB+bE= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:date:message-id:subject:from:to:content-type; s= default; bh=imX05WFSDQF64tciS6peu/JLcvM=; b=E7DIbRC2Ve4pxvSKFCWA Uam+GmqvJo/r0uTOAkF6HIbwPLHolRBwDJw5gvOr/avfdQmAWGgzJtJFX31MTvy6 4yXwhDCwbPppKvCm2SOr89ldDaxR3hmi5Z6B0ofDlobFr+fcAhjkwjRkcVXtuHXv 4+Togwx0slxPT/chkd9Ve5I= Received: (qmail 28011 invoked by alias); 14 Feb 2014 08:09:14 -0000 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 Received: (qmail 28001 invoked by uid 89); 14 Feb 2014 08:09:13 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-qa0-f49.google.com Received: from mail-qa0-f49.google.com (HELO mail-qa0-f49.google.com) (209.85.216.49) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Fri, 14 Feb 2014 08:09:12 +0000 Received: by mail-qa0-f49.google.com with SMTP id w8so17445451qac.8 for ; Fri, 14 Feb 2014 00:09:09 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.224.127.73 with SMTP id f9mr10555695qas.11.1392365349896; Fri, 14 Feb 2014 00:09:09 -0800 (PST) Received: by 10.140.93.82 with HTTP; Fri, 14 Feb 2014 00:09:09 -0800 (PST) Date: Fri, 14 Feb 2014 16:09:09 +0800 Message-ID: Subject: [PATCH, nds32] Committed: Fix typo in comment. From: Chung-Ju Wu To: gcc patches X-IsSubscribed: yes Hi, There are few typo in comment of nds32 port. Fixed them as obvious, committed as Rev.207775. Best regards, jasonwucj Index: gcc/ChangeLog =================================================================== --- gcc/ChangeLog (revision 207774) +++ gcc/ChangeLog (revision 207775) @@ -1,5 +1,10 @@ 2014-02-14 Chung-Ju Wu + * config/nds32/t-mlibs (MULTILIB_OPTIONS): Fix typo in comment. + * config/nds32/nds32.c (nds32_merge_decl_attributes): Likewise. + +2014-02-14 Chung-Ju Wu + * config/nds32/nds32.c (nds32_naked_function_p): Follow the GNU coding standards. Index: gcc/config/nds32/t-mlibs =================================================================== --- gcc/config/nds32/t-mlibs (revision 207774) +++ gcc/config/nds32/t-mlibs (revision 207775) @@ -28,7 +28,7 @@ # 6. -mlittle-endian -mgp-direct # 7. -mlittle-endian -mno-gp-direct # 8. -mbig-endian -mgp-direct -# 9. -mlittle-endian -mno-gp-direct +# 9. -mbig-endian -mno-gp-direct # # We also define a macro MULTILIB_DEFAULTS in nds32.h that tells the # driver program which options are defaults for this target and thus Index: gcc/config/nds32/nds32.c =================================================================== --- gcc/config/nds32/nds32.c (revision 207774) +++ gcc/config/nds32/nds32.c (revision 207775) @@ -3084,7 +3084,7 @@ combined_attrs = merge_attributes (DECL_ATTRIBUTES (olddecl), DECL_ATTRIBUTES (newdecl)); - /* Sinc newdecl is acutally a duplicate of olddecl, + /* Since newdecl is acutally a duplicate of olddecl, we can take olddecl for some operations. */ if (TREE_CODE (olddecl) == FUNCTION_DECL) {