* config/obj-multi.h (obj_adjust_symtab): Define.
* 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.
+2010-10-25 Mark Mitchell <mark@codesourcery.com>
+
+ * obj.h (struct format_ops): Add adjust_symtab.
+ * config/obj-multi.h (obj_adjust_symtab): Define.
+ * 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.
+
2010-10-25 Alan Modra <amodra@gmail.com>
PR gas/12049
aout_pop_insert,
0, /* ecoff_set_ext. */
0, /* read_begin_hook. */
- 0, /* symbol_new_hook. */
- 0 /* symbol_clone_hook. */
+ 0, /* symbol_new_hook. */
+ 0, /* symbol_clone_hook. */
+ 0 /* adjust_symtab. */
};
const pseudo_typeS aout_pseudo_table[] =
0, /* ecoff_set_ext */
coff_obj_read_begin_hook,
coff_obj_symbol_new_hook,
- coff_obj_symbol_clone_hook
+ coff_obj_symbol_clone_hook,
+ coff_obj_adjust_symtab
};
/* ECOFF object file format.
Copyright 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002,
- 2005, 2007, 2009 Free Software Foundation, Inc.
+ 2005, 2007, 2009, 2010 Free Software Foundation, Inc.
Contributed by Cygnus Support.
This file was put together by Ian Lance Taylor <ian@cygnus.com>.
ecoff_set_ext,
ecoff_read_begin_hook,
ecoff_symbol_new_hook,
- ecoff_symbol_clone_hook
+ ecoff_symbol_clone_hook,
+ 0 /* adjust_symtab. */
};
#endif
elf_obj_read_begin_hook,
elf_obj_symbol_new_hook,
- 0
+ 0,
+ elf_adjust_symtab
};
/* Multiple object format emulation.
- Copyright 1995, 1996, 1997, 1999, 2000, 2002, 2004, 2005, 2007, 2009
+ Copyright 1995, 1996, 1997, 1999, 2000, 2002, 2004, 2005, 2007, 2009, 2010
Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
? (*this_format->sec_sym_ok_for_reloc) (A) \
: 0)
+#define obj_adjust_symtab() \
+ (this_format->adjust_symtab \
+ ? (*this_format->adjust_symtab) () \
+ : (void) 0)
+
#define S_GET_SIZE \
(*this_format->s_get_size)
format backends.
Copyright 1987, 1990, 1991, 1992, 1993, 1995, 1996, 1997, 1999, 2000,
- 2002, 2003, 2004, 2005, 2007, 2009 Free Software Foundation, Inc.
+ 2002, 2003, 2004, 2005, 2007, 2009, 2010 Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
void (*read_begin_hook) (void);
void (*symbol_new_hook) (symbolS *);
void (*symbol_clone_hook) (symbolS *, symbolS *);
+ void (*adjust_symtab) (void);
};
extern const struct format_ops elf_format_ops;