diff options
author | Nick Clifton <nickc@redhat.com> | 2000-12-21 18:20:04 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2000-12-21 18:20:04 +0000 |
commit | 8c603c85a1a36ac618c2f03d69686a7985a5ab77 (patch) | |
tree | 03569d99c89b225bf5b6cb262f616cffb6d1fe94 /bfd/bfd-in.h | |
parent | dafc8383e875d59fe601526f4787a12e88f4a69e (diff) | |
download | gdb-8c603c85a1a36ac618c2f03d69686a7985a5ab77.zip gdb-8c603c85a1a36ac618c2f03d69686a7985a5ab77.tar.gz gdb-8c603c85a1a36ac618c2f03d69686a7985a5ab77.tar.bz2 |
Add bfd_get_bits() and bfd_put_bits().
Diffstat (limited to 'bfd/bfd-in.h')
-rw-r--r-- | bfd/bfd-in.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h index cc03024..08d597f 100644 --- a/bfd/bfd-in.h +++ b/bfd/bfd-in.h @@ -538,6 +538,11 @@ 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 *)); + +/* Byte swapping routines which take size and endiannes as arguments. */ + +bfd_vma bfd_get_bits PARAMS ((bfd_byte *, int, boolean)); +void bfd_put_bits PARAMS ((bfd_vma, bfd_byte *, int, boolean)); /* Externally visible ECOFF routines. */ |