Re: [PATCH] x86/lib: Do not use local symbols with SYM_CODE_START_LOCAL()
From: Nadav Amit
Date: Thu Jan 05 2023 - 15:34:23 EST
> On Nov 21, 2022, at 11:15 PM, Nadav Amit <nadav.amit@xxxxxxxxx> wrote:
>
> From: Nadav Amit <namit@xxxxxxxxxx>
>
> When SYM_CODE_START_LOCAL() is used, the symbols are local but should be
> saved to the object. In contrast, using ".L" label prefix causes the
> symbols not to be saved in the object.
>
> Since it is preferable to be able to map instruction pointers back to
> symbols, the local symbol should be saved in the object. Therefore, when
> SYM_CODE_START_LOCAL() is used, the ".L" label prefix should not be
> used.
>
> Two symbols, however, have both SYM_CODE_START_LOCAL() and ".L" prefix:
> .Lbad_put_user_clac and .Lcopy_user_handle_tail. Remove the ".L" prefix
> from them.
>
> No functional change, other then emitting these symbols into the object,
> is intended.
>
> Signed-off-by: Nadav Amit <namit@xxxxxxxxxx>
Ping.