search for: thumbv7em

Displaying 8 results from an estimated 8 matches for "thumbv7em".

Did you mean: thumbv7
2020 Jun 16
2
How to fixup source paths during objdump disassembly?
...build. This means that the paths inside of built artifacts are not full source paths. When we later attempt to produce a listings file, the source mapping fails. The result is many copies of this recently merged warning [2]: llvm-objdump: warning: '/Volumes/code/helena-project/tock/target/thumbv7em-none-eabi/release/hail.elf': failed to find source chips/sam4l/src/eic.rs It looks like GNU objdump provides a --prefix option to address this exact problem [3]: * --prefix=**prefix* Specify *prefix* to add to the absolute paths when used with *-S*. But I can't find an equivalent...
2013 Oct 15
2
[LLVMdev] Unwanted push/pop on Cortex-M.
...-pointer -nostdinc -v -Os -S -o > a.s a.c > vendor-clang version 3.3 (tags/RELEASE_33/final) (based on LLVM 3.3) > Target: armv7m-none--eabi > Thread model: posix > "/usr/local/vendor-20130805-b8d59d2/toolchains/llvm/3.3/armv7m/bin/armv7m-none-eabi-clang" > -cc1 -triple thumbv7em-none--eabi -S -disable-free -main-file-name a.c > -mrelocation-model static -fmath-errno -mconstructor-aliases > -target-abi aapcs -target-cpu cortex-m4 -msoft-float -mfloat-abi soft > -target-feature +soft-float -target-feature +soft-float-abi > -target-feature -neon -target-linker-ver...
2013 Oct 15
0
[LLVMdev] Unwanted push/pop on Cortex-M.
...; > a.s a.c > > vendor-clang version 3.3 (tags/RELEASE_33/final) (based on LLVM 3.3) > > Target: armv7m-none--eabi > > Thread model: posix > > > "/usr/local/vendor-20130805-b8d59d2/toolchains/llvm/3.3/armv7m/bin/armv7m-none-eabi-clang" > > -cc1 -triple thumbv7em-none--eabi -S -disable-free -main-file-name a.c > > -mrelocation-model static -fmath-errno -mconstructor-aliases > > -target-abi aapcs -target-cpu cortex-m4 -msoft-float -mfloat-abi soft > > -target-feature +soft-float -target-feature +soft-float-abi > > -target-feature -neo...
2015 Aug 28
7
Clearing the BSS section
Hi, I am writing a function that clears the BSS section on an Cortex-M4 embedded system. The LLVM (version 3.7.0rc3) code I had wrote is : ;------------ target datalayout = "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64" target triple = "thumbv7em-none--eabi" @__bss_start = external global i32 @__bss_end = external global i32 define void @clearBSS () nounwind { entry: br label %bssLoopTest bssLoopTest: %p = phi i32* [@__bss_start, %entry], [%p.next, %bssLoop] %completed = icmp eq i32* %p, @__bss_end br i1 %completed, label...
2013 Oct 15
0
[LLVMdev] Unwanted push/pop on Cortex-M.
...rame-pointer -momit-leaf-frame-pointer -nostdinc -v -Os -S -o a.s a.c vendor-clang version 3.3 (tags/RELEASE_33/final) (based on LLVM 3.3) Target: armv7m-none--eabi Thread model: posix "/usr/local/vendor-20130805-b8d59d2/toolchains/llvm/3.3/armv7m/bin/armv7m-none-eabi-clang" -cc1 -triple thumbv7em-none--eabi -S -disable-free -main-file-name a.c -mrelocation-model static -fmath-errno -mconstructor-aliases -target-abi aapcs -target-cpu cortex-m4 -msoft-float -mfloat-abi soft -target-feature +soft-float -target-feature +soft-float-abi -target-feature -neon -target-linker-version 2.22 -momit-lea...
2013 Oct 15
1
[LLVMdev] Unwanted push/pop on Cortex-M.
...s -S -o >> a.s a.c >> vendor-clang version 3.3 (tags/RELEASE_33/final) (based on LLVM 3.3) >> Target: armv7m-none--eabi >> Thread model: posix >> "/usr/local/vendor-20130805-b8d59d2/toolchains/llvm/3.3/armv7m/bin/armv7m-none-eabi-clang" >> -cc1 -triple thumbv7em-none--eabi -S -disable-free -main-file-name a.c >> -mrelocation-model static -fmath-errno -mconstructor-aliases >> -target-abi aapcs -target-cpu cortex-m4 -msoft-float -mfloat-abi soft >> -target-feature +soft-float -target-feature +soft-float-abi >> -target-feature -neon -t...
2017 Feb 26
5
Problems using Clang with LLD on embedded ARM
...ifying `-target arm-none-eabi`, I specify an architecture specific flag (such as -march=armv7e-m, -mcpu=cortex-m4, or -mthumb, or instead I use -target armv7em-none-eabi), then while calling lld to link I get an error like: ld.lld: error: main.o: could not infer e_machine from bitcode target triple thumbv7em-none--eabi LLD 4.0.0 I am working on Linux and these two problems seem to exist on both 4.0rc2 and the current head. I am really happy with the progress LLVM has made, with the upcoming 4.0 release, I have managed to compile and link programs for my embedded projects without any of the gcc arm to...
2013 Oct 21
1
[LLVMdev] [PATCH] Unwanted r11 in push/pop on Cortex-M.
...g version 3.3 (tags/RELEASE_33/final) (based on LLVM 3.3) >> >> Target: armv7m-none--eabi >> >> Thread model: posix >> >> >> "/usr/local/vendor-20130805-b8d59d2/toolchains/llvm/3.3/armv7m/bin/armv7m-none-eabi-clang" >> >> -cc1 -triple thumbv7em-none--eabi -S -disable-free -main-file-name a.c >> >> -mrelocation-model static -fmath-errno -mconstructor-aliases >> >> -target-abi aapcs -target-cpu cortex-m4 -msoft-float -mfloat-abi soft >> >> -target-feature +soft-float -target-feature +soft-float-abi >&g...