Re: [PATCH] tools/objtool: tolerate STT_NOTYPE symbols at end of section

2022-12-20 Thread Christophe Leroy
Le 20/12/2022 à 11:13, Nicholas Piggin a écrit : > Hand-written asm often contains non-function symbols in executable > sections. _end symbols for finding the size of instruction blocks > for runtime processing is one such usage. > > optprobe_template_end is one example that causes the warning:

[PATCH] tools/objtool: tolerate STT_NOTYPE symbols at end of section

2022-12-20 Thread Nicholas Piggin
Hand-written asm often contains non-function symbols in executable sections. _end symbols for finding the size of instruction blocks for runtime processing is one such usage. optprobe_template_end is one example that causes the warning: objtool: optprobe_template_end(): can't find starting