summaryrefslogtreecommitdiff
path: root/gas/obj.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/obj.h
parent7898a2b16e1bae99bcbf2315c8d6fd3332d7b74d (diff)
downloadbinutils-645ea3ea629261e7e66127db1438f64019fd5d08.tar.gz
binutils-645ea3ea629261e7e66127db1438f64019fd5d08.tar.bz2
binutils-645ea3ea629261e7e66127db1438f64019fd5d08.zip
* 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/obj.h')
-rw-r--r--gas/obj.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gas/obj.h b/gas/obj.h
index 7dc33e6cae4..c2d4836a62f 100644
--- a/gas/obj.h
+++ b/gas/obj.h
@@ -2,7 +2,7 @@
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.
@@ -72,6 +72,7 @@ struct format_ops {
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;