From: Richard Kenner Date: Wed, 16 Dec 1992 12:33:01 +0000 (-0500) Subject: (assembler_trampoline_template): Always put template in text section. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f49acdb4d6348a0926eda78fc2ac0be9255d602c;p=platform%2Fupstream%2Fgcc.git (assembler_trampoline_template): Always put template in text section. From-SVN: r2883 --- diff --git a/gcc/varasm.c b/gcc/varasm.c index 8e0b0c4..f8d011a 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -1071,6 +1071,11 @@ assemble_trampoline_template () char *name; int align; + /* Some assemblers don't like instructions in data segment, so always + put trampoline template in text segment. */ + + text_section (); + /* Write the assembler code to define one. */ align = floor_log2 (FUNCTION_BOUNDARY / BITS_PER_UNIT); if (align > 0)