(function_prologue): Put SDB_DEBUGGING_INFO ifdef around code for SDB_DEBUG support.
authorJim Wilson <wilson@gcc.gnu.org>
Wed, 29 Mar 1995 22:44:35 +0000 (14:44 -0800)
committerJim Wilson <wilson@gcc.gnu.org>
Wed, 29 Mar 1995 22:44:35 +0000 (14:44 -0800)
(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

gcc/config/mips/mips.c

index d492ced..6ecfa20 100644 (file)
@@ -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 ();
     }