From: David Edelsohn Date: Mon, 30 Aug 1999 03:21:56 +0000 (+0000) Subject: rs6000.h (ASM_FILE_START): Specify complete filename, including path, in .file directive. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0d54c3f607f3a1a74dae33f3ee537ec2546167da;p=gcc.git rs6000.h (ASM_FILE_START): Specify complete filename, including path, in .file directive. * rs6000.h (ASM_FILE_START): Specify complete filename, including path, in .file directive. From-SVN: r28977 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2ff638218c9..a3d1f9f4e9e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Sun Aug 29 23:17:54 1999 David Edelsohn + + * rs6000.h (ASM_FILE_START): Specify complete filename, including + path, in .file directive. + Sun Aug 29 05:06:43 1999 Russ Allbery * gcc.texi (External Bugs): Remove obsolete note about Perl on diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h index 79ab635c2eb..643193e219c 100644 --- a/gcc/config/rs6000/rs6000.h +++ b/gcc/config/rs6000/rs6000.h @@ -2473,7 +2473,7 @@ extern int rs6000_trunc_used; Initialize the section names for the RS/6000 at this point. - Specify filename to assembler. + Specify filename, including full path, 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 @@ -2493,7 +2493,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); \ + fprintf (FILE, "\t.file\t\"%s\"\n", main_input_filename); \ if (TARGET_64BIT) \ fputs ("\t.machine\t\"ppc64\"\n", FILE); \ toc_section (); \