You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that apple's arm assembler behaves differently. Changing THUMB_DIV_MOD_BODY 0 into THUMB_DIV_MOD_BODY(0) seems to fix the problem when using the standard arm assembler from binutils.
The text was updated successfully, but these errors were encountered:
It seems that apple's arm assembler behaves differently. Changing
THUMB_DIV_MOD_BODY 0 into THUMB_DIV_MOD_BODY(0) seems to fix the problem when
using the standard arm assembler from binutils.
Extended Description
Hi,
When building the llvm-gcc frontend for an ARM cross compiler I ran into the following error:
-c ../../llvm-gcc4.2-2.3.source/gcc/config/arm/lib1funcs.asm -o libgcc/thumb/_udivsi3.o
../../llvm-gcc4.2-2.3.source/gcc/config/arm/lib1funcs.asm: Assembler messages:
../../llvm-gcc4.2-2.3.source/gcc/config/arm/lib1funcs.asm:847: Error: bad instruction `thumb_div_mod_body 0'
It seems that apple's arm assembler behaves differently. Changing THUMB_DIV_MOD_BODY 0 into THUMB_DIV_MOD_BODY(0) seems to fix the problem when using the standard arm assembler from binutils.
The text was updated successfully, but these errors were encountered: