summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2012-07-06 10:18:39 +0000
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>2012-07-06 10:18:39 +0000
commite1bfea630ba7c031b803f28e7ff212fc3ef724f7 (patch)
tree2f283bbf435c4dd112abd2a0a86af23728bba677
parentb4d5791b0b254aa1ded194d23db0fb65a1647cb0 (diff)
downloadgcc-e1bfea630ba7c031b803f28e7ff212fc3ef724f7.tar.gz
* config/i386/i386.c (construct_plt_address): Make static.
* config/i386/i386-protos.h (construct_plt_address): Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@189319 138bc75d-0d04-0410-961f-82ee72b054a4
-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 834f4eb3bec..15ee003686d 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 1d3aecc6a66..fe733b02dd7 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 857cd039629..24e4506d425 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;