(assembler_trampoline_template): Always put template in text section.

From-SVN: r2883
This commit is contained in:
Richard Kenner 1992-12-16 07:33:01 -05:00
parent dd132134f3
commit f49acdb4d6
1 changed files with 5 additions and 0 deletions

View File

@ -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)