projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
PR25249, Memory leak in microblaze-dis.c
[deliverable/binutils-gdb.git]
/
bfd
/
som.h
diff --git
a/bfd/som.h
b/bfd/som.h
index c456abe100d485e4079928648a00a98789fe161b..4619068ef19f5c7b0302cf3b31633c7ee766045c 100644
(file)
--- a/
bfd/som.h
+++ b/
bfd/som.h
@@
-1,6
+1,5
@@
/* HP PA-RISC SOM object file format: definitions internal to BFD.
/* 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 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).
Contributed by the Center for Software Science at the
University of Utah (pa-gdb-bugs@cs.utah.edu).
@@
-41,6
+40,10
@@
#include <dl.h>
#endif
#include <dl.h>
#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
#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
@@
-63,7
+66,7
@@
typedef struct som_symbol
unsigned int hppa_arg_reloc;
unsigned int hppa_priv_level;
} ap;
unsigned int hppa_arg_reloc;
unsigned int hppa_priv_level;
} ap;
-
PTR
any;
+
void *
any;
}
tc_data;
}
tc_data;
@@
-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 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
#define som_symbol_data(symbol) ((som_symbol_type *) symbol)
/* Defines groups of basic relocations. FIXME: These should
@@
-230,9
+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);
/* 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 *);
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 */
#endif /* _SOM_H */
This page took
0.025423 seconds
and
4
git commands to generate.