aboutsummaryrefslogtreecommitdiff
path: root/gas/config/obj-coff.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2004-11-19 12:20:25 +0000
committerAlan Modra <amodra@gmail.com>2004-11-19 12:20:25 +0000
commita4528eebc0703a5ad999b0bf37d8e111fff94e46 (patch)
treece97673d1f41e39778b98150578ccc58f01b3c55 /gas/config/obj-coff.c
parentde52dba4abb83cdac3aae1ecdaa2c5c176b168f6 (diff)
downloadgdb-a4528eebc0703a5ad999b0bf37d8e111fff94e46.zip
gdb-a4528eebc0703a5ad999b0bf37d8e111fff94e46.tar.gz
gdb-a4528eebc0703a5ad999b0bf37d8e111fff94e46.tar.bz2
* config/obj-coff.c (c_dot_file_symbol): Add "app" param.
(coff_adjust_symtab): Adjust call. (crawl_symbols): Likewise. * config/obj-coff.h (c_dot_file_symbol): Add "app" param. (obj_app_file): Adjust.
Diffstat (limited to 'gas/config/obj-coff.c')
-rw-r--r--gas/config/obj-coff.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/gas/config/obj-coff.c b/gas/config/obj-coff.c
index 96aac42..5bd676f 100644
--- a/gas/config/obj-coff.c
+++ b/gas/config/obj-coff.c
@@ -335,8 +335,7 @@ c_symbol_merge (debug, normal)
}
void
-c_dot_file_symbol (filename)
- const char *filename;
+c_dot_file_symbol (const char *filename, int appfile ATTRIBUTE_UNUSED)
{
symbolS *symbolP;
@@ -1687,7 +1686,7 @@ coff_adjust_symtab ()
{
if (symbol_rootP == NULL
|| S_GET_STORAGE_CLASS (symbol_rootP) != C_FILE)
- c_dot_file_symbol ("fake");
+ c_dot_file_symbol ("fake", 0);
}
void
@@ -3404,7 +3403,7 @@ crawl_symbols (h, abfd)
/* Is there a .file symbol ? If not insert one at the beginning. */
if (symbol_rootP == NULL
|| S_GET_STORAGE_CLASS (symbol_rootP) != C_FILE)
- c_dot_file_symbol ("fake");
+ c_dot_file_symbol ("fake", 0);
/* Build up static symbols for the sections, they are filled in later. */
@@ -4005,8 +4004,7 @@ c_line_new (symbol, paddr, line_number, frag)
}
void
-c_dot_file_symbol (filename)
- char *filename;
+c_dot_file_symbol (const char *filename, int appfile ATTRIBUTE_UNUSED)
{
symbolS *symbolP;