rs6000.h (ASM_FILE_START): Specify complete filename, including path, in .file directive.
authorDavid Edelsohn <edelsohn@gnu.org>
Mon, 30 Aug 1999 03:21:56 +0000 (03:21 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Mon, 30 Aug 1999 03:21:56 +0000 (23:21 -0400)
        * rs6000.h (ASM_FILE_START): Specify complete filename, including
        path, in .file directive.

From-SVN: r28977

gcc/ChangeLog
gcc/config/rs6000/rs6000.h

index 2ff638218c9d3d098e40b6d02c7a9ae822393532..a3d1f9f4e9ee1af352969d504f2f0e7deaf0dc8d 100644 (file)
@@ -1,3 +1,8 @@
+Sun Aug 29 23:17:54 1999  David Edelsohn  <edelsohn@gnu.org>
+
+       * rs6000.h (ASM_FILE_START): Specify complete filename, including
+       path, in .file directive. 
+
 Sun Aug 29 05:06:43 1999  Russ Allbery  <rra@stanford.edu>
 
        * gcc.texi (External Bugs): Remove obsolete note about Perl on
index 79ab635c2eb24da0740eb9de9628946d1a0c3e82..643193e219c32dc231b31eeca8c6308d51b512e5 100644 (file)
@@ -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 ();                                              \