[llvm-dev] ARM baremetal linking (original) (raw)
Goran Mekić via llvm-dev llvm-dev at lists.llvm.org
Tue Oct 9 04:12:50 PDT 2018
- Previous message: [llvm-dev] ARM baremetal linking
- Next message: [llvm-dev] Get llvm to optimize through thunk method
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, Oct 09, 2018 at 10:12:48AM +0100, Peter Smith wrote:
Ok. Good luck tracking down where the problem is. Thanx! Unfortunately, I'll need it. :o(
It looks like the TagARMISAuse is from the GCC build (from the first pastebin link). From the symbol table it looks like there is some ARM code in there ($a symbols) and from the file symbols most likely from files lshrdi3.o, aeabildivmod.o, aeabiuldivmod.o, libgcc2.c, dvmdtls.o, clzdi2.o and clzsi2.o . It looks like the GCC build may be picking up the wrong version of libgcc as I would expect problems if this ARM code was ever run. Just as an aside are you using LLD to link the GCC objects? I'd half expect GNU LD to give you an error message for the presence of ARM code in M-profile.
Peter GCC is linked with arm-none-eabi-ld and Clang with ld.lld60 (as it's FreeBSD and it has multiple LLVM packages, binaries are appended with the version number). -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20181009/0c88b661/attachment.sig>
- Previous message: [llvm-dev] ARM baremetal linking
- Next message: [llvm-dev] Get llvm to optimize through thunk method
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]