Error: SVC is not permitted on this architecture

Comments

4 comments

  • Avatar
    Darcy Williams

    http://sourceware.org/bugzilla/show_bug.cgi?id=12296

    Maybe we could just roll back binutils?

    0
    Comment actions Permalink
  • Avatar
    Jon Elliott

    As a workaround for now, replace "svc 0x01" with ".hword 0xDF01".

    0
    Comment actions Permalink
  • Avatar
    Darcy Williams

    Thanks, I'd temporarily replaced the gcc folder with the one from 2.0.8...  which also worked.

    0
    Comment actions Permalink
  • Avatar
    Dev Banerjee

    I've just had this fault while trying out an assembly language project for a Cortex-M0 target. The solution for me was to add -mcpu=cortex-m0 to the project properties Code->Assembler->Additional assembler properties.

    Crossworks for Arm 4.8.3 win64

    0
    Comment actions Permalink

Please sign in to leave a comment.