| OLD | NEW |
| 1 #ifndef _INTERNAL_RELOC_H | 1 #ifndef _INTERNAL_RELOC_H |
| 2 #define _INTERNAL_RELOC_H | 2 #define _INTERNAL_RELOC_H |
| 3 | 3 |
| 4 #include <features.h> | 4 #include <features.h> |
| 5 #include <elf.h> | 5 #include <elf.h> |
| 6 #include <stdint.h> | 6 #include <stdint.h> |
| 7 | 7 |
| 8 #if UINTPTR_MAX == 0xffffffff | 8 #if UINTPTR_MAX == 0xffffffff |
| 9 typedef Elf32_Ehdr Ehdr; | 9 typedef Elf32_Ehdr Ehdr; |
| 10 typedef Elf32_Phdr Phdr; | 10 typedef Elf32_Phdr Phdr; |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 #define IS_RELATIVE(x,s) ( ( \ | 76 #define IS_RELATIVE(x,s) ( ( \ |
| 77 (R_TYPE(x) == REL_FUNCDESC_VAL) || \ | 77 (R_TYPE(x) == REL_FUNCDESC_VAL) || \ |
| 78 (R_TYPE(x) == REL_SYMBOLIC) ) \ | 78 (R_TYPE(x) == REL_SYMBOLIC) ) \ |
| 79 && (((s)[R_SYM(x)].st_info & 0xf) == STT_SECTION) ) | 79 && (((s)[R_SYM(x)].st_info & 0xf) == STT_SECTION) ) |
| 80 #endif | 80 #endif |
| 81 | 81 |
| 82 #ifndef NEED_MIPS_GOT_RELOCS | 82 #ifndef NEED_MIPS_GOT_RELOCS |
| 83 #define NEED_MIPS_GOT_RELOCS 0 | 83 #define NEED_MIPS_GOT_RELOCS 0 |
| 84 #endif | 84 #endif |
| 85 | 85 |
| 86 #ifndef DT_DEBUG_INDIRECT |
| 87 #define DT_DEBUG_INDIRECT 0 |
| 88 #endif |
| 89 |
| 86 #define AUX_CNT 32 | 90 #define AUX_CNT 32 |
| 87 #define DYN_CNT 32 | 91 #define DYN_CNT 32 |
| 88 | 92 |
| 89 typedef void (*stage2_func)(unsigned char *, size_t *); | 93 typedef void (*stage2_func)(unsigned char *, size_t *); |
| 90 typedef _Noreturn void (*stage3_func)(size_t *); | 94 typedef _Noreturn void (*stage3_func)(size_t *); |
| 91 | 95 |
| 92 #endif | 96 #endif |
| OLD | NEW |