[PATCH] D18086: Fix default processor name for armv6k.
Stefan Agner via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 20 12:37:45 PDT 2018
falstaff84 added a comment.
I seem to have a related issue: I am using -march=armv6k and -no-integrated-as, this generates the following output:
.text
.syntax unified
.eabi_attribute 67, "2.09" @ Tag_conformance
.cpu arm1176jz-s
.eabi_attribute 6, 6 @ Tag_CPU_arch
.eabi_attribute 8, 1 @ Tag_ARM_ISA_use
.eabi_attribute 9, 1 @ Tag_THUMB_ISA_use
.fpu vfpv2
...
With that the GNU assembler subsequently errors out:
/tmp/empty-bc2ea3.s: Assembler messages:
/tmp/empty-bc2ea3.s:4: Error: unknown cpu `arm1176j-s'
According to the binutils documentation <https://sourceware.org/binutils/docs-2.24/as/ARM-Options.html> arm1176j-s is not a valid CPU. Using -mtune=arm1136jz-s does not help. But armv6kz seems to work (uses cpu arm1176jzf-s).
https://reviews.llvm.org/D18086
More information about the llvm-commits
mailing list