(assemble_trampoline_template): Use readonly_data_section, not text_section.
authorRichard Stallman <rms@gnu.org>
Wed, 16 Dec 1992 18:59:44 +0000 (18:59 +0000)
committerRichard Stallman <rms@gnu.org>
Wed, 16 Dec 1992 18:59:44 +0000 (18:59 +0000)
From-SVN: r2885

gcc/varasm.c

index f8d011a389f34aef434f6d55e11afcdd624ba901..23722ca6ea58f437574e2a7d7bc601cfca6baddf 100644 (file)
@@ -1074,7 +1074,7 @@ assemble_trampoline_template ()
   /* Some assemblers don't like instructions in data segment, so always
      put trampoline template in text segment.  */
 
-  text_section ();
+  readonly_data_section ();
 
   /* Write the assembler code to define one.  */
   align = floor_log2 (FUNCTION_BOUNDARY / BITS_PER_UNIT);