[riot-commits] [RIOT-OS/RIOT] efa5cd: cpu/cortexm_common: Fix inline asm for ARMv6-M so ...

Oleg Hahm oleg at hobbykeller.org
Thu Mar 3 12:53:26 CET 2016


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: efa5cd4066e4e129040f94f0f5e2b4f1c62d65a6
      https://github.com/RIOT-OS/RIOT/commit/efa5cd4066e4e129040f94f0f5e2b4f1c62d65a6
  Author: Joakim Nohlgård <joakim.nohlgard at eistec.se>
  Date:   2016-03-02 (Wed, 02 Mar 2016)

  Changed paths:
    M cpu/cortexm_common/vectors_cortexm.c

  Log Message:
  -----------
  cpu/cortexm_common: Fix inline asm for ARMv6-M so that it compiles in Clang as well

ARMv6 does not have the mov instruction, only movs


  Commit: 0ae11cc9bc74b97d200cee73d56ccb31f8714ce1
      https://github.com/RIOT-OS/RIOT/commit/0ae11cc9bc74b97d200cee73d56ccb31f8714ce1
  Author: Joakim Nohlgård <joakim.nohlgard at eistec.se>
  Date:   2016-03-02 (Wed, 02 Mar 2016)

  Changed paths:
    M cpu/cortexm_common/vectors_cortexm.c

  Log Message:
  -----------
  cpu/cortexm_common: call hard_fault_handler using bl

Fixes this error when building with Clang 3.7.1:

fatal error: error in backend: unsupported relocation on symbol
x86_64-pc-linux-gnu-clang-3.7: error: clang frontend command failed with exit code 70 (use -v to see invocation)
clang version 3.7.1 (tags/RELEASE_371/final)
Target: arm-none--eabi
Thread model: posix
x86_64-pc-linux-gnu-clang-3.7: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
x86_64-pc-linux-gnu-clang-3.7: note: diagnostic msg:
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
x86_64-pc-linux-gnu-clang-3.7: note: diagnostic msg: /tmp/vectors_cortexm-54333e.c
x86_64-pc-linux-gnu-clang-3.7: note: diagnostic msg: /tmp/vectors_cortexm-54333e.sh
x86_64-pc-linux-gnu-clang-3.7: note: diagnostic msg:

********************


  Commit: cdd6878fca9ad19809b2b3e0f7933ff2435b0a01
      https://github.com/RIOT-OS/RIOT/commit/cdd6878fca9ad19809b2b3e0f7933ff2435b0a01
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2016-03-03 (Thu, 03 Mar 2016)

  Changed paths:
    M cpu/cortexm_common/vectors_cortexm.c

  Log Message:
  -----------
  Merge pull request #4942 from gebart/pr/clang-asm

cpu/cortexm_common: Fix inline asm for ARMv6-M so that it compiles in Clang as well


Compare: https://github.com/RIOT-OS/RIOT/compare/367d8af6492e...cdd6878fca9a


More information about the commits mailing list