Don't write to inferior_ptid in tracefile-tfile.c
[deliverable/binutils-gdb.git] / gas / obj.h
index 497524ac04e93b398dcdc04abedd81c7a1cbc9d3..7907a33def6579d3b3f32c3c9b145ddc7635add7 100644 (file)
--- a/gas/obj.h
+++ b/gas/obj.h
@@ -1,14 +1,13 @@
 /* obj.h - defines the object dependent hooks for all object
    format backends.
 
 /* obj.h - defines the object dependent hooks for all object
    format backends.
 
-   Copyright 1987, 1990, 1991, 1992, 1993, 1995, 1996, 1997, 1999, 2000, 2002
-   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
 
    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,
    any later version.
 
    GAS is distributed in the hope that it will be useful,
@@ -18,8 +17,8 @@
 
    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
 
    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,
 
 char *obj_default_output_file_name (void);
 void obj_emit_relocations (char **where, fixS * fixP,
@@ -29,13 +28,6 @@ void obj_emit_symbols (char **where, symbolS * symbols);
 #ifndef obj_read_begin_hook
 void obj_read_begin_hook (void);
 #endif
 #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);
 
 #ifndef obj_symbol_new_hook
 void obj_symbol_new_hook (symbolS * symbolP);
@@ -45,13 +37,12 @@ void obj_symbol_to_chars (char **where, symbolS * symbolP);
 
 extern const pseudo_typeS obj_pseudo_table[];
 
 
 extern const pseudo_typeS obj_pseudo_table[];
 
-#ifdef BFD_ASSEMBLER
 struct format_ops {
   int flavor;
   unsigned dfl_leading_underscore : 1;
   unsigned emit_section_symbols : 1;
   void (*begin) (void);
 struct format_ops {
   int flavor;
   unsigned dfl_leading_underscore : 1;
   unsigned emit_section_symbols : 1;
   void (*begin) (void);
-  void (*app_file) (const char *);
+  void (*app_file) (const char *, int);
   void (*frob_symbol) (symbolS *, int *);
   void (*frob_file) (void);
   void (*frob_file_before_adjust) (void);
   void (*frob_symbol) (symbolS *, int *);
   void (*frob_file) (void);
   void (*frob_file_before_adjust) (void);
@@ -79,6 +70,8 @@ struct format_ops {
 
   void (*read_begin_hook) (void);
   void (*symbol_new_hook) (symbolS *);
 
   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;
 };
 
 extern const struct format_ops elf_format_ops;
@@ -89,6 +82,5 @@ extern const struct format_ops aout_format_ops;
 #ifndef this_format
 COMMON const struct format_ops *this_format;
 #endif
 #ifndef this_format
 COMMON const struct format_ops *this_format;
 #endif
-#endif
 
 /* end of obj.h */
 
 /* end of obj.h */
This page took 0.024418 seconds and 4 git commands to generate.