(assembler_trampoline_template): Always put template in text section.
From-SVN: r2883
This commit is contained in:
parent
dd132134f3
commit
f49acdb4d6
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue