aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIain Sandoe <iains@gcc.gnu.org>2011-06-16 19:38:34 +0000
committerMike Stump <mrs@gcc.gnu.org>2011-06-16 19:38:34 +0000
commita285ba2ef9a4ebdd613b12bca42576816fe6251f (patch)
tree4d1d45d0a6b98418577730cf61f69bfa5af352bf
parent215b3b76379be4219c551cd6fbf5c81d1df71957 (diff)
downloadgcc-a285ba2ef9a4ebdd613b12bca42576816fe6251f.zip
gcc-a285ba2ef9a4ebdd613b12bca42576816fe6251f.tar.gz
gcc-a285ba2ef9a4ebdd613b12bca42576816fe6251f.tar.bz2
darwin-protos.h (machopic_select_rtx_section): Move to inside RTX_CODE ifdef.
2011-06-16 Iain Sandoe <iains@gcc.gnu.org> * config/darwin-protos.h (machopic_select_rtx_section): Move to inside RTX_CODE ifdef. From-SVN: r175110
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/darwin-protos.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4ea21cf8..3e5026a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2011-06-16 Iain Sandoe <iains@gcc.gnu.org>
+
+ * config/darwin-protos.h (machopic_select_rtx_section): Move to
+ inside RTX_CODE ifdef.
+
2011-06-16 Tom de Vries <tom@codesourcery.com>
PR target/45098
diff --git a/gcc/config/darwin-protos.h b/gcc/config/darwin-protos.h
index 150230d..21092af 100644
--- a/gcc/config/darwin-protos.h
+++ b/gcc/config/darwin-protos.h
@@ -40,6 +40,8 @@ extern rtx machopic_legitimize_pic_address (rtx, enum machine_mode, rtx);
extern void machopic_asm_out_constructor (rtx, int);
extern void machopic_asm_out_destructor (rtx, int);
+extern section *machopic_select_rtx_section (enum machine_mode, rtx,
+ unsigned HOST_WIDE_INT);
#endif /* RTX_CODE */
#ifdef TREE_CODE
@@ -54,8 +56,6 @@ extern void machopic_finish (FILE *);
extern int machopic_reloc_rw_mask (void);
extern section *machopic_select_section (tree, int, unsigned HOST_WIDE_INT);
-extern section *machopic_select_rtx_section (enum machine_mode, rtx,
- unsigned HOST_WIDE_INT);
extern section *darwin_function_section (tree, enum node_frequency, bool, bool);
extern void darwin_function_switched_text_sections (FILE *, tree, bool);