aboutsummaryrefslogtreecommitdiff
path: root/gas/read.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2002-06-14 14:08:54 +0000
committerDaniel Jacobowitz <drow@false.org>2002-06-14 14:08:54 +0000
commitecb4347adecd566f59016dea61f1b9425ae83b43 (patch)
tree44e06f14de787547086a83751a668153bca0dc7c /gas/read.c
parenta8295218014a96b8e6eae80bf73a407a6e3324b0 (diff)
downloadgdb-ecb4347adecd566f59016dea61f1b9425ae83b43.zip
gdb-ecb4347adecd566f59016dea61f1b9425ae83b43.tar.gz
gdb-ecb4347adecd566f59016dea61f1b9425ae83b43.tar.bz2
2002-06-14 H.J. Lu <hjl@gnu.org>
Daniel Jacobowitz <drow@mvista.com> * dwarf2dbg.h (dwarf2_directive_file): Return char *. * dwarf2dbg.c (dwarf2_directive_file): Return filename. * config/tc-mips.c (s_mips_file): Call s_app_file_string and new_logical_line for the first .file directive. * read.c (s_app_file_string): New function. (s_app_file): Call it. * read.h (s_app_file_string): Add declaration. 2002-06-14 Daniel Jacobowitz <drow@mvista.com> * configure.in: Remove MIPS_STABS_ELF. * configure: Regenerated. * config.in: Regenerated. * config/obj-elf.h (ECOFF_DEBUGGING): Define to mips_flag_mdebug for MIPS targets. * config/tc-mips.c (mips_pseudo_table): Remove #ifdef around ".extern". (pdr_seg): Declare unconditionally. (md_begin): Always generate .pdr unless ECOFF_DEBUGGING or not ELF. (s_mips_end): Likewise. Generate stabs function markers. (s_mips_ent): Generate stabs function markers. (s_mips_frame): Always generate .pdr unless ECOFF_DEBUGGING or not ELF. (s_mips_mask): Likewise. (mips_flag_mdebug): New. (md_longopts): Add "mdebug" and "no-mdebug". (md_parse_options): Add OPTION_MDEBUG and OPTION_NO_MDEBUG. (mips_after_parse_args): Set mips_flag_mdebug. * doc/as.texinfo: Add "-mdebug" and "-no-mdebug" for MIPS. 2002-06-14 Daniel Jacobowitz <drow@mvista.com> * gas/mips/lineno.d: Use --gstabs. * gas/mips/mips.exp (lineno.s): Remove XFAIL.
Diffstat (limited to 'gas/read.c')
-rw-r--r--gas/read.c25
1 files changed, 15 insertions, 10 deletions
diff --git a/gas/read.c b/gas/read.c
index 1e45eab..23fb900 100644
--- a/gas/read.c
+++ b/gas/read.c
@@ -1572,6 +1572,20 @@ s_data (ignore)
.file. */
void
+s_app_file_string (file)
+ char *file;
+{
+#ifdef LISTING
+ if (listing)
+ listing_source_file (file);
+#endif
+ register_dependency (file);
+#ifdef obj_app_file
+ obj_app_file (file);
+#endif
+}
+
+void
s_app_file (appfile)
int appfile;
{
@@ -1596,16 +1610,7 @@ s_app_file (appfile)
demand_empty_rest_of_line ();
if (!may_omit)
- {
-#ifdef LISTING
- if (listing)
- listing_source_file (s);
-#endif
- register_dependency (s);
-#ifdef obj_app_file
- obj_app_file (s);
-#endif
- }
+ s_app_file_string (s);
}
}