From patchwork Sat Jul 10 11:41:53 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andi Kleen X-Patchwork-Id: 58475 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 E55D9B6ED0 for ; Sat, 10 Jul 2010 21:42:05 +1000 (EST) Received: (qmail 7399 invoked by alias); 10 Jul 2010 11:42:02 -0000 Received: (qmail 7389 invoked by uid 22791); 10 Jul 2010 11:42:02 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL, BAYES_00, T_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, 10 Jul 2010 11:41:56 +0000 Received: from basil.firstfloor.org (p5B3C9555.dip0.t-ipconnect.de [91.60.149.85]) by one.firstfloor.org (Postfix) with ESMTP id 58EE522C806E for ; Sat, 10 Jul 2010 13:41:54 +0200 (CEST) Received: by basil.firstfloor.org (Postfix, from userid 1000) id E00E9B24FE; Sat, 10 Jul 2010 13:41:53 +0200 (CEST) From: Andi Kleen References: <20100710141.607682497@firstfloor.org> In-Reply-To: <20100710141.607682497@firstfloor.org> To: gcc-patches@gcc.gnu.org Subject: [PATCH] [3/4] Rename lto_section_names to match lto_get_section_name Message-Id: <20100710114153.E00E9B24FE@basil.firstfloor.org> Date: Sat, 10 Jul 2010 13:41:53 +0200 (CEST) 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 The lto_section_names array was out of sync with the names used by lto_get_section_name. Fix the two to match. 2010-07-10 Andi Kleen * lto-section-in.c (lto_section_name): Synchronize names with lto_get_section_name. diff --git a/gcc/lto-section-in.c b/gcc/lto-section-in.c index 72f1d3d..c8c3d4a 100644 --- a/gcc/lto-section-in.c +++ b/gcc/lto-section-in.c @@ -50,13 +50,13 @@ const char *lto_section_name[LTO_N_SECTION_TYPES] = { "decls", "function_body", - "static_initializer", + "statics", "cgraph", - "varpool", + "vars", "refs", - "jump_funcs", - "ipa_pure_const", - "ipa_reference", + "jmpfuncs", + "pureconst", + "reference", "symtab", "opts", "cgraphopt"