From a4528eebc0703a5ad999b0bf37d8e111fff94e46 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Fri, 19 Nov 2004 12:20:25 +0000 Subject: * 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. --- gas/config/obj-coff.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'gas/config/obj-coff.c') 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; -- cgit v1.1