/* obj.h - defines the object dependent hooks for all object
format backends.
- Copyright 1987, 1990, 1991, 1992, 1993, 1995, 1996, 1997, 1999, 2000,
- 2002, 2003, 2004 Free Software Foundation, Inc.
+ Copyright (C) 1987-2020 Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
GAS is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
+ the Free Software Foundation; either version 3, or (at your option)
any later version.
GAS is distributed in the hope that it will be useful,
You should have received a copy of the GNU General Public License
along with GAS; see the file COPYING. If not, write to the Free
- Software Foundation, 59 Temple Place - Suite 330, Boston, MA
- 02111-1307, USA. */
+ Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
+ 02110-1301, USA. */
char *obj_default_output_file_name (void);
void obj_emit_relocations (char **where, fixS * fixP,
#ifndef obj_read_begin_hook
void obj_read_begin_hook (void);
#endif
-#ifndef BFD_ASSEMBLER
-void obj_crawl_symbol_chain (object_headers * headers);
-void obj_header_append (char **where, object_headers * headers);
-#ifndef obj_pre_write_hook
-void obj_pre_write_hook (object_headers * headers);
-#endif
-#endif
#ifndef obj_symbol_new_hook
void obj_symbol_new_hook (symbolS * symbolP);
extern const pseudo_typeS obj_pseudo_table[];
-#ifdef BFD_ASSEMBLER
struct format_ops {
int flavor;
unsigned dfl_leading_underscore : 1;
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;
#ifndef this_format
COMMON const struct format_ops *this_format;
#endif
-#endif
/* end of obj.h */