From: Richard Kenner Date: Mon, 9 Jun 1997 19:12:58 +0000 (-0400) Subject: (assemble_end_function): Switch back to function section after X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=83488369f977a0b11ad4cfd580b2d9d661cee043;p=gcc.git (assemble_end_function): Switch back to function section after outputting constant pool. From-SVN: r14184 --- 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 ();