| lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | /* This file specifies the native word size of the machine, which indicates |
| 2 | the ELF file class used for executables and shared objects on this | ||||
| 3 | machine. */ | ||||
| 4 | |||||
| 5 | #ifndef _LINK_H | ||||
| 6 | # error "Never use <bits/elfclass.h> directly; include <link.h> instead." | ||||
| 7 | #endif | ||||
| 8 | |||||
| 9 | #include <bits/wordsize.h> | ||||
| 10 | |||||
| 11 | #define __ELF_NATIVE_CLASS __WORDSIZE | ||||
| 12 | |||||
| 13 | /* The entries in the .hash table always have a size of 32 bits. */ | ||||
| 14 | typedef uint32_t Elf_Symndx; | ||||