[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

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

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