On Tue, Jan 09, 2024 at 11:51:16AM +0100, Ilya Leoshkevich wrote:
> Bootstrap and regtest running on ppc64le-redhat-linux and
> powerpc64-linux-gnu. Ok for trunk when successful?
>
>
>
> Use ASM_OUTPUT_FUNCTION_LABEL () instead of ASM_OUTPUT_LABEL () in
> the Power ELF V1 ABI branch of rs6000_elf_declare_function_name () to
> ensure that the .LASANPC label is emitted. The other branches already
> use the correct macro.
>
> Fixes: c659dd8bfb55 ("Implement ASM_DECLARE_FUNCTION_NAME using
> ASM_OUTPUT_FUNCTION_LABEL")
> Signed-off-by: Ilya Leoshkevich <[email protected]>
>
> gcc/ChangeLog:
>
> PR sanitizer/113284
> * config/rs6000/rs6000.cc (rs6000_elf_declare_function_name):
> Use ASM_OUTPUT_FUNCTION_LABEL () for Power ELF V1 ABI.
IMNSHO this is incorrect, please see the PR.
Jakub