aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1994-02-13 22:30:51 +0000
committerJeff Law <law@redhat.com>1994-02-13 22:30:51 +0000
commit6863eb4b74f36e1734327874aaf419fc6ef759d4 (patch)
tree7117a2763f91383000cabdc9f9af37074eb0fa3b /bfd
parent5e829a3440363ab8ceee0b7d273600ee1d1af417 (diff)
downloadgdb-6863eb4b74f36e1734327874aaf419fc6ef759d4.zip
gdb-6863eb4b74f36e1734327874aaf419fc6ef759d4.tar.gz
gdb-6863eb4b74f36e1734327874aaf419fc6ef759d4.tar.bz2
* som.h: Include <lst.h> and <ar.h>.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/som.h14
2 files changed, 18 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index e8da4b9..3a7966e 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+Sun Feb 13 14:30:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
+
+ * som.h: Include <lst.h> and <ar.h>.
+
Sat Feb 12 22:34:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
* elfcode.h (elf_map_symbols): Fix typo.
diff --git a/bfd/som.h b/bfd/som.h
index 1015943..5a7c92d 100644
--- a/bfd/som.h
+++ b/bfd/som.h
@@ -26,6 +26,8 @@
#include "../bfd/sysdep.h"
#include <a.out.h>
+#include <lst.h>
+#include <ar.h>
#ifdef HOST_HPPABSD
@@ -76,6 +78,8 @@ som_symbol_type;
struct somdata
{
struct header *file_hdr;
+ struct copyright_aux_hdr *copyright_aux_hdr;
+ struct user_string_aux_hdr *version_aux_hdr;
som_symbol_type *symtab;
char *stringtab;
@@ -120,6 +124,8 @@ struct som_section_data_struct
#define somdata(bfd) ((bfd)->tdata.som_data->a)
#define obj_som_file_hdr(bfd) (somdata(bfd).file_hdr)
+#define obj_som_copyright_hdr(bfd) (somdata(bfd).copyright_aux_hdr)
+#define obj_som_version_hdr(bfd) (somdata(bfd).version_aux_hdr)
#define obj_som_symtab(bfd) (somdata(bfd).symtab)
#define obj_som_stringtab(bfd) (somdata(bfd).stringtab)
#define obj_som_sym_filepos(bfd) (somdata(bfd).sym_filepos)
@@ -152,4 +158,12 @@ struct som_section_data_struct
#define R_HPPA_ENTRY R_ENTRY
#define R_HPPA_EXIT R_EXIT
+/* Exported functions, mostly for use by GAS. */
+void bfd_som_set_section_attributes PARAMS ((asection *, int, int,
+ unsigned char, int));
+void bfd_som_set_subsection_attributes PARAMS ((asection *, asection *,
+ int, unsigned int, int));
+void bfd_som_set_symbol_type PARAMS ((asymbol *, unsigned int));
+void bfd_som_attach_unwind_info PARAMS ((asymbol *, char *));
+
#endif /* _SOM_H */