From patchwork Wed Jun 9 14:05:29 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Anatoly Sokolov X-Patchwork-Id: 55093 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 1394C1007D2 for ; Thu, 10 Jun 2010 00:05:39 +1000 (EST) Received: (qmail 11846 invoked by alias); 9 Jun 2010 14:05:33 -0000 Received: (qmail 11773 invoked by uid 22791); 9 Jun 2010 14:05:32 -0000 X-SWARE-Spam-Status: No, hits=3.0 required=5.0 tests=AWL, BAYES_50, KAM_THEBAT, RCVD_IN_DNSWL_NONE, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from contrabass.post.ru (HELO contrabass.post.ru) (85.21.78.5) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 09 Jun 2010 14:05:08 +0000 Received: from corbina.ru (mail.post.ru [195.14.50.16]) by contrabass.post.ru (Postfix) with ESMTP id E6927AE265; Wed, 9 Jun 2010 18:05:04 +0400 (MSD) Received: from [89.178.246.61] (account aesok@post.ru HELO Vista.corbina.ru) by corbina.ru (CommuniGate Pro SMTP 5.1.14) with ESMTPA id 219375238; Wed, 09 Jun 2010 18:05:04 +0400 Date: Wed, 9 Jun 2010 18:05:29 +0400 From: Anatoly Sokolov Message-ID: <1692941198.20100609180529@post.ru> To: Anatoly Sokolov CC: gcc-patches@gcc.gnu.org, ni1d@arrl.net Subject: Re: [PDP11] Hookize FUNCTION_VALUE, FUNCTION_OUTGOING_VALUE, LIBCALL_VALUE and FUNCTION_VALUE_REGNO_P In-Reply-To: <102633617.20100530225448@post.ru> References: <102633617.20100530225448@post.ru> 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 Здравствуйте, Anatoly. Вы писали 30 мая 2010 г., 22:54:48: Hello. > This patch removes obsolete FUNCTION_VALUE, FUNCTION_OUTGOING_VALUE, > LIBCALL_VALUE and FUNCTION_VALUE_REGNO_P macros from PDP11 back end in the GCC > and introduces equivalent TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE and > TARGET_FUNCTION_VALUE_REGNO_P target hooks. > * config/pdp11/pdp11.h (FUNCTION_VALUE, FUNCTION_OUTGOING_VALUE, > LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P): Remove macros. > * config/pdp11/pdp11.c (moxie_function_value, moxie_libcall_value, > moxie_function_value_regno_p): New functions. > (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE, > TARGET_FUNCTION_VALUE_REGNO_P): Define. This patch fix ChangeLog. Committed. Anatoly. Index: gcc/ChangeLog =================================================================== --- gcc/ChangeLog (revision 160473) +++ gcc/ChangeLog (working copy) @@ -74,8 +74,8 @@ * config/pdp11/pdp11.h (FUNCTION_VALUE, FUNCTION_OUTGOING_VALUE, LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P): Remove macros. - * config/pdp11/pdp11.c (moxie_function_value, moxie_libcall_value, - moxie_function_value_regno_p): New functions. + * config/pdp11/pdp11.c (pdp11_function_value, pdp11_libcall_value, + pdp11_function_value_regno_p): New functions. (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE, TARGET_FUNCTION_VALUE_REGNO_P): Define.