|
Linux Kernel
3.7.1
|
#include <stdio.h>#include <stdlib.h>#include <stdarg.h>#include <string.h>#include <sys/types.h>#include <sys/stat.h>#include <sys/mman.h>#include <fcntl.h>#include <unistd.h>#include <elf.h>#include "elfconfig.h"Go to the source code of this file.
Data Structures | |
| struct | _Elf64_Mips_R_Info |
| union | _Elf64_Mips_R_Info_union |
| struct | buffer |
| struct | module |
| struct | elf_info |
Macros | |
| #define | Elf_Ehdr Elf32_Ehdr |
| #define | Elf_Shdr Elf32_Shdr |
| #define | Elf_Sym Elf32_Sym |
| #define | Elf_Addr Elf32_Addr |
| #define | Elf_Sword Elf64_Sword |
| #define | Elf_Section Elf32_Half |
| #define | ELF_ST_BIND ELF32_ST_BIND |
| #define | ELF_ST_TYPE ELF32_ST_TYPE |
| #define | Elf_Rel Elf32_Rel |
| #define | Elf_Rela Elf32_Rela |
| #define | ELF_R_SYM ELF32_R_SYM |
| #define | ELF_R_TYPE ELF32_R_TYPE |
| #define | ELF64_MIPS_R_SYM(i) ((__extension__ (_Elf64_Mips_R_Info_union)(i)).r_info_fields.r_sym) |
| #define | ELF64_MIPS_R_TYPE(i) ((__extension__ (_Elf64_Mips_R_Info_union)(i)).r_info_fields.r_type1) |
| #define | TO_NATIVE(x) (x) |
| #define | NOFAIL(ptr) do_nofail((ptr), #ptr) |
| #define | SPECIAL(i) ((i) - (SHN_HIRESERVE + 1)) |
Functions | |
| void * | do_nofail (void *ptr, const char *expr) |
| void | __attribute__ ((format(printf, 2, 3))) buf_printf(struct buffer *buf |
| void const char void | buf_write (struct buffer *buf, const char *s, int len) |
| void | handle_moddevtable (struct module *mod, struct elf_info *info, Elf_Sym *sym, const char *symname) |
| void | add_moddevtable (struct buffer *buf, struct module *mod) |
| void | maybe_frob_rcs_version (const char *modfilename, char *version, void *modinfo, unsigned long modinfo_offset) |
| void | get_src_version (const char *modname, char sum[], unsigned sumlen) |
| void * | grab_file (const char *filename, unsigned long *size) |
| char * | get_next_line (unsigned long *pos, void *file, unsigned long size) |
| void | release_file (void *file, unsigned long size) |
| void | fatal (const char *fmt,...) |
| void | warn (const char *fmt,...) |
| void | merror (const char *fmt,...) |
Variables | |
| void const char * | fmt |
| unsigned int | cross_build |
| #define ELF64_MIPS_R_SYM | ( | i | ) | ((__extension__ (_Elf64_Mips_R_Info_union)(i)).r_info_fields.r_sym) |
| #define ELF64_MIPS_R_TYPE | ( | i | ) | ((__extension__ (_Elf64_Mips_R_Info_union)(i)).r_info_fields.r_type1) |
| #define Elf_Addr Elf32_Addr |
| #define Elf_Ehdr Elf32_Ehdr |
| #define ELF_R_SYM ELF32_R_SYM |
| #define ELF_R_TYPE ELF32_R_TYPE |
| #define Elf_Rela Elf32_Rela |
| #define Elf_Section Elf32_Half |
| #define Elf_Shdr Elf32_Shdr |
| #define ELF_ST_BIND ELF32_ST_BIND |
| #define ELF_ST_TYPE ELF32_ST_TYPE |
| #define Elf_Sword Elf64_Sword |
| #define SPECIAL | ( | i | ) | ((i) - (SHN_HIRESERVE + 1)) |
| void __attribute__ | ( | (format(printf, 2, 3)) | ) |
Definition at line 1173 of file file2alias.c.
Definition at line 400 of file sumversion.c.
| void handle_moddevtable | ( | struct module * | mod, |
| struct elf_info * | info, | ||
| Elf_Sym * | sym, | ||
| const char * | symname | ||
| ) |
Definition at line 1112 of file file2alias.c.
| void maybe_frob_rcs_version | ( | const char * | modfilename, |
| char * | version, | ||
| void * | modinfo, | ||
| unsigned long | modinfo_offset | ||
| ) |
Definition at line 512 of file sumversion.c.
| unsigned int cross_build |
Definition at line 119 of file file2alias.c.
1.8.2