From patchwork Sat Jul 25 02:36:59 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tbsaunde+gcc@tbsaunde.org X-Patchwork-Id: 499889 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 0C9F6140313 for ; Sat, 25 Jul 2015 12:37:47 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=it6z9XP9; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:subject:date:message-id:in-reply-to:references; q=dns; s= default; b=EUbu7s2MKBHNPmfbPO90sdMpiMwEHdTKSnrodTYFY7X5nrKIEsJ3L Ccst0/D+xCCgsnttrjvzrRcqnZHXGoZL6LYiB9hKAMlS2FOccQdIP+p0622OZXPu jE6955VRwTAnRZ0uxmIOind4+tvGbPzb6nKW8jc1JlfNYoKpVW8aMs= 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:from :to:subject:date:message-id:in-reply-to:references; s=default; bh=FwUoFtHPiUnHJuC74cCQUkn0K0U=; b=it6z9XP9D99gr69Qp6iw3364QPcN im1htmLGI3Ue8W34IOvtQ0/06zzGum3Cu1Dj4BdMzBUvw6G7nTNxjfpLgqsNcR/X 5Lv7iJje3O3uxqFG4ZhNZs/S7as2Qb8TZbJSWCakO2DLRQpoiGrUSSmMcRHn5ghp aQRG6bCaZvPFhsQ= Received: (qmail 14444 invoked by alias); 25 Jul 2015 02:37:30 -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 14359 invoked by uid 89); 25 Jul 2015 02:37:15 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.3 required=5.0 tests=AWL, BAYES_00, KAM_LAZY_DOMAIN_SECURITY, RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: paperclip.tbsaunde.org Received: from tbsaunde.org (HELO paperclip.tbsaunde.org) (66.228.47.254) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 25 Jul 2015 02:37:14 +0000 Received: from iceball.corp.tor1.mozilla.com (unknown [66.207.208.102]) by paperclip.tbsaunde.org (Postfix) with ESMTPSA id 8B974C0D3 for ; Sat, 25 Jul 2015 02:37:12 +0000 (UTC) From: tbsaunde+gcc@tbsaunde.org To: gcc-patches@gcc.gnu.org Subject: [PATCH 3/4] remove unused TARGET_DEFERRED_OUTPUT_DEFS Date: Fri, 24 Jul 2015 22:36:59 -0400 Message-Id: <1437791820-17927-4-git-send-email-tbsaunde+gcc@tbsaunde.org> In-Reply-To: <1437791820-17927-1-git-send-email-tbsaunde+gcc@tbsaunde.org> References: <1437791820-17927-1-git-send-email-tbsaunde+gcc@tbsaunde.org> X-IsSubscribed: yes From: Trevor Saunders gcc/ChangeLog: 2015-07-24 Trevor Saunders * config/rs6000/aix43.h (TARGET_DEFERRED_OUTPUT_DEFS): Remove. * defaults.h (TARGET_DEFERRED_OUTPUT_DEFS): Likewise. * doc/tm.texi: Regenerate. * doc/tm.texi.in (TARGET_DEFERRED_OUTPUT_DEFS): Remove documentation of TARGET_DEFERRED_OUTPUT_DEFS; --- gcc/config/rs6000/aix43.h | 5 ----- gcc/defaults.h | 6 ------ gcc/doc/tm.texi | 9 --------- gcc/doc/tm.texi.in | 9 --------- 4 files changed, 29 deletions(-) diff --git a/gcc/config/rs6000/aix43.h b/gcc/config/rs6000/aix43.h index 5bcd40f..512a634 100644 --- a/gcc/config/rs6000/aix43.h +++ b/gcc/config/rs6000/aix43.h @@ -150,11 +150,6 @@ do { \ #undef LD_INIT_SWITCH #define LD_INIT_SWITCH "-binitfini" -/* The IBM AIX 4.x assembler doesn't support forward references in - .set directives. We handle this by deferring the output of .set - directives to the end of the compilation unit. */ -#define TARGET_DEFERRED_OUTPUT_DEFS(DECL,TARGET) true - /* This target uses the aix64.opt file. */ #define TARGET_USES_AIX64_OPT 1 diff --git a/gcc/defaults.h b/gcc/defaults.h index 8684c58..3ecf9fd 100644 --- a/gcc/defaults.h +++ b/gcc/defaults.h @@ -85,12 +85,6 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see while (0) #endif -/* Decide whether to defer emitting the assembler output for an equate - of two values. The default is to not defer output. */ -#ifndef TARGET_DEFERRED_OUTPUT_DEFS -#define TARGET_DEFERRED_OUTPUT_DEFS(DECL,TARGET) false -#endif - /* This is how to output the definition of a user-level label named NAME, such as the label on variable NAME. */ diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index faa3017..8495e5c 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -8272,15 +8272,6 @@ If @code{SET_ASM_OP} is defined, a default definition is provided which is correct for most systems. @end defmac -@defmac TARGET_DEFERRED_OUTPUT_DEFS (@var{decl_of_name}, @var{decl_of_value}) -A C statement that evaluates to true if the assembler code which defines -(equates) the symbol whose tree node is @var{decl_of_name} to have the value -of the tree node @var{decl_of_value} should be emitted near the end of the -current compilation unit. The default is to not defer output of defines. -This macro affects defines output by @samp{ASM_OUTPUT_DEF} and -@samp{ASM_OUTPUT_DEF_FROM_DECLS}. -@end defmac - @defmac ASM_OUTPUT_WEAK_ALIAS (@var{stream}, @var{name}, @var{value}) A C statement to output to the stdio stream @var{stream} assembler code which defines (equates) the weak symbol @var{name} to have the value diff --git a/gcc/doc/tm.texi.in b/gcc/doc/tm.texi.in index 72a7f84..8f5f786 100644 --- a/gcc/doc/tm.texi.in +++ b/gcc/doc/tm.texi.in @@ -5840,15 +5840,6 @@ If @code{SET_ASM_OP} is defined, a default definition is provided which is correct for most systems. @end defmac -@defmac TARGET_DEFERRED_OUTPUT_DEFS (@var{decl_of_name}, @var{decl_of_value}) -A C statement that evaluates to true if the assembler code which defines -(equates) the symbol whose tree node is @var{decl_of_name} to have the value -of the tree node @var{decl_of_value} should be emitted near the end of the -current compilation unit. The default is to not defer output of defines. -This macro affects defines output by @samp{ASM_OUTPUT_DEF} and -@samp{ASM_OUTPUT_DEF_FROM_DECLS}. -@end defmac - @defmac ASM_OUTPUT_WEAK_ALIAS (@var{stream}, @var{name}, @var{value}) A C statement to output to the stdio stream @var{stream} assembler code which defines (equates) the weak symbol @var{name} to have the value