mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-21 14:11:20 +00:00
Merge branch 'perf/urgent' into perf/core
Merge the latest fixes. Signed-off-by: Ingo Molnar <mingo@kernel.org>
This commit is contained in:
commit
0066f3b93e
450 changed files with 4478 additions and 2554 deletions
|
@ -151,15 +151,15 @@ Elf_Scn *elf_section_by_name(Elf *elf, GElf_Ehdr *ep,
|
|||
|
||||
gelf_getshdr(sec, shp);
|
||||
str = elf_strptr(elf, ep->e_shstrndx, shp->sh_name);
|
||||
if (!strcmp(name, str)) {
|
||||
if (str && !strcmp(name, str)) {
|
||||
if (idx)
|
||||
*idx = cnt;
|
||||
break;
|
||||
return sec;
|
||||
}
|
||||
++cnt;
|
||||
}
|
||||
|
||||
return sec;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
#define elf_section__for_each_rel(reldata, pos, pos_mem, idx, nr_entries) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue