From patchwork Fri Jul 6 10:14:24 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Uros Bizjak X-Patchwork-Id: 169405 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 6B1532C0084 for ; Fri, 6 Jul 2012 20:14:41 +1000 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1342174483; h=Comment: DomainKey-Signature:Received:Received:Received:Received: MIME-Version:Received:Received:Date:Message-ID:Subject:From:To: Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:Sender:Delivered-To; bh=J/KKAx+ UhFvg/G3T3BBiW/9EA4A=; b=UgRh2+5qQi2kEp4OM27xmsdrUVxIXcGHud9HKAm avcjncm03YZJzrfgKwJwDJ7EQ/jSDsKbnqB5Yah/9KbQ8Bh4ZW0Tu6QzlwGAAcES deY0WEgVp+fZM8xxZd01a+4bAdeznLewQt6xIHzvh3Io3siD741it6M1NElBjusC p1vo= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:MIME-Version:Received:Received:Date:Message-ID:Subject:From:To:Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=N/99c0xRTJBzDPnbC0Z0yuu+lOpdT4FVXbdYn9RQvb31/z6IR6qN+x5BZf0jp6 zq2025NuCer+fhkPuwmjvAff4uxbEpjWPT8v+98Mf1vyrLcH28wV915Ua2IIsLIJ Ytz1EU7CHa7TrWyRjtf36sIWTamYUyzDNsEkOFJYsAN68=; Received: (qmail 24297 invoked by alias); 6 Jul 2012 10:14:39 -0000 Received: (qmail 24286 invoked by uid 22791); 6 Jul 2012 10:14:38 -0000 X-SWARE-Spam-Status: No, hits=-4.1 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, KHOP_RCVD_TRUST, RCVD_IN_DNSWL_LOW, RCVD_IN_HOSTKARMA_YE, TW_ZJ X-Spam-Check-By: sourceware.org Received: from mail-yx0-f175.google.com (HELO mail-yx0-f175.google.com) (209.85.213.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 06 Jul 2012 10:14:25 +0000 Received: by yenl13 with SMTP id l13so8624235yen.20 for ; Fri, 06 Jul 2012 03:14:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.60.2.74 with SMTP id 10mr30288766oes.64.1341569665052; Fri, 06 Jul 2012 03:14:25 -0700 (PDT) Received: by 10.76.112.44 with HTTP; Fri, 6 Jul 2012 03:14:24 -0700 (PDT) Date: Fri, 6 Jul 2012 12:14:24 +0200 Message-ID: Subject: [PATCH, i386]: Make construct_plt_address static From: Uros Bizjak To: gcc-patches@gcc.gnu.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 Hello! 2012-07-06 Uros Bizjak * config/i386/i386.c (construct_plt_address): Make static. * config/i386/i386-protos.h (construct_plt_address): Remove. Tested on x86_64-pc-linux-gnu, committed to mainline SVN. Uros. Index: i386-protos.h =================================================================== --- i386-protos.h (revision 189310) +++ i386-protos.h (working copy) @@ -290,7 +290,6 @@ extern void ix86_fp_comparison_codes (enum rtx_code code, enum rtx_code *, enum rtx_code *, enum rtx_code *); extern enum rtx_code ix86_fp_compare_code_to_integer (enum rtx_code); -extern rtx construct_plt_address (rtx); #endif extern int asm_preferred_eh_data_format (int, int); Index: i386.c =================================================================== --- i386.c (revision 189315) +++ i386.c (working copy) @@ -23090,7 +23090,7 @@ /* For given symbol (function) construct code to compute address of it's PLT entry in large x86-64 PIC model. */ -rtx +static rtx construct_plt_address (rtx symbol) { rtx tmp, unspec;