X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=bfd%2Fsom.h;h=4619068ef19f5c7b0302cf3b31633c7ee766045c;hb=65d20a7403f2a2a6b20572e007f43037306d2a09;hp=7a542493149dc0dc89e460307f8d852b0124b11e;hpb=36192a8d549d934534b43e9be4948d90daa6981c;p=external%2Fbinutils.git diff --git a/bfd/som.h b/bfd/som.h index 7a54249..4619068 100644 --- a/bfd/som.h +++ b/bfd/som.h @@ -1,6 +1,5 @@ /* HP PA-RISC SOM object file format: definitions internal to BFD. - Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1998, 2000, 2001, - 2002, 2003, 2004, 2005, 2007, 2008, 2012, 2013 Free Software Foundation, Inc. + Copyright (C) 1990-2019 Free Software Foundation, Inc. Contributed by the Center for Software Science at the University of Utah (pa-gdb-bugs@cs.utah.edu). @@ -41,6 +40,10 @@ #include #endif +#ifdef __cplusplus +extern "C" { +#endif + #if defined (HOST_HPPABSD) || defined (HOST_HPPAOSF) /* BSD uses a completely different scheme for object file identification. so for now, define _PA_RISC_ID to accept any random value for a model @@ -202,7 +205,7 @@ struct som_section_data_struct #define obj_som_stringtab_size(bfd) (somdata (bfd).stringtab_size) #define obj_som_reloc_filepos(bfd) (somdata (bfd).reloc_filepos) #define obj_som_sorted_syms(bfd) (somdata (bfd).sorted_syms) -#define som_section_data(sec) ((struct som_section_data_struct *) sec->used_by_bfd) +#define som_section_data(sec) ((struct som_section_data_struct *) sec->used_by_bfd) #define som_symbol_data(symbol) ((som_symbol_type *) symbol) /* Defines groups of basic relocations. FIXME: These should @@ -230,10 +233,13 @@ struct som_section_data_struct /* Exported functions, mostly for use by GAS. */ bfd_boolean bfd_som_set_section_attributes (asection *, int, int, unsigned int, int); bfd_boolean bfd_som_set_subsection_attributes (asection *, asection *, int, unsigned int, int, int, int, int); -void bfd_som_set_symbol_type (asymbol *, unsigned int); -bfd_boolean bfd_som_attach_aux_hdr (bfd *, int, char *); -int ** hppa_som_gen_reloc_type (bfd *, int, int, enum hppa_reloc_field_selector_type_alt, int, asymbol *); +void bfd_som_set_symbol_type (asymbol *, unsigned int); +bfd_boolean bfd_som_attach_aux_hdr (bfd *, int, char *); +int ** hppa_som_gen_reloc_type (bfd *, int, int, enum hppa_reloc_field_selector_type_alt, int, asymbol *); bfd_boolean bfd_som_attach_compilation_unit (bfd *, const char *, const char *, const char *, const char *); asection * bfd_section_from_som_symbol (bfd *abfd, struct som_external_symbol_dictionary_record *symbol); +#ifdef __cplusplus +} +#endif #endif /* _SOM_H */