Patchwork [i386] : Make construct_plt_address static

login
register
mail settings
Submitter Uros Bizjak
Date July 6, 2012, 10:14 a.m.
Message ID <CAFULd4YfAZNuQqHDj0D__FSm+k=eA8FTNo2igTLq1w0GEdROPA@mail.gmail.com>
Download mbox | patch
Permalink /patch/169405/
State New
Headers show

Comments

Uros Bizjak - July 6, 2012, 10:14 a.m.
Hello!

2012-07-06  Uros Bizjak  <ubizjak@gmail.com>

	* 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.

Patch

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;