From 6355b14013e3644b4f857e99a0426f08abace808 Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Tue, 9 Nov 1993 00:03:33 +0000 Subject: [PATCH] (ASM_FILE_START): Emit filename directive. From-SVN: r6041 --- gcc/config/rs6000/rs6000.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h index 979a644cde3..15daa8d9f0f 100644 --- a/gcc/config/rs6000/rs6000.h +++ b/gcc/config/rs6000/rs6000.h @@ -1478,6 +1478,7 @@ extern int rs6000_trunc_used; Initialize the section names for the RS/6000 at this point. + Specify filename to assembler. We want to go into the TOC section so at least one .toc will be emitted. Also, in order to output proper .bs/.es pairs, we need at least one static [RW] section emitted. @@ -1496,6 +1497,7 @@ extern int rs6000_trunc_used; rs6000_gen_section_name (&xcoff_read_only_section_name, \ main_input_filename, ".ro_"); \ \ + output_file_directive (FILE, main_input_filename); \ toc_section (); \ if (write_symbols != NO_DEBUG) \ private_data_section (); \ -- 2.30.2