On Mon, Jul 6, 2026 at 3:43 PM Pierrick Bouvier
<[email protected]> wrote:
>
> Needed, else we get this error:
> dangerous relocation: l32r: misaligned literal target: .text

This flag wasn't needed before because crt.S hasn't been built
with text-section-literals, why is it needed now?

> Signed-off-by: Pierrick Bouvier <[email protected]>
> ---
>  tests/tcg/xtensa/crt.S | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/tests/tcg/xtensa/crt.S b/tests/tcg/xtensa/crt.S
> index 909872cd385..de8fd8c1cd7 100644
> --- a/tests/tcg/xtensa/crt.S
> +++ b/tests/tcg/xtensa/crt.S
> @@ -6,6 +6,7 @@
>      jx      a2
>
>  .text
> +.align 4
>  .global _start
>  _start:
>  #if XCHAL_HAVE_WINDOWED
> --
> 2.47.3
>
>


-- 
Thanks.
-- Max

Reply via email to