aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDavid Edelsohn <edelsohn@gnu.org>1999-08-30 03:21:56 +0000
committerDavid Edelsohn <dje@gcc.gnu.org>1999-08-29 23:21:56 -0400
commit0d54c3f607f3a1a74dae33f3ee537ec2546167da (patch)
treeae00f4a8b6ff74f0ee09e471686c1003d120ed4a /gcc
parent93e0015e796cb222f0e605db7a81302003ed0491 (diff)
downloadgcc-0d54c3f607f3a1a74dae33f3ee537ec2546167da.zip
gcc-0d54c3f607f3a1a74dae33f3ee537ec2546167da.tar.gz
gcc-0d54c3f607f3a1a74dae33f3ee537ec2546167da.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/rs6000/rs6000.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 2ff6382..a3d1f9f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h
index 79ab635..643193e 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 (); \