Commit 6355b140 by Richard Stallman

(ASM_FILE_START): Emit filename directive.

From-SVN: r6041
parent 18205693
...@@ -1478,6 +1478,7 @@ extern int rs6000_trunc_used; ...@@ -1478,6 +1478,7 @@ extern int rs6000_trunc_used;
Initialize the section names for the RS/6000 at this point. 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. 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 Also, in order to output proper .bs/.es pairs, we need at least one static
[RW] section emitted. [RW] section emitted.
...@@ -1496,6 +1497,7 @@ extern int rs6000_trunc_used; ...@@ -1496,6 +1497,7 @@ extern int rs6000_trunc_used;
rs6000_gen_section_name (&xcoff_read_only_section_name, \ rs6000_gen_section_name (&xcoff_read_only_section_name, \
main_input_filename, ".ro_"); \ main_input_filename, ".ro_"); \
\ \
output_file_directive (FILE, main_input_filename); \
toc_section (); \ toc_section (); \
if (write_symbols != NO_DEBUG) \ if (write_symbols != NO_DEBUG) \
private_data_section (); \ private_data_section (); \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment