X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gas%2Fobj.h;h=7907a33def6579d3b3f32c3c9b145ddc7635add7;hb=7ef412cf72a197d68e532604cc1fa21351adc858;hp=860067f635f6713138d648c068c37da44ae7307d;hpb=4b4da1607aeed19ac399963a3aa12b0417e477ae;p=deliverable%2Fbinutils-gdb.git diff --git a/gas/obj.h b/gas/obj.h index 860067f635..7907a33def 100644 --- a/gas/obj.h +++ b/gas/obj.h @@ -1,14 +1,13 @@ /* 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, @@ -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 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); @@ -45,7 +37,6 @@ void obj_symbol_to_chars (char **where, symbolS * symbolP); extern const pseudo_typeS obj_pseudo_table[]; -#ifdef BFD_ASSEMBLER struct format_ops { int flavor; unsigned dfl_leading_underscore : 1; @@ -79,6 +70,8 @@ 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; @@ -89,6 +82,5 @@ extern const struct format_ops aout_format_ops; #ifndef this_format COMMON const struct format_ops *this_format; #endif -#endif /* end of obj.h */