OSDN Git Service

Declare get_file_function_name
authormeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 7 Oct 1997 16:07:46 +0000 (16:07 +0000)
committermeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 7 Oct 1997 16:07:46 +0000 (16:07 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15855 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/c-lang.c
gcc/dwarf2out.c
gcc/profile.c
gcc/tree.h

index 34e49a5..7178436 100644 (file)
@@ -1,3 +1,12 @@
+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
index cc1d298..e79e188 100644 (file)
@@ -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
index 6ad1c1b..7667a53 100644 (file)
@@ -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));
index 0f25ed9..13786cf 100644 (file)
@@ -1,5 +1,5 @@
 /* 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.  */
index a283d9b..afa6165 100644 (file)
@@ -1837,49 +1837,6 @@ extern void end_temporary_allocation PROTO((void));
 /* Pop the obstack selection stack.  */
 extern void pop_obstacks PROTO((void));
 
-\f
-/* 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));