Hi Joern, Hi Alex,

  The sh64-elf toolchain currently fails to build from the mainline
  GCC sources because it contains unsupported SH assembler:

    ./xgcc \
      -B./ \
      -B/usr/local/sh64-superh-elf/bin/ \
      -isystem /usr/local/sh64-superh-elf/include \
      -isystem /usr/local/sh64-superh-elf/sys-include \
      -L.../sh64-superh-elf/ld  \
      -c \
      -o sdivsi3_i4i-Os-4-200.o \
      -DL_sdivsi3_i4i \
      -x assembler-with-cpp .../gcc/config/sh/lib1funcs-Os-4-200.asm
    .../gcc/config/sh/lib1funcs-Os-4-200.asm: Assembler messages:
    .../gcc/config/sh/lib1funcs-Os-4-200.asm:277: Error: unknown opcode
    .../gcc/config/sh/lib1funcs-Os-4-200.asm:278: Error: unknown opcode
    [snip]


  I am not sure how this should be fixed however.  Should the
  functions in lib1funcs-02-4-200.asm be protected by another #ifdef
  so that they are not built for this target ?  Or maybe the rules in
  t-sh need to be updated to include an architecture selection switch
  ?  (eg -m2a-single ?)

Cheers
  Nick
  
  

Reply via email to