diff options
Diffstat (limited to 'gcc/dbxout.c')
-rw-r--r-- | gcc/dbxout.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/dbxout.c b/gcc/dbxout.c index 9ffced0..cb7df88 100644 --- a/gcc/dbxout.c +++ b/gcc/dbxout.c @@ -269,7 +269,7 @@ static int pending_bincls = 0; static const char *base_input_file; #ifdef DEBUG_SYMS_TEXT -#define FORCE_TEXT current_function_section (current_function_decl); +#define FORCE_TEXT switch_to_section (current_function_section ()) #else #define FORCE_TEXT #endif @@ -907,7 +907,7 @@ dbxout_function_end (tree decl) /* The Lscope label must be emitted even if we aren't doing anything else; dbxout_block needs it. */ - function_section (current_function_decl); + switch_to_section (function_section (current_function_decl)); /* Convert Lscope into the appropriate format for local labels in case the system doesn't insert underscores in front of user generated @@ -1033,7 +1033,7 @@ dbxout_init (const char *input_file_name) if (used_ltext_label_name) { - text_section (); + switch_to_section (text_section); targetm.asm_out.internal_label (asm_out_file, "Ltext", 0); } @@ -1232,7 +1232,7 @@ dbxout_source_file (const char *filename) { /* Don't change section amid function. */ if (current_function_decl == NULL_TREE) - text_section (); + switch_to_section (text_section); dbxout_begin_simple_stabs (filename, N_SOL); dbxout_stab_value_internal_label ("Ltext", &source_label_number); @@ -1347,7 +1347,7 @@ dbxout_finish (const char *filename ATTRIBUTE_UNUSED) DBX_OUTPUT_MAIN_SOURCE_FILE_END (asm_out_file, filename); #elif defined DBX_OUTPUT_NULL_N_SO_AT_MAIN_SOURCE_FILE_END { - text_section (); + switch_to_section (text_section); dbxout_begin_empty_stabs (N_SO); dbxout_stab_value_internal_label ("Letext", 0); } @@ -2838,7 +2838,7 @@ dbxout_symbol_location (tree decl, tree type, const char *suffix, rtx home) { /* Ultrix `as' seems to need this. */ #ifdef DBX_STATIC_STAB_DATA_SECTION - data_section (); + switch_to_section (data_section); #endif code = N_STSYM; } |