Christian Bruel <christian.br...@st.com> wrote:
> This patch fixes label alignments after a ADDR_DIFF_VEC with byte
> offsets. The bug occurs with building the libgcc for a sh-elf target.
> 
> See a reduced case here. The funny thing is that the assembly error
> given in Subject appears only on a debug section when compiled with -g,
> thus the emitted code without -g:
> 
>          .align 2
> .L4:
>         .byte   .L3-.L5
>         .byte   .L10-.L5
>         .byte   .L7-.L5
>         .byte   .L8-.L5
>         .byte   .L9-.L5
> .L3:
>          mov.l   .L13,r1
> 
> assembles silently, although unaligned...
> 
> OK for trunk ? The failure occurs with the libgcc, so tested by allowing
> the sh-elf build to complete.

OK.

Regards,
        kaz

Reply via email to