From 0d54c3f607f3a1a74dae33f3ee537ec2546167da Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Mon, 30 Aug 1999 03:21:56 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/config/rs6000/rs6000.h | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2ff638218c9d..a3d1f9f4e9ee 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 79ab635c2eb2..643193e219c3 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 (); \ -- 2.47.3