Commit 3c9eb5f4 by Alan Modra Committed by Alan Modra

rs6000.c (uses_TOC): Correct comment.

	* config/rs6000/rs6000.c (uses_TOC): Correct comment.  Make static.
	(rs6000_elf_declare_function_name): Formatting.
	* config/rs6000/rs6000-protos.h (uses_TOC): Remove declaration.

From-SVN: r75917
parent 2ae8ea28
2004-01-15 Alan Modra <amodra@bigpond.net.au>
* config/rs6000/rs6000.c (uses_TOC): Correct comment. Make static.
(rs6000_elf_declare_function_name): Formatting.
* config/rs6000/rs6000-protos.h (uses_TOC): Remove declaration.
2004-01-15 Jan Hubicka <jh@suse.cz> 2004-01-15 Jan Hubicka <jh@suse.cz>
PR bootstrap/13692 PR bootstrap/13692
......
...@@ -184,7 +184,6 @@ extern void private_data_section (void); ...@@ -184,7 +184,6 @@ extern void private_data_section (void);
extern void read_only_data_section (void); extern void read_only_data_section (void);
extern void read_only_private_data_section (void); extern void read_only_private_data_section (void);
extern int get_TOC_alias_set (void); extern int get_TOC_alias_set (void);
extern int uses_TOC (void);
extern void rs6000_emit_prologue (void); extern void rs6000_emit_prologue (void);
extern void rs6000_emit_load_toc_table (int); extern void rs6000_emit_load_toc_table (int);
extern void rs6000_aix_emit_builtin_unwind_init (void); extern void rs6000_aix_emit_builtin_unwind_init (void);
......
...@@ -11138,11 +11138,10 @@ get_TOC_alias_set (void) ...@@ -11138,11 +11138,10 @@ get_TOC_alias_set (void)
} }
/* This returns nonzero if the current function uses the TOC. This is /* This returns nonzero if the current function uses the TOC. This is
determined by the presence of (unspec ... UNSPEC_TOC) or determined by the presence of (use (unspec ... UNSPEC_TOC)), which
use (unspec ... UNSPEC_TOC), which are generated by the various is generated by the ABI_V4 load_toc_* patterns. */
load_toc_* patterns. */
int static int
uses_TOC (void) uses_TOC (void)
{ {
rtx insn; rtx insn;
...@@ -15167,7 +15166,7 @@ rs6000_elf_declare_function_name (FILE *file, const char *name, tree decl) ...@@ -15167,7 +15166,7 @@ rs6000_elf_declare_function_name (FILE *file, const char *name, tree decl)
if (TARGET_RELOCATABLE if (TARGET_RELOCATABLE
&& (get_pool_size () != 0 || current_function_profile) && (get_pool_size () != 0 || current_function_profile)
&& uses_TOC()) && uses_TOC ())
{ {
char buf[256]; char buf[256];
......
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