Searched refs:new_shnum (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/scripts/ |
H A D | recordmcount.h | 219 static void set_shnum(Elf_Ehdr *ehdr, Elf_Shdr *shdr0, unsigned int new_shnum) in set_shnum() argument 221 if (new_shnum >= SHN_LORESERVE) { in set_shnum() 223 shdr0->sh_size = w(new_shnum); in set_shnum() 225 ehdr->e_shnum = w2(new_shnum); in set_shnum() 277 unsigned int const new_shnum = 2 + old_shnum; /* {.rel,}__mcount_loc */ in append_func() local 287 set_shnum(ehdr, shdr0, new_shnum); in append_func()
|
/kernel/linux/linux-6.6/scripts/ |
H A D | recordmcount.h | 219 static void set_shnum(Elf_Ehdr *ehdr, Elf_Shdr *shdr0, unsigned int new_shnum) in set_shnum() argument 221 if (new_shnum >= SHN_LORESERVE) { in set_shnum() 223 shdr0->sh_size = w(new_shnum); in set_shnum() 225 ehdr->e_shnum = w2(new_shnum); in set_shnum() 277 unsigned int const new_shnum = 2 + old_shnum; /* {.rel,}__mcount_loc */ in append_func() local 287 set_shnum(ehdr, shdr0, new_shnum); in append_func()
|
Completed in 3 milliseconds