aboutsummaryrefslogtreecommitdiff
path: root/bfd/bfd-in2.h
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1993-09-22 14:54:50 +0000
committerStu Grossman <grossman@cygnus>1993-09-22 14:54:50 +0000
commit2b91cc453bae74cdf8ccd567a651b6af4aa0ce10 (patch)
tree9d0f4b41670e00f2d364c79d956515276b38271d /bfd/bfd-in2.h
parentcb6b02027c32b484c6a9bf3c348333ab6501926b (diff)
downloadgdb-2b91cc453bae74cdf8ccd567a651b6af4aa0ce10.zip
gdb-2b91cc453bae74cdf8ccd567a651b6af4aa0ce10.tar.gz
gdb-2b91cc453bae74cdf8ccd567a651b6af4aa0ce10.tar.bz2
* Makefile.in (OPTIONAL_BACKENDS): Add lynx-core.o.
* bfd-in2.h (tdata): Add lynx_core_data; * config.bfd configure.host: Get rid of superfluous netbsd and lynxos entries. * configure.in: Add lynx-core.o to Lynx config. * i386lynx.c: Add defs for core file support. * lynx-core.c: New file with Lynx core file support. * hosts/i386lynx.h: Move lots of host specific includes to here. Add def of HOST_LYNX. Remove unnecessary defs.
Diffstat (limited to 'bfd/bfd-in2.h')
-rw-r--r--bfd/bfd-in2.h25
1 files changed, 22 insertions, 3 deletions
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index c7ca34e..2054de7 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -188,9 +188,6 @@ typedef enum bfd_symclass {
} symclass;
-typedef int symtype; /* Who knows, yet? */
-
-
/* general purpose part of a symbol;
target specific parts will be found in libcoff.h, liba.out.h etc */
@@ -406,6 +403,27 @@ CAT(NAME,_bfd_make_debug_symbol)
#define bfd_get_symbol_leading_char(abfd) ((abfd)->xvec->symbol_leading_char)
+/* Byte swapping routines. */
+
+bfd_vma bfd_getb64 PARAMS ((unsigned char *));
+bfd_vma bfd_getl64 PARAMS ((unsigned char *));
+bfd_signed_vma bfd_getb_signed_64 PARAMS ((unsigned char *));
+bfd_signed_vma bfd_getl_signed_64 PARAMS ((unsigned char *));
+bfd_vma bfd_getb32 PARAMS ((unsigned char *));
+bfd_vma bfd_getl32 PARAMS ((unsigned char *));
+bfd_signed_vma bfd_getb_signed_32 PARAMS ((unsigned char *));
+bfd_signed_vma bfd_getl_signed_32 PARAMS ((unsigned char *));
+bfd_vma bfd_getb16 PARAMS ((unsigned char *));
+bfd_vma bfd_getl16 PARAMS ((unsigned char *));
+bfd_signed_vma bfd_getb_signed_16 PARAMS ((unsigned char *));
+bfd_signed_vma bfd_getl_signed_16 PARAMS ((unsigned char *));
+void bfd_putb64 PARAMS ((bfd_vma, unsigned char *));
+void bfd_putl64 PARAMS ((bfd_vma, unsigned char *));
+void bfd_putb32 PARAMS ((bfd_vma, unsigned char *));
+void bfd_putl32 PARAMS ((bfd_vma, unsigned char *));
+void bfd_putb16 PARAMS ((bfd_vma, unsigned char *));
+void bfd_putl16 PARAMS ((bfd_vma, unsigned char *));
+
/* And more from the source. */
void
bfd_init PARAMS ((void));
@@ -1539,6 +1557,7 @@ struct _bfd
struct hppa_data_struct *hppa_data;
struct hpux_core_struct *hpux_core_data;
struct sgi_core_struct *sgi_core_data;
+ struct lynx_core_struct *lynx_core_data;
PTR any;
} tdata;