aboutsummaryrefslogtreecommitdiff
path: root/bfd/libbfd.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2023-08-31 08:57:31 +0930
committerAlan Modra <amodra@gmail.com>2023-08-31 08:57:31 +0930
commit00aea11f400dc4fae27952996cb6b1e18ef97285 (patch)
treed5cabd620c0534b3f977d104d2d6ec220b15662e /bfd/libbfd.c
parentd7d4e9115548d2ddc01c2f1e6f2c1188dc823066 (diff)
downloadgdb-00aea11f400dc4fae27952996cb6b1e18ef97285.zip
gdb-00aea11f400dc4fae27952996cb6b1e18ef97285.tar.gz
gdb-00aea11f400dc4fae27952996cb6b1e18ef97285.tar.bz2
libbfd.texi zero size
Pattern rules in doc/local.mk exist that specify how to make libbfd.texi from libfd.h or libbfd.c. Since both files exist and the libbfd.h rule is first, libbfd.h is used. libbfd.h doesn't contain the documentation.. * doc/local.mk (doc/%stamp): Put rule making this from %.c before %.h rule. * Makefile.in: Regenerate. * libbfd.c (Byte swapping routines): Don't omit description.
Diffstat (limited to 'bfd/libbfd.c')
-rw-r--r--bfd/libbfd.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/bfd/libbfd.c b/bfd/libbfd.c
index fafdf49..3c37717 100644
--- a/bfd/libbfd.c
+++ b/bfd/libbfd.c
@@ -728,6 +728,13 @@ SYNOPSIS
void bfd_putl16 (bfd_vma, void *);
uint64_t bfd_get_bits (const void *, int, bool);
void bfd_put_bits (uint64_t, void *, int, bool);
+
+DESCRIPTION
+ Read and write integers in a particular endian order. getb
+ and putb functions handle big-endian, getl and putl handle
+ little-endian. bfd_get_bits and bfd_put_bits specify
+ big-endian by passing TRUE in the last parameter,
+ little-endian by passing FALSE.
*/
bfd_vma