* 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.
This commit is contained in:
Alan Modra 2004-11-19 12:20:25 +00:00
parent de52dba4ab
commit a4528eebc0
3 changed files with 16 additions and 10 deletions

View File

@ -1,3 +1,11 @@
2004-11-19 Alan Modra <amodra@bigpond.net.au>
* 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.
2004-11-18 Inderpreet Singh <inderpreetb@nioda.hcltech.com>
* configure.in: Enable bfd_assember for the MAXQ port.

View File

@ -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;

View File

@ -396,8 +396,8 @@ extern int coff_n_line_nos;
#define obj_emit_lineno(WHERE,LINE,FILE_START) abort ()
extern void coff_add_linesym PARAMS ((symbolS *));
void c_dot_file_symbol PARAMS ((const char *filename));
#define obj_app_file(name, app) c_dot_file_symbol (name)
void c_dot_file_symbol PARAMS ((const char *, int));
#define obj_app_file(name, app) c_dot_file_symbol (name, app)
extern void coff_frob_symbol PARAMS ((symbolS *, int *));
extern void coff_adjust_symtab PARAMS ((void));
@ -839,8 +839,8 @@ extern segT obj_coff_add_segment PARAMS ((const char *));
extern void obj_coff_section PARAMS ((int));
extern void c_dot_file_symbol PARAMS ((char *filename));
#define obj_app_file(name, app) c_dot_file_symbol (name)
extern void c_dot_file_symbol PARAMS ((const char *, int));
#define obj_app_file(name, app) c_dot_file_symbol (name, app)
extern void obj_extra_stuff PARAMS ((object_headers * headers));
extern segT s_get_segment PARAMS ((symbolS *ptr));