aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1995-03-29 14:44:35 -0800
committerJim Wilson <wilson@gcc.gnu.org>1995-03-29 14:44:35 -0800
commit8bd8e1988839e110c99800ad93f49801d6c922f8 (patch)
treedbcf7502b1098a13939b6ffabe8b7586d1acbdc6 /gcc
parent3cf6400d10d8ba939fcf30db4a85a1ec56fd27f1 (diff)
downloadgcc-8bd8e1988839e110c99800ad93f49801d6c922f8.zip
gcc-8bd8e1988839e110c99800ad93f49801d6c922f8.tar.gz
gcc-8bd8e1988839e110c99800ad93f49801d6c922f8.tar.bz2
(function_prologue): Put SDB_DEBUGGING_INFO ifdef around code for SDB_DEBUG support.
(function_prologue): Put SDB_DEBUGGING_INFO ifdef around code for SDB_DEBUG support. (mips_select_rtx_section, mips_select_section): Change rdata_section to READONLY_DATA_SECTION and sdata_section to SMALL_DATA_SECTION. From-SVN: r9250
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/mips/mips.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c
index d492ced..6ecfa20 100644
--- a/gcc/config/mips/mips.c
+++ b/gcc/config/mips/mips.c
@@ -4836,8 +4836,10 @@ function_prologue (file, size)
ASM_OUTPUT_SOURCE_FILENAME (file, DECL_SOURCE_FILE (current_function_decl));
+#ifdef SDB_DEBUGGING_INFO
if (debug_info_level != DINFO_LEVEL_TERSE && write_symbols == SDB_DEBUG)
ASM_OUTPUT_SOURCE_LINE (file, DECL_SOURCE_LINE (current_function_decl));
+#endif
inside_function = 1;
fputs ("\t.ent\t", file);
@@ -5406,7 +5408,7 @@ mips_select_rtx_section (mode, x)
{
/* For embedded applications, always put constants in read-only data,
in order to reduce RAM usage. */
- rdata_section ();
+ READONLY_DATA_SECTION ();
}
else
{
@@ -5415,9 +5417,9 @@ mips_select_rtx_section (mode, x)
if (GET_MODE_SIZE (mode) <= mips_section_threshold
&& mips_section_threshold > 0)
- sdata_section ();
+ SMALL_DATA_SECTION ();
else
- rdata_section ();
+ READONLY_DATA_SECTION ();
}
}
@@ -5455,9 +5457,9 @@ mips_select_section (decl, reloc)
&& (TREE_CODE (decl) != STRING_CST
|| !flag_writable_strings)))
&& ! (flag_pic && reloc))
- rdata_section ();
+ READONLY_DATA_SECTION ();
else if (size > 0 && size <= mips_section_threshold)
- sdata_section ();
+ SMALL_DATA_SECTION ();
else
data_section ();
}
@@ -5467,7 +5469,7 @@ mips_select_section (decl, reloc)
possible, as this gives the best performance. */
if (size > 0 && size <= mips_section_threshold)
- sdata_section ();
+ SMALL_DATA_SECTION ();
else if (((TREE_CODE (decl) == VAR_DECL
&& TREE_READONLY (decl) && !TREE_SIDE_EFFECTS (decl)
&& DECL_INITIAL (decl)
@@ -5478,7 +5480,7 @@ mips_select_section (decl, reloc)
&& (TREE_CODE (decl) != STRING_CST
|| !flag_writable_strings)))
&& ! (flag_pic && reloc))
- rdata_section ();
+ READONLY_DATA_SECTION ();
else
data_section ();
}