aboutsummaryrefslogtreecommitdiff
path: root/gas/config/obj-multi.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2010-10-25 12:38:42 +0000
committerAlan Modra <amodra@gmail.com>2010-10-25 12:38:42 +0000
commit645ea3ea629261e7e66127db1438f64019fd5d08 (patch)
tree7805566153531ef804b2f6d5e08add91284025c8 /gas/config/obj-multi.h
parent7898a2b16e1bae99bcbf2315c8d6fd3332d7b74d (diff)
downloadgdb-645ea3ea629261e7e66127db1438f64019fd5d08.zip
gdb-645ea3ea629261e7e66127db1438f64019fd5d08.tar.gz
gdb-645ea3ea629261e7e66127db1438f64019fd5d08.tar.bz2
* 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.
Diffstat (limited to 'gas/config/obj-multi.h')
-rw-r--r--gas/config/obj-multi.h7
1 files changed, 6 insertions, 1 deletions
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)