aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUros Bizjak <uros@gcc.gnu.org>2012-07-06 12:18:39 +0200
committerUros Bizjak <uros@gcc.gnu.org>2012-07-06 12:18:39 +0200
commit6b908be7954917cd2aedc9f546ba91334ba218d3 (patch)
tree2f283bbf435c4dd112abd2a0a86af23728bba677
parent2ba3d2a9fc577c7627866f564a8419a6cee48c98 (diff)
downloadgcc-6b908be7954917cd2aedc9f546ba91334ba218d3.zip
gcc-6b908be7954917cd2aedc9f546ba91334ba218d3.tar.gz
gcc-6b908be7954917cd2aedc9f546ba91334ba218d3.tar.bz2
i386.c (construct_plt_address): Make static.
* config/i386/i386.c (construct_plt_address): Make static. * config/i386/i386-protos.h (construct_plt_address): Remove. From-SVN: r189319
-rw-r--r--gcc/ChangeLog55
-rw-r--r--gcc/config/i386/i386-protos.h1
-rw-r--r--gcc/config/i386/i386.c2
3 files changed, 31 insertions, 27 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 834f4eb..15ee003 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
@@ -28,30 +33,30 @@
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>
diff --git a/gcc/config/i386/i386-protos.h b/gcc/config/i386/i386-protos.h
index 1d3aecc..fe733b0 100644
--- a/gcc/config/i386/i386-protos.h
+++ b/gcc/config/i386/i386-protos.h
@@ -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);
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index 857cd03..24e4506 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -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;