aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-12-16 18:59:44 +0000
committerRichard Stallman <rms@gnu.org>1992-12-16 18:59:44 +0000
commitc8c29f855dffe19d597187293ac21e87d249357f (patch)
tree097e772260bff22b25efc078f74daf262ac9b736 /gcc
parent7bea35e74679d46e30981d2fce2763517501d3fe (diff)
downloadgcc-c8c29f855dffe19d597187293ac21e87d249357f.zip
gcc-c8c29f855dffe19d597187293ac21e87d249357f.tar.gz
gcc-c8c29f855dffe19d597187293ac21e87d249357f.tar.bz2
(assemble_trampoline_template): Use readonly_data_section, not text_section.
From-SVN: r2885
Diffstat (limited to 'gcc')
-rw-r--r--gcc/varasm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c
index f8d011a..23722ca 100644
--- a/gcc/varasm.c
+++ b/gcc/varasm.c
@@ -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);