about summary refs log tree commit diff
path: root/bits/elfclass.h
blob: f6ed899e080a0f7626062663ab7a6ba0b67e0507 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* 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>
#include <stdint.h>

#define __ELF_NATIVE_CLASS __WORDSIZE

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