Revision fb780761e7bd9f2e94f5b9a296ead6b35b944206 authored by Peter Zijlstra on 16 June 2021, 15:41:26 UTC, committed by Steven Rostedt (VMware) on 18 June 2021, 13:09:17 UTC
One should only use st_shndx when >SHN_UNDEF and <SHN_LORESERVE. When SHN_XINDEX, then use .symtab_shndx. Otherwise use 0. This handles the case: st_shndx >= SHN_LORESERVE && st_shndx != SHN_XINDEX. Link: https://lore.kernel.org/lkml/20210607023839.26387-1-mark-pk.tsai@mediatek.com/ Link: https://lkml.kernel.org/r/20210616154126.2794-1-mark-pk.tsai@mediatek.com Reported-by: Mark-PK Tsai <mark-pk.tsai@mediatek.com> Tested-by: Mark-PK Tsai <mark-pk.tsai@mediatek.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> [handle endianness of sym->st_shndx] Signed-off-by: Mark-PK Tsai <mark-pk.tsai@mediatek.com> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
1 parent 3e08a9f
File | Mode | Size |
---|---|---|
.gitignore | -rw-r--r-- | 99 bytes |
Makefile | -rw-r--r-- | 861 bytes |
devicetable-offsets.c | -rw-r--r-- | 7.3 KB |
empty.c | -rw-r--r-- | 54 bytes |
file2alias.c | -rw-r--r-- | 44.6 KB |
mk_elfconfig.c | -rw-r--r-- | 1.2 KB |
modpost.c | -rw-r--r-- | 66.7 KB |
modpost.h | -rw-r--r-- | 5.8 KB |
sumversion.c | -rw-r--r-- | 9.7 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...