From 83488369f977a0b11ad4cfd580b2d9d661cee043 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Mon, 9 Jun 1997 15:12:58 -0400 Subject: [PATCH] (assemble_end_function): Switch back to function section after outputting constant pool. From-SVN: r14184 --- gcc/varasm.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gcc/varasm.c b/gcc/varasm.c index 3d4e87afa0b..29257ddb55d 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -1043,7 +1043,10 @@ assemble_end_function (decl, fnname) ASM_DECLARE_FUNCTION_SIZE (asm_out_file, fnname, decl); #endif if (! CONSTANT_POOL_BEFORE_FUNCTION) - output_constant_pool (fnname, decl); + { + output_constant_pool (fnname, decl); + function_section (decl); /* need to switch back */ + } /* Output any constants which should appear after the function. */ output_after_function_constants (); -- 2.30.2