aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorNick Clifton <nickc@cygnus.com>2000-02-11 18:16:23 +0000
committerNick Clifton <nickc@gcc.gnu.org>2000-02-11 18:16:23 +0000
commitc4ce154a39b2eb178333de3418e53fdc7ee98bd2 (patch)
treef1881da0a37dadb61804b9d739bf21501f9f1636 /gcc
parent87a8affe1e1318886b5b16cf277cf10d650afcfe (diff)
downloadgcc-c4ce154a39b2eb178333de3418e53fdc7ee98bd2.zip
gcc-c4ce154a39b2eb178333de3418e53fdc7ee98bd2.tar.gz
gcc-c4ce154a39b2eb178333de3418e53fdc7ee98bd2.tar.bz2
Add thumb prototypes file
From-SVN: r31924
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog8
-rw-r--r--gcc/config/arm/thumb-protos.h70
-rwxr-xr-xgcc/configure6
-rw-r--r--gcc/configure.in6
4 files changed, 90 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f991024..17feeb6 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,11 @@
+2000-02-11 Nick Clifton <nickc@cygnus.com>
+
+ * configure.in: Add tm_p_file specification for thumb targets.
+ * configure: Regenerate.
+
+ * config/arm/thumb-protos.h: New file: Prototypes for exported
+ functions defined in thumb.c.
+
2000-02-11 Robert Lipe <robertl@sco.com>
* Makefile.in (bootstrap-lean): Remove additional files.
diff --git a/gcc/config/arm/thumb-protos.h b/gcc/config/arm/thumb-protos.h
new file mode 100644
index 0000000..42d23a7
--- /dev/null
+++ b/gcc/config/arm/thumb-protos.h
@@ -0,0 +1,70 @@
+/* Prototypes for exported functions defined in thumb.c
+ Copyright (C) 2000 Free Software Foundation, Inc.
+ Contributed by Nick Clifton (nickc@cygnus.com)
+
+This file is part of GNU CC.
+
+GNU CC is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU CC is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU CC; see the file COPYING. If not, write to
+the Free Software Foundation, 59 Temple Place - Suite 330,
+Boston, MA 02111-1307, USA. */
+
+extern int thumb_shiftable_const PARAMS ((HOST_WIDE_INT));
+extern int thumb_trivial_epilogue PARAMS ((void));
+extern void thumb_finalize_pic PARAMS ((void));
+extern int far_jump_used_p PARAMS ((void));
+extern char * output_return PARAMS ((void));
+extern void thumb_function_prologue PARAMS ((FILE *, int));
+extern void thumb_init_expanders PARAMS ((void));
+extern void thumb_expand_prologue PARAMS ((void));
+extern void thumb_expand_epilogue PARAMS ((void));
+extern void thumb_function_epilogue PARAMS ((FILE *, int));
+extern char * thumb_unexpanded_epilogue PARAMS ((void));
+extern int thumb_epilogue_size PARAMS ((void));
+extern void thumb_override_options PARAMS ((void));
+
+#ifdef AOF_ASSEMBLER
+extern char * aof_text_section PARAMS ((int));
+extern char * aof_data_section PARAMS ((void));
+extern void thumb_aof_add_import PARAMS ((char *));
+extern void thumb_aof_delete_import PARAMS ((char *));
+extern void thumb_aof_dump_imports PARAMS ((FILE *));
+#endif /* AOF_ASSEMBLER */
+
+#ifdef TREE_CODE
+extern int is_called_in_ARM_mode PARAMS ((tree));
+extern int thumb_return_in_memory PARAMS ((tree));
+#ifdef THUMB_PE
+extern int arm_valid_machine_decl_attribute PARAMS ((tree, tree, tree));
+#endif /* THUMB_PE */
+#endif /* TREE_CODE */
+
+#ifdef RTX_CODE
+extern int thumb_symbol_mentioned_p PARAMS ((rtx));
+extern int label_mentioned_p PARAMS ((rtx));
+extern int is_pic PARAMS ((rtx));
+extern void thumb_reorg PARAMS ((rtx));
+extern rtx thumb_return_addr PARAMS ((int));
+extern void thumb_expand_movstrqi PARAMS ((rtx *));
+extern void thumb_reload_out_si PARAMS ((rtx));
+extern void thumb_final_prescan_insn PARAMS ((rtx));
+extern char * thumb_load_double_from_address PARAMS ((rtx *));
+extern char * output_move_mem_multiple PARAMS ((int, rtx *));
+extern void thumb_print_operand PARAMS ((FILE *, rtx, int));
+
+#ifdef HAVE_MACHINE_MODES
+extern int reload_memory_operand PARAMS ((rtx, enum machine_mode));
+extern int thumb_cmp_operand PARAMS ((rtx, enum machine_mode));
+extern rtx legitimize_pic_address PARAMS ((rtx, enum machine_mode, rtx));
+#endif /* HAVE_MACHINE_MODES */
+#endif /* RTX_CODE */
diff --git a/gcc/configure b/gcc/configure
index 43deb31..8f5a033 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -6075,6 +6075,7 @@ for machine in $build $host $target; do
xm_file=arm/xm-thumb.h
md_file=arm/thumb.md
tmake_file=arm/t-thumb
+ tm_p_file=arm/thumb-protos.h
;;
thumb-*-elf* | thumbel-*-elf*)
tm_file=arm/telf.h
@@ -6082,6 +6083,7 @@ for machine in $build $host $target; do
xm_file=arm/xm-thumb.h
md_file=arm/thumb.md
tmake_file=arm/t-thumb-elf
+ tm_p_file=arm/thumb-protos.h
;;
thumb-*-linux-gnu*)
tm_file=arm/linux-telf.h
@@ -6089,6 +6091,7 @@ for machine in $build $host $target; do
xm_file=arm/xm-thumb.h
md_file=arm/thumb.md
tmake_file=arm/t-thumb-linux
+ tm_p_file=arm/thumb-protos.h
;;
thumb-*-uclinux*)
tm_file=arm/uclinux-telf.h
@@ -6096,6 +6099,7 @@ for machine in $build $host $target; do
md_file=arm/thumb.md
tmake_file=arm/t-thumb-linux
xm_file=arm/xm-thumb.h
+ tm_p_file=arm/thumb-protos.h
;;
thumb-wrs-vxworks)
tm_file=arm/tcoff.h
@@ -6104,6 +6108,7 @@ for machine in $build $host $target; do
md_file=arm/thumb.md
tmake_file=arm/t-thumb
thread_file='vxworks'
+ tm_p_file=arm/thumb-protos.h
;;
thumb-*-pe)
tm_file=arm/tpe.h
@@ -6112,6 +6117,7 @@ for machine in $build $host $target; do
md_file=arm/thumb.md
tmake_file=arm/t-pe-thumb
extra_objs=pe.o
+ tm_p_file=arm/thumb-protos.h
;;
# This hasn't been upgraded to GCC 2.
# tron-*-*)
diff --git a/gcc/configure.in b/gcc/configure.in
index 2bd136e..29631c0 100644
--- a/gcc/configure.in
+++ b/gcc/configure.in
@@ -3473,6 +3473,7 @@ changequote([,])dnl
xm_file=arm/xm-thumb.h
md_file=arm/thumb.md
tmake_file=arm/t-thumb
+ tm_p_file=arm/thumb-protos.h
;;
thumb-*-elf* | thumbel-*-elf*)
tm_file=arm/telf.h
@@ -3480,6 +3481,7 @@ changequote([,])dnl
xm_file=arm/xm-thumb.h
md_file=arm/thumb.md
tmake_file=arm/t-thumb-elf
+ tm_p_file=arm/thumb-protos.h
;;
thumb-*-linux-gnu*)
tm_file=arm/linux-telf.h
@@ -3487,6 +3489,7 @@ changequote([,])dnl
xm_file=arm/xm-thumb.h
md_file=arm/thumb.md
tmake_file=arm/t-thumb-linux
+ tm_p_file=arm/thumb-protos.h
;;
thumb-*-uclinux*)
tm_file=arm/uclinux-telf.h
@@ -3494,6 +3497,7 @@ changequote([,])dnl
md_file=arm/thumb.md
tmake_file=arm/t-thumb-linux
xm_file=arm/xm-thumb.h
+ tm_p_file=arm/thumb-protos.h
;;
thumb-wrs-vxworks)
tm_file=arm/tcoff.h
@@ -3502,6 +3506,7 @@ changequote([,])dnl
md_file=arm/thumb.md
tmake_file=arm/t-thumb
thread_file='vxworks'
+ tm_p_file=arm/thumb-protos.h
;;
thumb-*-pe)
tm_file=arm/tpe.h
@@ -3510,6 +3515,7 @@ changequote([,])dnl
md_file=arm/thumb.md
tmake_file=arm/t-pe-thumb
extra_objs=pe.o
+ tm_p_file=arm/thumb-protos.h
;;
# This hasn't been upgraded to GCC 2.
# tron-*-*)