Commit c16ba1d5 by Richard Sandiford Committed by Richard Sandiford

varasm.c (output_constant_pool): Restore fnname and fndecl arguments.

	* varasm.c (output_constant_pool): Restore fnname and fndecl
	arguments.
	(assemble_start_function): Adjust call accordingly.
	(assemble_end_function): Likewise.

From-SVN: r112315
parent 61edcf65
2006-03-23 Richard Sandiford <richard@codesourcery.com>
* varasm.c (output_constant_pool): Restore fnname and fndecl
arguments.
(assemble_start_function): Adjust call accordingly.
(assemble_end_function): Likewise.
2006-03-22 Volker Reichelt <reichelt@igpm.rwth-aachen.de> 2006-03-22 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
PR mudflap/26790 PR mudflap/26790
......
...@@ -139,7 +139,7 @@ static void asm_output_aligned_bss (FILE *, tree, const char *, ...@@ -139,7 +139,7 @@ static void asm_output_aligned_bss (FILE *, tree, const char *,
#endif #endif
#endif /* BSS_SECTION_ASM_OP */ #endif /* BSS_SECTION_ASM_OP */
static void mark_weak (tree); static void mark_weak (tree);
static void output_constant_pool (void); static void output_constant_pool (const char *, tree);
/* Well-known sections, each one associated with some sort of *_ASM_OP. */ /* Well-known sections, each one associated with some sort of *_ASM_OP. */
section *text_section; section *text_section;
...@@ -1332,7 +1332,7 @@ assemble_start_function (tree decl, const char *fnname) ...@@ -1332,7 +1332,7 @@ assemble_start_function (tree decl, const char *fnname)
app_disable (); app_disable ();
if (CONSTANT_POOL_BEFORE_FUNCTION) if (CONSTANT_POOL_BEFORE_FUNCTION)
output_constant_pool (); output_constant_pool (fnname, decl);
resolve_unique_section (decl, 0, flag_function_sections); resolve_unique_section (decl, 0, flag_function_sections);
...@@ -1450,7 +1450,7 @@ assemble_end_function (tree decl, const char *fnname ATTRIBUTE_UNUSED) ...@@ -1450,7 +1450,7 @@ assemble_end_function (tree decl, const char *fnname ATTRIBUTE_UNUSED)
#endif #endif
if (! CONSTANT_POOL_BEFORE_FUNCTION) if (! CONSTANT_POOL_BEFORE_FUNCTION)
{ {
output_constant_pool (); output_constant_pool (fnname, decl);
switch_to_section (function_section (decl)); /* need to switch back */ switch_to_section (function_section (decl)); /* need to switch back */
} }
/* Output labels for end of hot/cold text sections (to be used by /* Output labels for end of hot/cold text sections (to be used by
...@@ -3533,7 +3533,8 @@ output_constant_pool_contents (struct rtx_constant_pool *pool) ...@@ -3533,7 +3533,8 @@ output_constant_pool_contents (struct rtx_constant_pool *pool)
out the function's private constant pool. */ out the function's private constant pool. */
static void static void
output_constant_pool (void) output_constant_pool (const char *fnname ATTRIBUTE_UNUSED,
tree fndecl ATTRIBUTE_UNUSED)
{ {
struct rtx_constant_pool *pool = cfun->varasm->pool; struct rtx_constant_pool *pool = cfun->varasm->pool;
......
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