Re: [PATCH v2 1/5] kallsyms: Emit symbol at the holes in the text

2024-07-23 Thread kernel test robot
bol-at-the-holes-in-the-text/20240723-152513 base: linus/master patch link: https://lore.kernel.org/r/20240723063258.2240610-2-zhengyejian%40huaweicloud.com patch subject: [PATCH v2 1/5] kallsyms: Emit symbol at the holes in the text config: i386-randconfig-003-20240724 (https://download.01.o

Re: [PATCH v2 1/5] kallsyms: Emit symbol at the holes in the text

2024-07-23 Thread kernel test robot
bol-at-the-holes-in-the-text/20240723-152513 base: linus/master patch link: https://lore.kernel.org/r/20240723063258.2240610-2-zhengyejian%40huaweicloud.com patch subject: [PATCH v2 1/5] kallsyms: Emit symbol at the holes in the text config: i386-randconfig-002-20240724 (https://download.01.o

[PATCH v2 1/5] kallsyms: Emit symbol at the holes in the text

2024-07-22 Thread Zheng Yejian
When a weak type function is overridden, its symbol will be removed from the symbol table, but its code will not be removed. Besides, due to lacking of size for kallsyms, kernel compute function size by substracting its symbol address from its next symbol address (see kallsyms_lookup_size_offset())