X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gas%2Fconfig%2Fobj-elf.h;h=52a361a40d4341468449cc59954a85078471a54b;hb=fd3619828e94a24a92cddec42cbc0ab33352eeb4;hp=c734aab757bbb0937197461ae03d47f2ddee714d;hpb=52b010e4424ced5700579389375a536b614f8b19;p=deliverable%2Fbinutils-gdb.git diff --git a/gas/config/obj-elf.h b/gas/config/obj-elf.h index c734aab757..52a361a40d 100644 --- a/gas/config/obj-elf.h +++ b/gas/config/obj-elf.h @@ -1,6 +1,5 @@ /* ELF object file format. - Copyright 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, - 2002, 2003, 2004, 2005, 2006, 2007, 2009 Free Software Foundation, Inc. + Copyright (C) 1992-2019 Free Software Foundation, Inc. This file is part of GAS, the GNU Assembler. @@ -80,14 +79,6 @@ struct elf_obj_sy #define OBJ_SYMFIELD_TYPE struct elf_obj_sy -/* Symbol fields used by the ELF back end. */ -#define ELF_TARGET_SYMBOL_FIELDS unsigned int local:1; - -/* Don't change this; change ELF_TARGET_SYMBOL_FIELDS instead. */ -#ifndef TARGET_SYMBOL_FIELDS -#define TARGET_SYMBOL_FIELDS ELF_TARGET_SYMBOL_FIELDS -#endif - #ifndef FALSE #define FALSE 0 #define TRUE !FALSE @@ -164,16 +155,22 @@ extern void elf_file_symbol (const char *, int); extern void obj_elf_section_change_hook (void); extern void obj_elf_section (int); -extern char * obj_elf_section_name (void); +extern const char * obj_elf_section_name (void); extern void obj_elf_previous (int); extern void obj_elf_version (int); extern void obj_elf_common (int); extern void obj_elf_data (int); extern void obj_elf_text (int); extern void obj_elf_change_section - (const char *, int, bfd_vma, int, const char *, int, int); -extern struct fix *obj_elf_vtable_inherit (int); -extern struct fix *obj_elf_vtable_entry (int); + (const char *, unsigned int, unsigned int, bfd_vma, int, const char *, + int, int); +extern void obj_elf_vtable_inherit (int); +extern void obj_elf_vtable_entry (int); +extern struct fix * obj_elf_get_vtable_inherit (void); +extern struct fix * obj_elf_get_vtable_entry (void); +extern bfd_boolean obj_elf_seen_attribute + (int, unsigned int); +extern int obj_elf_vendor_attribute (int); /* BFD wants to write the udata field, which is a no-no for the predefined section symbols in bfd/section.c. They are read-only. */ @@ -197,6 +194,11 @@ void elf_copy_symbol_attributes (symbolS *, symbolS *); (elf_copy_symbol_attributes (DEST, SRC)) #endif +void elf_adjust_symtab (void); +#ifndef obj_adjust_symtab +#define obj_adjust_symtab elf_adjust_symtab +#endif + #ifndef SEPARATE_STAB_SECTIONS /* Avoid ifndef each separate macro setting by wrapping the whole of the stab group on the assumption that whoever sets SEPARATE_STAB_SECTIONS