From 645ea3ea629261e7e66127db1438f64019fd5d08 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Mon, 25 Oct 2010 12:38:42 +0000 Subject: * 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. --- gas/config/obj-multi.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'gas/config/obj-multi.h') diff --git a/gas/config/obj-multi.h b/gas/config/obj-multi.h index b78e836..353162e 100644 --- a/gas/config/obj-multi.h +++ b/gas/config/obj-multi.h @@ -1,5 +1,5 @@ /* 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. @@ -91,6 +91,11 @@ ? (*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) -- cgit v1.1