aboutsummaryrefslogtreecommitdiff
path: root/gas/read.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2004-11-10 03:28:45 +0000
committerAlan Modra <amodra@gmail.com>2004-11-10 03:28:45 +0000
commitc04f57872c0988821cad10fd87bde4deea05d4a5 (patch)
tree77fe027a94ba6ee3e844f8034b196afa4c67303d /gas/read.c
parent390e974f5201cd4c8e4c35562e806d65c672dd4e (diff)
downloadgdb-c04f57872c0988821cad10fd87bde4deea05d4a5.zip
gdb-c04f57872c0988821cad10fd87bde4deea05d4a5.tar.gz
gdb-c04f57872c0988821cad10fd87bde4deea05d4a5.tar.bz2
* obj.h (struct format_ops <app_file>): Add int param.
* read.h (s_app_file_string): Likewise. * read.c (s_app_file_string): Likewise. (s_app_file): Adjust s_app_file_string call. * config/tc-mips.c (s_mips_file): Likewise. * config/obj-coff.h (obj_app_file): Add app param. * config/obj-ecoff.h (obj_app_file): Likewise. * config/obj-multi.h (obj_app_file): Likewise. * config/obj-elf.h (elf_file_symbol): Likewise. * config/obj-elf.c (elf_file_symbol): Only emit one file symbol if called for # preprocessor lines.
Diffstat (limited to 'gas/read.c')
-rw-r--r--gas/read.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gas/read.c b/gas/read.c
index e1f7a2f..00fd38a 100644
--- a/gas/read.c
+++ b/gas/read.c
@@ -1570,7 +1570,7 @@ s_data (int ignore ATTRIBUTE_UNUSED)
.file. */
void
-s_app_file_string (char *file)
+s_app_file_string (char *file, int appfile)
{
#ifdef LISTING
if (listing)
@@ -1578,7 +1578,7 @@ s_app_file_string (char *file)
#endif
register_dependency (file);
#ifdef obj_app_file
- obj_app_file (file);
+ obj_app_file (file, appfile);
#endif
}
@@ -1606,7 +1606,7 @@ s_app_file (int appfile)
demand_empty_rest_of_line ();
if (!may_omit)
- s_app_file_string (s);
+ s_app_file_string (s, appfile);
}
}