aboutsummaryrefslogtreecommitdiff
path: root/elf/elf.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-03-30 10:00:08 +0000
committerRoland McGrath <roland@gnu.org>1995-03-30 10:00:08 +0000
commitb1f11361752e71ad3bf6445bc2ba516958fa17ad (patch)
treeeaa84bb02a00fd5f55f52d73cb6b89aa7d8fe278 /elf/elf.h
parent* Make-dist (README): Commit it to CVS if there is a CVS directory. (diff)
downloadglibc-b1f11361752e71ad3bf6445bc2ba516958fa17ad.tar.gz
glibc-b1f11361752e71ad3bf6445bc2ba516958fa17ad.tar.bz2
glibc-b1f11361752e71ad3bf6445bc2ba516958fa17ad.zip
Thu Mar 30 01:38:00 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* elf/elf.h (STN_UNDEF): New macro (distinct from SHN_UNDEF, though both are zero). * elf/dlfcn.h: New file.
Diffstat (limited to 'elf/elf.h')
-rw-r--r--elf/elf.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/elf/elf.h b/elf/elf.h
index b5a3bafa62..40c0cd8aab 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -188,9 +188,9 @@ typedef struct
Elf32_Half st_shndx; /* Section index */
} Elf32_Sym;
-/* Special symbol index. */
+/* Special section index. */
-#define SHN_UNDEF 0 /* Undefined symbol */
+#define SHN_UNDEF 0 /* No section, undefined symbol. */
/* How to extract and insert information held in the st_info field. */
@@ -216,6 +216,14 @@ typedef struct
#define STT_LOPROC 13 /* Start of processor-specific */
#define STT_HIPROC 15 /* End of processor-specific */
+
+/* Symbol table indices are found in the hash buckets and chain table
+ of a symbol hash table section. This special index value indicates
+ the end of a chain, meaning no further symbols are found in that bucket. */
+
+#define STN_UNDEF 0 /* End of a chain. */
+
+
/* Relocation table entry without addend (in section of type SHT_REL). */
typedef struct