Commit f49acdb4 by Richard Kenner

(assembler_trampoline_template): Always put template in text section.

From-SVN: r2883
parent dd132134
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment