From patchwork Sat Oct 15 23:12:32 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andi Kleen X-Patchwork-Id: 120005 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 21B4FB6F68 for ; Sun, 16 Oct 2011 10:13:06 +1100 (EST) Received: (qmail 32408 invoked by alias); 15 Oct 2011 23:13:03 -0000 Received: (qmail 32390 invoked by uid 22791); 15 Oct 2011 23:13:01 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from one.firstfloor.org (HELO one.firstfloor.org) (213.235.205.2) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 15 Oct 2011 23:12:47 +0000 Received: by one.firstfloor.org (Postfix, from userid 503) id 31EF922C802D; Sun, 16 Oct 2011 01:12:43 +0200 (CEST) From: Andi Kleen To: gcc-patches@gcc.gnu.org Cc: Andi Kleen , hubicka@ucw.cz Subject: [PATCH] Rename __gnu_slim_lto to __gnu_lto_slim Date: Sun, 16 Oct 2011 01:12:32 +0200 Message-Id: <1318720352-10832-1-git-send-email-andi@firstfloor.org> 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 From: Andi Kleen Some external tools special case __gnu_lto* symbols, and the new __gnu_slim_lto was the only LTO symbol not matching this pattern. Since I don't think there are any users rename it to __gnu_lto_slim Passes bootstrap and test suite on x86_64-linux. Ok? Cc: hubicka@ucw.cz gcc/: 2011-10-13 Andi Kleen * toplev.c (compile_file): Rename __gnu_slim_lto to __gnu_lto_slim. --- gcc/toplev.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gcc/toplev.c b/gcc/toplev.c index ab6b5a4..63e229e 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -651,13 +651,13 @@ compile_file (void) { #if defined ASM_OUTPUT_ALIGNED_DECL_COMMON ASM_OUTPUT_ALIGNED_DECL_COMMON (asm_out_file, NULL_TREE, - "__gnu_slim_lto", + "__gnu_lto_slim", (unsigned HOST_WIDE_INT) 1, 8); #elif defined ASM_OUTPUT_ALIGNED_COMMON - ASM_OUTPUT_ALIGNED_COMMON (asm_out_file, "__gnu_slim_lto", + ASM_OUTPUT_ALIGNED_COMMON (asm_out_file, "__gnu_lto_slim", (unsigned HOST_WIDE_INT) 1, 8); #else - ASM_OUTPUT_COMMON (asm_out_file, "__gnu_slim_lto", + ASM_OUTPUT_COMMON (asm_out_file, "__gnu_lto_slim", (unsigned HOST_WIDE_INT) 1, (unsigned HOST_WIDE_INT) 1); #endif