On Tue, Mar 03, 2026 at 06:11:34PM +0100, Torbjörn SVENSSON wrote:
> Changes since v1:
>
> - Adjust the inline assembler to also work for Cortex-M.
> - Droped dg-skip-if.
>
> Changes since v2:
>
> - Generate .type and .global in the same block.
> - Support different assembler syntax for "function" argument to .type.
>
>
> Tested on top of r16-7849-g1f9879e17466f5 for arm-none-eabi and
> x86_64-pc-linux-gnu with success.
>
> Ok for trunk?
>
> --
>
> gcc/testsuite/ChangeLog:
>
> PR testsuite/124320
> * gcc.dg/lto/toplevel-extended-asm-1_0.c: Adjust inline
> assembler for arm-none-eabi.
>
> Signed-off-by: Torbjörn SVENSSON <[email protected]>
LGTM.
Jakub