Message ID | 1427356282.19113.8.camel@yam-132-YW-E178-FTW |
---|---|
State | New |
Headers | show |
> [1. text/x-patch; sh_multilib_sh1_sh2a_ml_1.patch]
This works, thanks. I see the following produced:
vega>rpm -qlp gcc-sh-linux-gnu-5.0.0-0.1.fc23.x86_64.rpm | grep libgcc
/usr/lib/gcc/sh-linux-gnu/5.0.0/libgcc.a
/usr/lib/gcc/sh-linux-gnu/5.0.0/m2/libgcc.a
/usr/lib/gcc/sh-linux-gnu/5.0.0/m2e/libgcc.a
/usr/lib/gcc/sh-linux-gnu/5.0.0/m4-single-only/libgcc.a
/usr/lib/gcc/sh-linux-gnu/5.0.0/m4-single/libgcc.a
/usr/lib/gcc/sh-linux-gnu/5.0.0/m4/libgcc.a
/usr/lib/gcc/sh-linux-gnu/5.0.0/mb/libgcc.a
/usr/lib/gcc/sh-linux-gnu/5.0.0/mb/m2/libgcc.a
/usr/lib/gcc/sh-linux-gnu/5.0.0/mb/m2a-single/libgcc.a
/usr/lib/gcc/sh-linux-gnu/5.0.0/mb/m2a/libgcc.a
/usr/lib/gcc/sh-linux-gnu/5.0.0/mb/m2e/libgcc.a
/usr/lib/gcc/sh-linux-gnu/5.0.0/mb/m4-single-only/libgcc.a
/usr/lib/gcc/sh-linux-gnu/5.0.0/mb/m4-single/libgcc.a
/usr/lib/gcc/sh-linux-gnu/5.0.0/mb/m4/libgcc.a
for:
--with-multilib-list=m1,m2,m2e,m4,m4-single,m4-single-only,m2a,m2a-single
David
Index: gcc/config/sh/t-sh =================================================================== --- gcc/config/sh/t-sh (revision 221685) +++ gcc/config/sh/t-sh (working copy) @@ -63,8 +63,12 @@ done \ done) -# SH1 only supports big endian. +# SH1 and SH2A support big endian only. +ifeq ($(DEFAULT_ENDIAN),ml) +MULTILIB_EXCEPTIONS = m1 ml/m1 m2a* ml/m2a* $(TM_MULTILIB_EXCEPTIONS_CONFIG) +else MULTILIB_EXCEPTIONS = ml/m1 ml/m2a* $(TM_MULTILIB_EXCEPTIONS_CONFIG) +endif MULTILIB_OSDIRNAMES = \ $(OTHER_ENDIAN)=!$(OTHER_ENDIAN) \