summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog9
-rw-r--r--gcc/c-lang.c1
-rw-r--r--gcc/dwarf2out.c2
-rw-r--r--gcc/profile.c3
-rw-r--r--gcc/tree.h49
5 files changed, 14 insertions, 50 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 34e49a518ed..71784365f52 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/c-lang.c b/gcc/c-lang.c
index cc1d298afd0..e79e188e88d 100644
--- a/gcc/c-lang.c
+++ b/gcc/c-lang.c
@@ -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
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index 6ad1c1b0ae9..7667a53a3a5 100644
--- a/gcc/dwarf2out.c
+++ b/gcc/dwarf2out.c
@@ -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));
diff --git a/gcc/profile.c b/gcc/profile.c
index 0f25ed93185..13786cfa312 100644
--- a/gcc/profile.c
+++ b/gcc/profile.c
@@ -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. */
diff --git a/gcc/tree.h b/gcc/tree.h
index a283d9beab7..afa61656338 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -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));