* ecoff.c (ecoff_symbol_clone_hook): New function.

* ecoff.h (ecoff_symbol_clone_hook): Declare.
	* obj.h (struct format_ops): Add symbol_clone_hook.
	* config/obj-aout.c (aout_format_ops): Init new field.
	* config/obj-coff.c (coff_format_ops): Likewise.
	* config/obj-ecoff.c (ecoff_format_ops): Likewise.
	* config/obj-elf.c (elf_format_ops): Likewise.
	* config/obj-ecoff.h (obj_symbol_clone_hook): Define.
	* config/obj-multi.h (obj_symbol_clone_hook): Define.
This commit is contained in:
Alan Modra
2009-11-02 11:49:48 +00:00
parent 3703bab932
commit 4cae74aaa2
9 changed files with 41 additions and 7 deletions

View File

@ -1,6 +1,6 @@
/* ecoff.h -- header file for ECOFF debugging support
Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2003, 2004, 2005, 2007
Free Software Foundation, Inc.
Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2003, 2004, 2005,
2007, 2009 Free Software Foundation, Inc.
Contributed by Cygnus Support.
Put together by Ian Lance Taylor <ian@cygnus.com>.
@ -44,6 +44,8 @@ extern void ecoff_new_file (const char *, int);
obj_symbol_new_hook. */
extern void ecoff_symbol_new_hook (symbolS *);
extern void ecoff_symbol_clone_hook (symbolS *, symbolS *);
/* This function should be called by the obj_frob_symbol hook. */
extern void ecoff_frob_symbol (symbolS *);