aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/mcore
diff options
context:
space:
mode:
authorH.J. Lu <hjl@gnu.org>2002-08-01 23:29:55 +0000
committerRichard Henderson <rth@gcc.gnu.org>2002-08-01 16:29:55 -0700
commit4e4d733e19a420252f401c7e5a469abda6a48998 (patch)
tree194c05431fa23bd64a67f9d0a7826dbb16f016c2 /gcc/config/mcore
parent32e9b9606f88e84fc2ffe07a094ed70b60633693 (diff)
downloadgcc-4e4d733e19a420252f401c7e5a469abda6a48998.zip
gcc-4e4d733e19a420252f401c7e5a469abda6a48998.tar.gz
gcc-4e4d733e19a420252f401c7e5a469abda6a48998.tar.bz2
output.h (DECL_READONLY_SECTION): Remove.
* output.h (DECL_READONLY_SECTION): Remove. (decl_readonly_section): Declare. * varasm.c (decl_readonly_section): New. (default_section_type_flags, default_select_section): Use it. * config/arm/pe.c (arm_pe_unique_section): Likewise. * config/i386/interix.c (i386_pe_unique_section): Likewise. * config/i386/winnt.c (i386_pe_unique_section): Likewise. * config/mcore/mcore.c (mcore_unique_section): Likewise. * config/mips/mips.c (mips_unique_section): Likewise. Co-Authored-By: Richard Henderson <rth@redhat.com> From-SVN: r55957
Diffstat (limited to 'gcc/config/mcore')
-rw-r--r--gcc/config/mcore/mcore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/mcore/mcore.c b/gcc/config/mcore/mcore.c
index 2b7747e..650d0dd 100644
--- a/gcc/config/mcore/mcore.c
+++ b/gcc/config/mcore/mcore.c
@@ -3540,7 +3540,7 @@ mcore_unique_section (decl, reloc)
prefix = ".text$";
/* For compatibility with EPOC, we ignore the fact that the
section might have relocs against it. */
- else if (DECL_READONLY_SECTION (decl, 0))
+ else if (decl_readonly_section (decl, 0))
prefix = ".rdata$";
else
prefix = ".data$";