include/linux/moduleloader.h
changeset 2 d1f6d8b6f81c
parent 0 aa628870c1d3
equal deleted inserted replaced
1:0056487c491e 2:d1f6d8b6f81c
    10 /* Adjust arch-specific sections.  Return 0 on success.  */
    10 /* Adjust arch-specific sections.  Return 0 on success.  */
    11 int module_frob_arch_sections(Elf_Ehdr *hdr,
    11 int module_frob_arch_sections(Elf_Ehdr *hdr,
    12 			      Elf_Shdr *sechdrs,
    12 			      Elf_Shdr *sechdrs,
    13 			      char *secstrings,
    13 			      char *secstrings,
    14 			      struct module *mod);
    14 			      struct module *mod);
       
    15 
       
    16 /* Additional bytes needed by arch in front of individual sections */
       
    17 unsigned int arch_mod_section_prepend(struct module *mod, unsigned int section);
    15 
    18 
    16 /* Allocator used for allocating struct module, core sections and init
    19 /* Allocator used for allocating struct module, core sections and init
    17    sections.  Returns NULL on failure. */
    20    sections.  Returns NULL on failure. */
    18 void *module_alloc(unsigned long size);
    21 void *module_alloc(unsigned long size);
    19 
    22