summaryrefslogtreecommitdiffstats
path: root/lib/libelf/libelf.h
diff options
context:
space:
mode:
authorkaiw <kaiw@FreeBSD.org>2010-07-21 10:39:29 +0000
committerkaiw <kaiw@FreeBSD.org>2010-07-21 10:39:29 +0000
commitd137ff16e759f7c0a6acea318e5bd3c932082d79 (patch)
tree9e3351c461c35ef9a25f30454c83f6e09b0a3ccc /lib/libelf/libelf.h
parent49a7d97ce43a82f9cfa863a35ca5cc928d7caf1e (diff)
downloadFreeBSD-src-d137ff16e759f7c0a6acea318e5bd3c932082d79.zip
FreeBSD-src-d137ff16e759f7c0a6acea318e5bd3c932082d79.tar.gz
- Document that the *fsize() functions return a size of 1 for Elf
types that don't have a fixed size. - The *fsize() functions should return a size of 1, for variable length types. - Redefine symbol ELF_T_LAST to match the current end of the list. Obtained from: elftoolchain MFC after: 1 month
Diffstat (limited to 'lib/libelf/libelf.h')
-rw-r--r--lib/libelf/libelf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libelf/libelf.h b/lib/libelf/libelf.h
index 7a707c3..ac4c04e 100644
--- a/lib/libelf/libelf.h
+++ b/lib/libelf/libelf.h
@@ -80,7 +80,7 @@ typedef enum {
} Elf_Type;
#define ELF_T_FIRST ELF_T_ADDR
-#define ELF_T_LAST ELF_T_XWORD
+#define ELF_T_LAST ELF_T_GNUHASH
/* Commands */
typedef enum {
OpenPOWER on IntegriCloud