OSDN Git Service

* config/h8300/h8300.c (TARGET_INITIALIZER and friends): Move
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 19 Jun 2003 04:10:11 +0000 (04:10 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 19 Jun 2003 04:10:11 +0000 (04:10 +0000)
to the end of the file.  Remove unnecessary prototypes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68176 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/h8300/h8300.c

index 756318c..0d21142 100644 (file)
@@ -1,3 +1,8 @@
+2003-06-19  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/h8300/h8300.c (TARGET_INITIALIZER and friends): Move
+       to the end of the file.  Remove unnecessary prototypes.
+
 2003-06-19  Hans-Peter Nilsson  <hp@axis.com>
 
        * bt-load.c (migrate_btr_def) [INSN_SCHEDULING]: Conditionalize
index 474b499..8690a3c 100644 (file)
@@ -57,20 +57,14 @@ static void push (int);
 static void pop (int);
 static const char *cond_string (enum rtx_code);
 static unsigned int h8300_asm_insn_count (const char *);
-const struct attribute_spec h8300_attribute_table[];
 static tree h8300_handle_fndecl_attribute (tree *, tree, tree, int, bool *);
 static tree h8300_handle_eightbit_data_attribute (tree *, tree, tree, int, bool *);
 static tree h8300_handle_tiny_data_attribute (tree *, tree, tree, int, bool *);
-static void h8300_output_function_epilogue (FILE *, HOST_WIDE_INT);
-static void h8300_insert_attributes (tree, tree *);
-static void h8300_file_end (void);
 #ifndef OBJECT_FORMAT_ELF
 static void h8300_asm_named_section (const char *, unsigned int);
 #endif
-static void h8300_encode_section_info (tree, rtx, int);
 static int h8300_and_costs (rtx);
 static int h8300_shift_costs (rtx);
-static bool h8300_rtx_costs (rtx, int, int, int *);
 
 /* CPU_TYPE, says what cpu we're compiling for.  */
 int cpu_type;
@@ -103,30 +97,6 @@ const char *h8_push_op, *h8_pop_op, *h8_mov_op;
 #define SYMBOL_FLAG_EIGHTBIT_DATA      (SYMBOL_FLAG_MACH_DEP << 1)
 #define SYMBOL_FLAG_TINY_DATA          (SYMBOL_FLAG_MACH_DEP << 2)
 \f
-/* Initialize the GCC target structure.  */
-#undef TARGET_ATTRIBUTE_TABLE
-#define TARGET_ATTRIBUTE_TABLE h8300_attribute_table
-
-#undef TARGET_ASM_ALIGNED_HI_OP
-#define TARGET_ASM_ALIGNED_HI_OP "\t.word\t"
-
-#undef TARGET_ASM_FUNCTION_EPILOGUE
-#define TARGET_ASM_FUNCTION_EPILOGUE h8300_output_function_epilogue
-
-#undef TARGET_ASM_FILE_END
-#define TARGET_ASM_FILE_END h8300_file_end
-
-#undef TARGET_ENCODE_SECTION_INFO
-#define TARGET_ENCODE_SECTION_INFO h8300_encode_section_info
-
-#undef TARGET_INSERT_ATTRIBUTES
-#define TARGET_INSERT_ATTRIBUTES h8300_insert_attributes
-
-#undef TARGET_RTX_COSTS
-#define TARGET_RTX_COSTS h8300_rtx_costs
-
-struct gcc_target targetm = TARGET_INITIALIZER;
-\f
 /* See below where shifts are handled for explanation of this enum.  */
 
 enum shift_alg
@@ -4379,3 +4349,27 @@ byte_accesses_mergeable_p (rtx addr1, rtx addr2)
 
   return 0;
 }
+\f
+/* Initialize the GCC target structure.  */
+#undef TARGET_ATTRIBUTE_TABLE
+#define TARGET_ATTRIBUTE_TABLE h8300_attribute_table
+
+#undef TARGET_ASM_ALIGNED_HI_OP
+#define TARGET_ASM_ALIGNED_HI_OP "\t.word\t"
+
+#undef TARGET_ASM_FUNCTION_EPILOGUE
+#define TARGET_ASM_FUNCTION_EPILOGUE h8300_output_function_epilogue
+
+#undef TARGET_ASM_FILE_END
+#define TARGET_ASM_FILE_END h8300_file_end
+
+#undef TARGET_ENCODE_SECTION_INFO
+#define TARGET_ENCODE_SECTION_INFO h8300_encode_section_info
+
+#undef TARGET_INSERT_ATTRIBUTES
+#define TARGET_INSERT_ATTRIBUTES h8300_insert_attributes
+
+#undef TARGET_RTX_COSTS
+#define TARGET_RTX_COSTS h8300_rtx_costs
+
+struct gcc_target targetm = TARGET_INITIALIZER;