aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/include/generic-glibc/bits/elfclass.h
blob: f47452633557a46c7ed3d4407b635041c41e2cc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* This file specifies the native word size of the machine, which indicates
   the ELF file class used for executables and shared objects on this
   machine.  */

#ifndef _LINK_H
# error "Never use <bits/elfclass.h> directly; include <link.h> instead."
#endif

#include <bits/wordsize.h>

#define __ELF_NATIVE_CLASS __WORDSIZE

/* The entries in the .hash table always have a size of 32 bits.  */
typedef uint32_t Elf_Symndx;