i386.c (construct_plt_address): Make static.
authorUros Bizjak <uros@gcc.gnu.org>
Fri, 6 Jul 2012 10:18:39 +0000 (12:18 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Fri, 6 Jul 2012 10:18:39 +0000 (12:18 +0200)
* config/i386/i386.c (construct_plt_address): Make static.
* config/i386/i386-protos.h (construct_plt_address): Remove.

From-SVN: r189319

gcc/ChangeLog
gcc/config/i386/i386-protos.h
gcc/config/i386/i386.c

index 834f4eb3bec9a3b2b4198081bf030774bcc1453e..15ee003686dc55c7f5cc5fea1022bf17981b7eb2 100644 (file)
@@ -1,3 +1,8 @@
+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.
+
 2012-07-06  Nick Clifton  <nickc@redhat.com>
 
        * config/mn10300/mn10300.c (mn10300_encode_section_info): Call
@@ -5,7 +10,7 @@
 
 2012-07-06  Uros Bizjak  <ubizjak@gmail.com>
 
-       PR target/53811
+       PR target/53853
        * config/i386/i386.c (x86_output_mi_thunk): For CM_LARGE_PIC model,
        emit PIC sequence for fnaddr symbol reference in advance.
 
 2012-07-05  Ramana Radhakrishnan  <ramana.radhakrishnan@linaro.org>
            Julian Brown  <julian@codesourcery.com>
 
-        PR target/48941
-        PR target/51980
-        * config/arm/neon-gen.ml (return_by_ptr): Delete.
-        (print_function): Handle empty strings.
-        (return): Delete use of return_by_ptr.
-        (mask_shape_for_shuffle): New function.
-        (mask_elems): Likewise.
-        (shuffle_fn): Likewise.
-        (params): Simplify and remove use of return_by_ptr.
-        (get_shuffle): New function.
-        (print_variant): Update.
-        * config/arm/neon.ml (rev_elems): New function.
-        (permute_range): Likewise.
-        (zip_range): Likewise.
-        (uzip_range): Likewise.
-        (trn_range): Likewise.
-        (zip_elems): Likewise.
-        (uzip_elems): Likewise.
-        (trn_elems): Likewise.
-        (features): New enumeration Use_shuffle. Delete ReturnPtr.
-        (pf_su_8_16): New.
-        (suf_32): New.
-        (ops): Update entries for Vrev64, Vrev32, Vrev16, Vtr, Vzip, Vuzp.
-        * config/arm/arm_neon.h: Regenerate.
+       PR target/48941
+       PR target/51980
+       * config/arm/neon-gen.ml (return_by_ptr): Delete.
+       (print_function): Handle empty strings.
+       (return): Delete use of return_by_ptr.
+       (mask_shape_for_shuffle): New function.
+       (mask_elems): Likewise.
+       (shuffle_fn): Likewise.
+       (params): Simplify and remove use of return_by_ptr.
+       (get_shuffle): New function.
+       (print_variant): Update.
+       * config/arm/neon.ml (rev_elems): New function.
+       (permute_range): Likewise.
+       (zip_range): Likewise.
+       (uzip_range): Likewise.
+       (trn_range): Likewise.
+       (zip_elems): Likewise.
+       (uzip_elems): Likewise.
+       (trn_elems): Likewise.
+       (features): New enumeration Use_shuffle. Delete ReturnPtr.
+       (pf_su_8_16): New.
+       (suf_32): New.
+       (ops): Update entries for Vrev64, Vrev32, Vrev16, Vtr, Vzip, Vuzp.
+       * config/arm/arm_neon.h: Regenerate.
 
 2012-07-05  Richard Guenther  <rguenther@suse.de>
 
index 1d3aecc6a663cc652cd56730535e9172793d2743..fe733b02dd75615fc4bb7b436bd44ba5366c5110 100644 (file)
@@ -290,7 +290,6 @@ extern void x86_elf_aligned_common (FILE *, const char *,
 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 857cd0396290bcc3493dfe70a7fcab31218ab0c0..24e4506d425697baa3108175d2df325c9130bf6b 100644 (file)
@@ -23090,7 +23090,7 @@ ix86_expand_strlen (rtx out, rtx src, rtx eoschar, rtx align)
 
 /* 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;