Add thumb prototypes file

From-SVN: r31924
This commit is contained in:
Nick Clifton 2000-02-11 18:16:23 +00:00 committed by Nick Clifton
parent 87a8affe1e
commit c4ce154a39
4 changed files with 90 additions and 0 deletions

View File

@ -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.

View File

@ -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 */

6
gcc/configure vendored
View File

@ -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-*-*)

View File

@ -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-*-*)