diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1997-06-09 15:12:58 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1997-06-09 15:12:58 -0400 |
commit | 83488369f977a0b11ad4cfd580b2d9d661cee043 (patch) | |
tree | a38a0caa4b40fac74070e42be1eea336f5f50896 /gcc/varasm.c | |
parent | 63d9b81cd036e67e77653b535c0965d2536f9aab (diff) | |
download | gcc-83488369f977a0b11ad4cfd580b2d9d661cee043.zip gcc-83488369f977a0b11ad4cfd580b2d9d661cee043.tar.gz gcc-83488369f977a0b11ad4cfd580b2d9d661cee043.tar.bz2 |
(assemble_end_function): Switch back to function section after
outputting constant pool.
From-SVN: r14184
Diffstat (limited to 'gcc/varasm.c')
-rw-r--r-- | gcc/varasm.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c index 3d4e87a..29257dd 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 (); |