Re: [PATCH SH] Error: unaligned opcodes detected in executable segment

2013-04-09 Thread Kaz Kojima
Christian Bruel 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 compil

[PATCH SH] Error: unaligned opcodes detected in executable segment

2013-04-09 Thread Christian Bruel
Hello, 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 emitt