Commit 496651db by Michael Meissner Committed by Michael Meissner

Declare get_file_function_name

From-SVN: r15855
parent e6347456
Tue Oct 7 11:41:21 1997 Michael Meissner <meissner@cygnus.com>
* tree.h (get_file_function_name): Add declaration.
* dwarf2out.c (output_call_frame_info): No need to cast
get_file_function_name call anymore.
* profile.c (toplevel): Remove get_file_function_name
declaration.
* c-lang.c (finish_file): Ditto.
Tue Oct 7 10:01:45 1997 Chip Salzenberg <chip@rio.atlantic.net>
* Makefile.in (program_transform_name): Let autoconf substitute
......
......@@ -137,7 +137,6 @@ void
finish_file ()
{
extern tree static_ctors, static_dtors;
extern tree get_file_function_name ();
extern tree build_function_call PROTO((tree, tree));
tree void_list_node = build_tree_list (NULL_TREE, void_type_node);
#ifndef ASM_OUTPUT_CONSTRUCTOR
......
......@@ -1498,7 +1498,7 @@ output_call_frame_info (for_eh)
#ifdef EH_FRAME_SECTION
EH_FRAME_SECTION ();
#else
tree label = (tree) get_file_function_name ('F');
tree label = get_file_function_name ('F');
data_section ();
ASM_GLOBALIZE_LABEL (asm_out_file, IDENTIFIER_POINTER (label));
......
/* Calculate branch probabilities, and basic block execution counts.
Copyright (C) 1990, 1991, 1992, 1993, 1994, 1996, 1997 Free Software Foundation, Inc.
Copyright (C) 1990, 91, 92, 93, 94, 96, 1997 Free Software Foundation, Inc.
Contributed by James E. Wilson, UC Berkeley/Cygnus Support;
based on some ideas from Dain Samples of UC Berkeley.
Further mangling by Bob Manson, Cygnus Support.
......@@ -53,7 +53,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
extern char * xmalloc ();
extern void free ();
extern tree get_file_function_name ();
/* One of these is dynamically created whenever we identify an arc in the
function. */
......
......@@ -1837,49 +1837,6 @@ extern void end_temporary_allocation PROTO((void));
/* Pop the obstack selection stack. */
extern void pop_obstacks PROTO((void));
/* Interface of the DWARF2 unwind info support. */
/* Decide whether we want to emit frame unwind information for the current
translation unit. */
extern int dwarf2out_do_frame PROTO((void));
/* Generate a new label for the CFI info to refer to. */
extern char *dwarf2out_cfi_label PROTO((void));
/* Entry point to update the canonical frame address (CFA). */
extern void dwarf2out_def_cfa PROTO((char *, unsigned, long));
/* Add the CFI for saving a register window. */
extern void dwarf2out_window_save PROTO((char *));
/* Add a CFI to update the running total of the size of arguments pushed
onto the stack. */
extern void dwarf2out_args_size PROTO((char *, long));
/* Entry point for saving a register to the stack. */
extern void dwarf2out_reg_save PROTO((char *, unsigned, long));
/* Entry point for saving the return address in the stack. */
extern void dwarf2out_return_save PROTO((char *, long));
/* Entry point for saving the return address in a register. */
extern void dwarf2out_return_reg PROTO((char *, unsigned));
/* Output a marker (i.e. a label) for the beginning of a function, before
the prologue. */
extern void dwarf2out_begin_prologue PROTO((void));
/* Output a marker (i.e. a label) for the absolute end of the generated
code for a function definition. */
extern void dwarf2out_end_epilogue PROTO((void));
/* If KIND=='I', return a suitable global initializer (constructor) name.
If KIND=='D', return a suitable global clean-up (destructor) name. */
extern tree get_file_function_name PROTO((int));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment