summaryrefslogtreecommitdiff
path: root/libelf/libelf.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-07-06 23:58:40 +0000
committerUlrich Drepper <drepper@redhat.com>2006-07-06 23:58:40 +0000
commit1b0714c81de473ad3a5ca88bd1c593d93a6ebcdd (patch)
tree152b48dddb7a07fbe0a534242457277e60ab2199 /libelf/libelf.h
parent7df97c777c3c8a688774882a1dd7d1701a127560 (diff)
downloadelfutils-1b0714c81de473ad3a5ca88bd1c593d93a6ebcdd.tar.gz
Updated support for new hash table format.
Fix handling of discarded COMDAT symbols in ld.
Diffstat (limited to 'libelf/libelf.h')
-rw-r--r--libelf/libelf.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/libelf/libelf.h b/libelf/libelf.h
index 7d7d39e8..27271847 100644
--- a/libelf/libelf.h
+++ b/libelf/libelf.h
@@ -1,5 +1,5 @@
/* Interface for libelf.
- Copyright (C) 1998, 1999, 2000, 2002, 2004, 2005 Red Hat, Inc.
+ Copyright (C) 1998, 1999, 2000, 2002, 2004, 2005, 2006 Red Hat, Inc.
This file is part of Red Hat elfutils.
Red Hat elfutils is free software; you can redistribute it and/or modify
@@ -371,6 +371,10 @@ extern void elf_fill (int __fill);
extern unsigned long int elf_hash (const char *__string)
__attribute__ ((__pure__));
+/* Compute hash value using the GNU-specific hash function. */
+extern unsigned long int elf_gnu_hash (const char *__string)
+ __attribute__ ((__pure__));
+
/* Compute simple checksum from permanent parts of the ELF file. */
extern long int elf32_checksum (Elf *__elf);