I suppose the file "gcc/config/arm/lib1funcs.asm" does not work when compiled for THUMB version 1 with an architecture other than __ARM_ARCH_6M__ since r150545. I got a link error:
/opt/rtems-4.10-gcc/bin/../lib/gcc/arm-rtems4.10/4.5.0/../../../../arm-rtems4.10/bin/ld: /opt/rtems-4.10-gcc/bin/../lib/gcc/arm-rtems4.10/4.5.0/thumb/soft/libgcc.a(_dvmd_tls.o)(__div0): warning: interworking not enabled. first occurrence: /opt/rtems-4.10-gcc/bin/../lib/gcc/arm-rtems4.10/4.5.0/thumb/soft/libgcc.a(_udivsi3.o): arm call to thumb -- Summary: File "gcc/config/arm/lib1funcs.asm" broken for THUMB version 1 since r150545 Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: sebastian dot huber at embedded-brains dot de GCC target triplet: arm-rtems4.10 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41780